Re: [PyMOL] Pynmr plugin installation

2008-06-13 Thread Daniel Seeliger
Hi Cyril,

obviously the Numeric package is not installed.
This package is somewhat out of date and replaced by the numpy package.

You could try to replace the line
"from Numeric import *"
by
"from numpy.oldnumeric import *"

Good luck,
Daniel


On Friday 13 June 2008 12:50:08 cyril gaudin wrote:
> Dear Pymol Users,
>
>
> I am trying to use the Pynmr plugin within Pymol on a Mac OS 10.4
> intel machine either with the X11Hybrid or the fink version. But I am
> not able to make it run when I launch Pymol.
>
> What I have done is just downloaded the pynmr_0.37f_OSX.tar.gz file,
> untared it in my /modules/pmg-tk/startup directory and installed it
> entering 'install' in the new created pynmr directory.
>
> The result of that is 2 new plug_nmr.py(c) files in the /modules/pmg-
> tk/startup directory. But when starting Pymol, here are the error
> messages I have :
>
> This PyMOL Executable Build incorporates Open-Source PyMOL 0.99rc6.
>   Detected 4 CPUs.  Enabled multithreaded rendering.
> Exception in plugin 'pynmr' -- Traceback follows...
> Traceback (most recent call last):
>File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/
> PMGApp.py", line 159, in initialize_plugins
>  mod.__init__(self)
> TypeError: argument 1 must be string, not instance
> Error: unable to initialize plugin 'pynmr'.
> Exception in plugin 'plug_nmr' -- Traceback follows...
> Traceback (most recent call last):
>File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/
> PMGApp.py", line 156, in initialize_plugins
>  __builtin__.__import__(mod_name)
>File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/
> startup/plug_nmr.py", line 47, in ?
>  from pynmr.pynmr import *
>File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/
> startup/pynmr/pynmr.py", line 67, in ?
>  from superimp import *
>File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/
> startup/pynmr/superimp.py", line 35, in ?
>  from rmsd import *
>File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/
> startup/pynmr/rmsd.py", line 34, in ?
>  from Numeric import *
> ImportError: No module named Numeric
> Error: unable to initialize plugin 'plug_nmr'.
>
> Does anybody have ever met this problem? Or can advice me some new
> things to test as I have no more ideas to use the plugin?
>
> Thanks.
>
> Best Regards,
> Cyril Gaudin.



-- 
Dr. Daniel Seeliger
Computational Biomolecular Dynamics Group
Max-Planck-Institute for Biophysical Chemistry  
Am Fassberg 11
37077 Goettingen, Germany
Tel: +49 551 201 2310
Fax: +49 551 201 2302
email: dsee...@gwdg.de
www.mpibpc.mpg.de/groups/de_groot/dseelig/index.html



[PyMOL] Pynmr plugin installation

2008-06-13 Thread cyril gaudin

Dear Pymol Users,


I am trying to use the Pynmr plugin within Pymol on a Mac OS 10.4  
intel machine either with the X11Hybrid or the fink version. But I am  
not able to make it run when I launch Pymol.


What I have done is just downloaded the pynmr_0.37f_OSX.tar.gz file,  
untared it in my /modules/pmg-tk/startup directory and installed it  
entering 'install' in the new created pynmr directory.


The result of that is 2 new plug_nmr.py(c) files in the /modules/pmg- 
tk/startup directory. But when starting Pymol, here are the error  
messages I have :


This PyMOL Executable Build incorporates Open-Source PyMOL 0.99rc6.
 Detected 4 CPUs.  Enabled multithreaded rendering.
Exception in plugin 'pynmr' -- Traceback follows...
Traceback (most recent call last):
  File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/ 
PMGApp.py", line 159, in initialize_plugins

mod.__init__(self)
TypeError: argument 1 must be string, not instance
Error: unable to initialize plugin 'pynmr'.
Exception in plugin 'plug_nmr' -- Traceback follows...
Traceback (most recent call last):
  File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/ 
PMGApp.py", line 156, in initialize_plugins

__builtin__.__import__(mod_name)
  File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/ 
startup/plug_nmr.py", line 47, in ?

from pynmr.pynmr import *
  File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/ 
startup/pynmr/pynmr.py", line 67, in ?

from superimp import *
  File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/ 
startup/pynmr/superimp.py", line 35, in ?

from rmsd import *
  File "/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/ 
startup/pynmr/rmsd.py", line 34, in ?

from Numeric import *
ImportError: No module named Numeric
Error: unable to initialize plugin 'plug_nmr'.

Does anybody have ever met this problem? Or can advice me some new  
things to test as I have no more ideas to use the plugin?


Thanks.

Best Regards,
Cyril Gaudin.