[GSAS-II] Problem with wxPython on Linux

Anselm Loges anselm.loges at fu-berlin.de
Wed Oct 14 06:30:52 CDT 2020


Hi there,

I am trying to install GSAS-II on Linux, Ubuntu 18.04 on a machine running
an Intel processor. Following the installation guide
(https://subversion.xray.aps.anl.gov/trac/pyGSAS/wiki/InstallLinux),
Method "I. Installing the easy way" did not work. I did not try the second
method since I do not currently run Anaconda nor do I intend to start
using it. So Method "III. Installing Python etc. Manually" it is. I have
gotten a successful install and can run the software. However some
features are inaccessible because the according fields are not displayed.
When I click on some of the items within the PWDR branch in the tree on
the left hand side of the main window, nothing shows up in the main space
(e.g. "Sample Parameters") or the items are all squashed together in a
single line (e.g. "Background"). Other items like "Instrument Parameters"
or "Peak List" seem to work as expected. Whenever I click on an item that
does not work, the last few lines in the terminal window show an error
that reads something like this:

topSizer.Add((-1,-1),1,WACV|wx.EXPAND)
wx._core.wxAssertionError: C++ assertion "!(flags & (wxALIGN_BOTTOM |
wxALIGN_CENTRE_VERTICAL))" failed at
/tmp/pip-build-gvydcwjt/wxpython/ext/wxWidgets/src/common/sizer.cpp(2114)
in DoInsert(): Vertical alignment flags are ignored with wxEXPAND

When I try to open a project, the last lines read:

mainSizer.Add(wtSizer,0,WACV)
wx._core.wxAssertionError: C++ assertion "!(flags &
wxALIGN_CENTRE_VERTICAL)" failed at
/tmp/pip-build-gvydcwjt/wxpython/ext/wxWidgets/src/common/sizer.cpp(2077)
in DoInsert(): Vertical alignment flags are ignored in vertical sizers

So there seems to be some problem with the alignment functionality of
DoInsert() in wxPython. I am running these package versions:

Python module versions loaded:
  Python:     3.6.9
  wx:         4.1.0
  matplotlib: 3.3.0
  numpy:      1.19.2
  scipy:      1.5.1
  OpenGL:     3.1.5
  Image:      7.2.0 (PIL or Pillow)
  Platform:   linux 64bit x86_64
This is GSAS-II revision 4588 (SVN version 4588)

Has anyone else had and (preferrably) solved this problem?

Thanks and best regards,
Anselm




More information about the GSAS-II mailing list