Question: Error Even Starting Up Galaxy
0
gravatar for Paul Rigor (prigor@uci)
9.3 years ago by
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.p y", 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 • 1.1k views
ADD COMMENTlink modified 9.3 years ago by James Taylor320 • written 9.3 years ago by Paul Rigor (prigor@uci)50
0
gravatar for James Taylor
9.3 years ago by
James Taylor320
United States
James Taylor320 wrote:
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 '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ new.pyc'
ADD COMMENTlink written 9.3 years ago by James Taylor320
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: $ python -S Python 2.6.2 (r262:71600, May 19 2009, 10:23:42) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named new (2.6.2)06:19 PM 16930 prigor@localhost~/projects/xx/svn/genomics/trunk/code/python $ python Python 2.6.2 (r262:71600, May 19 2009, 10:23:42) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 Type "help", "copyright", "credits" or "license" for more information. '/pkg/python/2.6.2/lib/python2.6/new.pyc' -- Paul Rigor http://www.paulrigor.net/ http://www.ics.uci.edu/~prigor
ADD REPLYlink written 9.3 years ago by Paul Rigor (prigor@uci)50
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 166 users visited in the last hour