dear all,

sorry for a maybe trivial question, but I am not able to solve this problem:

I want to install PyNMR (0.37 for linux) to my Pymol (0.99 for linux).
After installation I get the positive output: 

!! PYNMR install has completed.  
   To run PYNMN, start up pymol, then open the NMR Extension under Plugin.

but when I open Pymol, I get:

 Detected 2 CPUs.  Enabled multithreaded rendering.
Exception in plugin 'pynmr' -- Traceback follows...
Traceback (most recent call last):
  File "/home/nmr/software/pymol/pymol/modules/pmg_tk/PMGApp.py", line 159, in 
initialize_plugins
    mod.__init__(self)
TypeError: module.__init__() argument 1 must be string, not instance
Error: unable to initialize plugin 'pynmr'.


Well, the plugin appears in the menu as it should, but I only get errors when I 
try to load a file there, or do any other action (e. g. the 'working directory' 
seems to be wrong also).
Since PyNMR seems to be used widely, I do not think that this is a problem from 
the plugin but rather my fault/problem with Pymol...

During installation I get the following:

[r...@04-pm028 pynmr]# install

Running PYNMR installation script.

   Checking for the Numeric (numerical python) package.
   Numeric was found.

** Good.  I have found your PYMOL installation at 
          /home/nmr/software/pymol/pymol/modules.
>> Install pynmr in: [/home/nmr/software/pymol/pymol/modules]   {** I think, it 
>> is right to install it into this directory **}


-> installing in /home/nmr/software/pymol/pymol/modules. 
running install
running build
running build_py
package init file 'pmg_tk/startup/__init__.py' not found (or not a regular file)
copying pmg_tk/startup/pynmr/Crmsd.py -> build/lib/pmg_tk/startup/pynmr
copying pmg_tk/startup/pynmr/__init__.py -> build/lib/pmg_tk/startup/pynmr
package init file 'pmg_tk/startup/__init__.py' not found (or not a regular file)
running install_lib
copying build/lib/pmg_tk/startup/pynmr/Crmsd.py -> 
/home/nmr/software/pymol/pymol/modules/pmg_tk/startup/pynmr
copying build/lib/pmg_tk/startup/pynmr/__init__.py -> 
/home/nmr/software/pymol/pymol/modules/pmg_tk/startup/pynmr
byte-compiling 
/home/nmr/software/pymol/pymol/modules/pmg_tk/startup/pynmr/Crmsd.py to 
Crmsd.pyc
byte-compiling 
/home/nmr/software/pymol/pymol/modules/pmg_tk/startup/pynmr/__init__.py to 
__init__.pyc
running install_data
copying pmg_tk/startup/pynmr/Crmsd.so -> 
/home/nmr/software/pymol/pymol/modules/pmg_tk/startup/pynmr
running install_egg_info
Removing /home/nmr/software/pymol/pymol/modules/pynmr-0.37f-py2.6.egg-info
Writing /home/nmr/software/pymol/pymol/modules/pynmr-0.37f-py2.6.egg-info
!! PYNMR install has completed.  
   To run PYNMN, start up pymol, then open the NMR Extension under Plugin.
[r...@04-pm028 pynmr]# 


whereas __init__.py is an empty file (I don't know it that is relevant)

Any suggestions are welcome,
thank you very much,
Christoph



------------------------------------------------------------------------------

_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to