Hi, quick update for anyone who might have the same problem in the future: As per Brian's recommendation I downgraded to wxPython 4.0.7, which seems to have solved the problem.
Best regards, Anselm > 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 > > > _______________________________________________ > GSAS-II mailing list > [email protected] > https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii > -------------------------------------------- Wiss. Mitarbeiter / Postdoc SFB1349 "Fluor-Spezifische Wechselwirkungen" Freie Universität Berlin Arbeitsbereich Mineralogie-Petrologie Malteserstr. 74-100 Gebäude N, Raum N 26 12249 Berlin Tel: +49 30 838 666 39 _______________________________________________ GSAS-II mailing list [email protected] https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii
