Menu

#31 Error starting PyRx

0.9.x
closed
None
2019-02-19
2019-02-18
Rjay Castro
No

Hello sir!
Every time we start PyRx 0.9.6 on iMac (Sierra), a dialogue box comes up immediately and we encounter this problem:

Traceback (most recent call last):
File "/Library/PyRx/0.9.6/runPyRx.py", line 89, in <module>
startPyRx()
File "/Library/PyRx/0.9.6/runPyRx.py", line 38, in startPyRx
frame = MainFrame(None, -1, size=(width, height-200))
File "/Library/PyRx/0.9.6/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyRx/wxMainFrame.py", line 200, in init
self.__create_file_history()
File "/Library/PyRx/0.9.6/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyRx/wxMainFrame.py", line 427, in __create_file_history
self.fileHistory.Load(self.wxcfg)
File "/Library/PyRx/0.9.6/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx/misc.py", line 1008, in Load
return _misc
.FileHistory_Load(args, *kwargs)
PyAssertionError: C++ assertion "wxAssertFailure" failed at /BUILD/wxPython-src-2.8.11.0/src/common/stockitem.cpp(166) in wxGetStockLabel(): invalid stock item ID</module>

after pressing OK or x button (the only buttons available), pyrx exits. attached is a screenshot of what it looks like.

this happened after running vina where one of our ligands have a "beta" symbol (which became a square root and apostrophe symbol) in which the run stopped when it encountered this ligand. after exiting pyrx, the abovementioned problem was persistently encountered henceforth. We have already uninstalled and reinstalled this several times.

Please help us fix this. Thank you very much sir!

1 Attachments

Discussion

  • Sarkis Dallakian

    Thank you for the message and sorry about that. Please delete a file named PyRx Preferences in ~/Library/Preferences to fix this:
    rm ~/Library/Preferences/PyRx\ Preferences
    I've also committed new changes to avoid errors with non ascii characters. If deleting PyRx Preferences file doesn't fix this problem, please use these instructions to update PyRx - https://pyrx.sourceforge.io/blog/127-recent-changes-in-vina-web-services-and-mac-os-x-updates-

    Please let me know if you have questions or need more information.

     
  • Rjay Castro

    Rjay Castro - 2019-02-19

    Deleting that file worked! Thank you so much sir! :)

     
  • Sarkis Dallakian

    • status: open --> closed
     
  • Sarkis Dallakian

    Great, glad it worked.

     

Log in to post a comment.

MongoDB Logo MongoDB