You know, I'm blind... I completely missed the -S option. Haven't really used that switch before. Though, the 'new' module is deprecated, it actually still exists. See my sessions below:
Paul,
It looks like a failure importing the module 'new' which is a standard module (though deprecated in 2.6 and removed in 3.0). Does importing this module directly from a python shell work? For example:
james@localhost% python2.6 -ES
Python 2.6 (trunk:66714:66715M, Oct 1 2008, 18:36:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
>>> import new
>>> new.__file__
'/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/new.pyc'
On Aug 3, 2009, at 7:52 PM, Paul Rigor (prigor@uci) wrote:
_______________________________________________Hi gang,
I've setup galaxy to run before. But this time around, the server will not start. The setup is fairly straightforward though I'm using python 2.6. Below is the error message stack. I've made some modifications to the configuration, but just pathing and db stuff. I've even run a python shell to import the new module which works fine. Any suggestions will be really helpful, thanks!
Paul
Traceback (most recent call last):
File "./scripts/paster.py", line 16, in <module>
from galaxy import eggs
File "/home/prigor/projects/galaxy/genomics/galaxy_dist/lib/galaxy/__init__.py", line 5, in <module>
__import__( "pkg_resources" ).declare_namespace( __name__ )
File "/home/prigor/projects/galaxy/genomics/galaxy_dist/lib/pkg_resources.py", line 16, in <module>
import sys, os, zipimport, time, re, imp, new
ImportError: No module named new
(2.6.2)04:42 PM 16807 prigor@localhost ~/projects/galaxy/genomics/galaxy_dist
$ python /home/prigor/projects/galaxy/genomics/galaxy_dist/lib/pkg_resources.py
--
Paul Rigor
http://www.paulrigor.net/
http://www.ics.uci.edu/~prigor
galaxy-user mailing list
galaxy-user@bx.psu.edu
http://mail.bx.psu.edu/cgi-bin/mailman/listinfo/galaxy-user