PyRx 0.9 64 bit Runtime Error

Python Prescription - Virtual Screening Tool

[PyRx is no longer developed at MGL]

Moderator: sargis

Forum rules
[PyRx is no longer developed at MGL]

PyRx 0.9 64 bit Runtime Error

Postby smolnar » Sun Jun 30, 2013 2:08 pm

I am running Debian Testing/Lenny 64 bit in an Oracle VM on my laptop.

I downloaded PyRx-0.9-x86-64.tar.gz. I successfully converted the tar.gz. package to a .deb package and installed it. I get the following runtime error:

computation@inga:/usr/local/PyRx-0.9$ sh run.sh
/usr/local/PyRx-0.9/bin/python: error while loading shared libraries: libpython2.6.so.1.0: wrong ELF class: ELFCLASS32

Unfortunately I am neither a programmer nor a Linux expert and don't have the faintest idea as to a solution.

Please advise.

Thanks in advance.
User avatar
smolnar
Micromolar User
Micromolar User
 
Posts: 49
Joined: Sat Aug 08, 2009 2:38 pm

Re: PyRx 0.9 64 bit Runtime Error

Postby sargis » Sun Jun 30, 2013 5:36 pm

Thank you for the message. Please try:
Code: Select all
sudo aptitude install ia32-libs

I have found these two links about running 32-bit Applications on 64-bit Debian/Ubuntu:
http://www.debian-administration.org/articles/534
http://unix.stackexchange.com/questions ... bit-ubuntu

I have uploaded PyRx-0.9-x86-64.tar.gz to make it easier to run PyRx on 64-bit Linux, but unfortunately, it seems that there are still 32-bit dependencies there.

Hope this helps.
User avatar
sargis
Picomolar User
Picomolar User
 
Posts: 583
Joined: Fri Oct 17, 2008 10:39 pm

Re: PyRx 0.9 64 bit Runtime Error

Postby smolnar » Sun Jun 30, 2013 6:14 pm

Thanks or the quick reply, i really appreciate your assistance.

Unfortunately, installing ia21-libs resulted in the removal of libgl1-mesa-swx11, which is required by MGL_Tools for which I also have a need.
User avatar
smolnar
Micromolar User
Micromolar User
 
Posts: 49
Joined: Sat Aug 08, 2009 2:38 pm

Re: PyRx 0.9 64 bit Runtime Error

Postby smolnar » Sun Jun 30, 2013 6:19 pm

With regard to the two articles (URL's in your reply) I don't think either of those approaches would work. One of them installs ia32-libs and the other appears to be quite a bit complicated.
User avatar
smolnar
Micromolar User
Micromolar User
 
Posts: 49
Joined: Sat Aug 08, 2009 2:38 pm

Re: PyRx 0.9 64 bit Runtime Error

Postby smolnar » Fri Jul 05, 2013 6:22 pm

I have determined that I can either install mgltools or PyRx but not both. At least if I use the compliled appications.

Therefore (while thinking that fools rush it...) I decided to attempt to compile PrRx 0.9 from source code. Things seemed to be going smoothly until I got to the point of installing ePMV (Blender). I thoought that I had followed the installation instructions and went ahead and ran the PyRx installation script.

Here is what happened:

computation@inga:~/Downloads/PyRx/PyRx-0.9-Source$ sudo python setup.py install
[sudo] password for computation:
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
changing mode of /usr/local/bin/runPyRx.py to 755
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/PyRx-0.9.egg-info
Writing /usr/local/lib/python2.7/dist-packages/PyRx-0.9.egg-info
computation@inga:~/Downloads/PyRx/PyRx-0.9-Source$ l
total 28
drwxr-xr-x 4 computation computation 4096 Jul 5 10:03 build
-rw-r--r-- 1 computation computation 1395 Jan 4 2011 LICENSE.txt
drwxr-xr-x 5 computation computation 4096 Jul 5 11:07 PyRx
-rw-r--r-- 1 computation computation 1316 Dec 15 2010 README.txt
-rwxr--r-- 1 computation computation 3529 Feb 14 2011 runPyRx.py
-rw-r--r-- 1 computation computation 442 Jul 11 2011 setup.py
-rw-r--r-- 1 computation computation 17 Feb 7 2011 TODO.txt
computation@inga:~/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-2.8-gtk2-unicode/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-2.8-gtk2-unicode/wx/_windows.py", line 643, in __init__
_windows_.Dialog_swiginit(self,_windows_.new_Dialog(*args, **kwargs))
wx._core.PyNoAppError: The wx.App object must be created first!


The last line tells the tale. I'm certainly not sure what went wrong/or what I failed to do.

Please advise.

Thanks in advance.
User avatar
smolnar
Micromolar User
Micromolar User
 
Posts: 49
Joined: Sat Aug 08, 2009 2:38 pm

Re: PyRx 0.9 64 bit Runtime Error

Postby sargis » Fri Jul 05, 2013 7:31 pm

Thanks for the update. Installing PyRx from source code is quite a challenge. I have been thinking to build new PyRx binary distribution for Windows and sell it for, say, $50, but not sure if anyone would buy it. In any case, the error above (No module named mglutil.util.packageFilePath) means that it can't find mglutil package from mgltools. If you installed mgltools from source, that would fix this error. If you have working version of mgltools binaries, then you can copy mglutil and all other packages from $MGLTools/lib/site-packages to /usr/local/lib/python2.7/dist-packages to see if that fixes it.

Please let me know if you have questions or need more information.
User avatar
sargis
Picomolar User
Picomolar User
 
Posts: 583
Joined: Fri Oct 17, 2008 10:39 pm


Return to PyRx

Who is online

Users browsing this forum: No registered users and 4 guests

cron