[PyMOL] MacPyMOL 1.4 on OS X 10.5.8 load command error

2011-03-24 Thread Ben Eisenbraun
Hi Jason et al,

We just added PyMOL 1.4 to our software environment, and it looks like
Numpy doesn't want to run on 10.5.8 machines:

PyMOLimport numpy
Traceback (most recent call last):
  File /programs/m/pymol/1.4/MacPyMOL.app/pymol/modules/pymol/parser.py, line 
260, in parse
exec(layer.com2+\n,self.pymol_names,self.pymol_names)
  File string, line 1, in module
  File 
/programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/__init__.py,
 line 136, in module
import add_newdocs
  File 
/programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/add_newdocs.py,
 line 9, in module
from numpy.lib import add_newdoc
  File 
/programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/lib/__init__.py,
 line 4, in module
from type_check import *
  File 
/programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/lib/type_check.py,
 line 8, in module
import numpy.core.numeric as _nx
  File 
/programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/core/__init__.py,
 line 5, in module
import multiarray
ImportError: 
dlopen(/programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/core/multiarray.so,
 2): no suitable image found.  Did find:
/programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/core/multiarray.so:
 unknown required load command 0x8022

There's some info about this error in this thread on Xcode-users:

http://lists.apple.com/archives/Xcode-users/2009/Oct/msg00514.html

And a page about the compressed linkedit loader commands which are the root
cause here:

http://networkpx.blogspot.com/2009/09/about-lcdyldinfoonly-command.html

The fix is not entirely clear to me by looking at those sources.  It looks
like you'll have to experiment a bit if you want to continue to support
10.5 users.

-ben

--
| Ben Eisenbraun
| SBGrid Consortium  | http://sbgrid.org   |
| Harvard Medical School | http://hms.harvard.edu  |

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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


Re: [PyMOL] MacPyMOL 1.4 on OS X 10.5.8 load command error

2011-03-24 Thread Jason Vertrees
Hi Ben,

Thanks for finding this.  A colleague looked into this and says it's
fixable.  So, we'll have a fix out soon.  This is a 10.5-specific
numpy issue.  Our update release is planned to follow soon to clear up
a few small issues.

Cheers,

-- Jason

On Thu, Mar 24, 2011 at 3:42 PM, Ben Eisenbraun
b...@hkl.hms.harvard.edu wrote:
 Hi Jason et al,

 We just added PyMOL 1.4 to our software environment, and it looks like
 Numpy doesn't want to run on 10.5.8 machines:

 PyMOLimport numpy
 Traceback (most recent call last):
  File /programs/m/pymol/1.4/MacPyMOL.app/pymol/modules/pymol/parser.py, 
 line 260, in parse
    exec(layer.com2+\n,self.pymol_names,self.pymol_names)
  File string, line 1, in module
  File 
 /programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/__init__.py,
  line 136, in module
    import add_newdocs
  File 
 /programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/add_newdocs.py,
  line 9, in module
    from numpy.lib import add_newdoc
  File 
 /programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/lib/__init__.py,
  line 4, in module
    from type_check import *
  File 
 /programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/lib/type_check.py,
  line 8, in module
    import numpy.core.numeric as _nx
  File 
 /programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/core/__init__.py,
  line 5, in module
    import multiarray
 ImportError: 
 dlopen(/programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/core/multiarray.so,
  2): no suitable image found.  Did find:
 /programs/m/pymol/1.4/MacPyMOL.app/pymol/ext/lib/python2.7/site-packages/numpy/core/multiarray.so:
  unknown required load command 0x8022

 There's some info about this error in this thread on Xcode-users:

 http://lists.apple.com/archives/Xcode-users/2009/Oct/msg00514.html

 And a page about the compressed linkedit loader commands which are the root
 cause here:

 http://networkpx.blogspot.com/2009/09/about-lcdyldinfoonly-command.html

 The fix is not entirely clear to me by looking at those sources.  It looks
 like you'll have to experiment a bit if you want to continue to support
 10.5 users.

 -ben

 --
 | Ben Eisenbraun
 | SBGrid Consortium                          | http://sbgrid.org       |
 | Harvard Medical School                     | http://hms.harvard.edu  |

 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 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




-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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