I folowed the instructiohs on the PyERx web site for compiling the source code without generating any warning or error messages. (Debian Stretch)
An attempt to run PyRx generated the followig:
root@AbNormal:/home/comp/Downloads/PyRx/PyRx-0.9-Source# ./runPyRx.py
No module named mglutil.util.packageFilePath
Traceback (most recent call last):
File "./runPyRx.py", line 98, in <module>
dlg = wx.lib.dialogs.ScrolledMessageDialog(None, msg, "Error starting PyRx")
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/dialogs.py", line 32, in init
wx.Dialog.init(self, parent, -1, caption, pos, size, style)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/windows.py", line 734, in init
_windows.Dialog_swiginit(self,windows.new_Dialog(args, *kwargs))
wx._core.PyNoAppError: The wx.App object must be created first!
A solution would be much appreciated.
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got to qondering if my installation or MGLTools in /home/comp/Apps/MGLTools-1.5.7rc1 might be the problem.
I removed MGLTools from /home/comp/Apps and installed it, as root, in the default location. Unfortunately, that didn't seem to make a difference Here is the run log:.
comp@AbNormal:~/Downloads/PyRx/PyRx-0.9-Source$ ./runPyRx.py
No module named mglutil.util.packageFilePath
Traceback (most recent call last):
File "./runPyRx.py", line 98, in <module>
dlg = wx.lib.dialogs.ScrolledMessageDialog(None, msg, "Error starting PyRx")
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/dialogs.py", line 32, in init
wx.Dialog.init(self, parent, -1, caption, pos, size, style)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/windows.py", line 734, in init
_windows.Dialog_swiginit(self,windows.new_Dialog(args, *kwargs))
wx._core.PyNoAppError: The wx.App object must be created first!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You'll need to hire a Python developer to help with this. ./runPyRx.py is looking for module named mglutil.util.packageFilePath. You system's Python doesn't know where MGLTools is installed unless you tell it through sys.path or $PYTHONPATH.
It might take a week for an experienced Python developer to build PyRx from source. No one ever did that in the wild and live to tell about it except me, as far as I know.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I folowed the instructiohs on the PyERx web site for compiling the source code without generating any warning or error messages. (Debian Stretch)
An attempt to run PyRx generated the followig:
root@AbNormal:/home/comp/Downloads/PyRx/PyRx-0.9-Source# ./runPyRx.py
No module named mglutil.util.packageFilePath
Traceback (most recent call last):
File "./runPyRx.py", line 98, in <module>
dlg = wx.lib.dialogs.ScrolledMessageDialog(None, msg, "Error starting PyRx")
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/dialogs.py", line 32, in init
wx.Dialog.init(self, parent, -1, caption, pos, size, style)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/windows.py", line 734, in init
_windows.Dialog_swiginit(self,windows.new_Dialog(args, *kwargs))
wx._core.PyNoAppError: The wx.App object must be created first!
A solution would be much appreciated.
Thanks in advance.
I see it's missing MGLTools package that provides mglutil. I haven't tested PyRx with wx-3.0. The binaries are shipped with wx-2.8.
Good luck.
Thanks for your reply.
MGLTools is installed in /home/comp/Apps/MGLTools-1.5.7rc1.
I also have /home/comp/Apps/MGLTools2-1.1.
I got to qondering if my installation or MGLTools in /home/comp/Apps/MGLTools-1.5.7rc1 might be the problem.
I removed MGLTools from /home/comp/Apps and installed it, as root, in the default location. Unfortunately, that didn't seem to make a difference Here is the run log:.
comp@AbNormal:~/Downloads/PyRx/PyRx-0.9-Source$ ./runPyRx.py
No module named mglutil.util.packageFilePath
Traceback (most recent call last):
File "./runPyRx.py", line 98, in <module>
dlg = wx.lib.dialogs.ScrolledMessageDialog(None, msg, "Error starting PyRx")
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/dialogs.py", line 32, in init
wx.Dialog.init(self, parent, -1, caption, pos, size, style)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/windows.py", line 734, in init
_windows.Dialog_swiginit(self,windows.new_Dialog(args, *kwargs))
wx._core.PyNoAppError: The wx.App object must be created first!
You'll need to hire a Python developer to help with this. ./runPyRx.py is looking for module named mglutil.util.packageFilePath. You system's Python doesn't know where MGLTools is installed unless you tell it through sys.path or $PYTHONPATH.
It might take a week for an experienced Python developer to build PyRx from source. No one ever did that in the wild and live to tell about it except me, as far as I know.
I have to say that this was a rather disappointing response. I had expected better from the author of the software.