Chris Cole wrote:
Ok. I changed the code from: try: pkg_resources.require( "DRMAA_python" ) DRMAA = __import__( "DRMAA" ) except: DRMAA = None
to... pkg_resources.require( "DRMAA_python" ) DRMAA = __import__( "DRMAA" ) try: pkg_resources.require( "DRMAA_python" ) DRMAA = __import__( "DRMAA" ) except: DRMAA = None
Re-ran galaxy using py 2.4 and got this in the output (last few lines): galaxy.jobs.runners.local INFO 2010-03-11 15:39:10,001 starting workers galaxy.jobs.runners.local DEBUG 2010-03-11 15:39:10,007 3 workers ready Traceback (most recent call last): File "/homes/www-galaxy/galaxy_devel/lib/galaxy/web/buildapp.py", line 61, in app_factory app = UniverseApplication( global_conf = global_conf, **kwargs ) File "/homes/www-galaxy/galaxy_devel/lib/galaxy/app.py", line 67, in __init__ self.job_manager = jobs.JobManager( self ) File "/homes/www-galaxy/galaxy_devel/lib/galaxy/jobs/__init__.py", line 40, in __init__ self.dispatcher = DefaultJobDispatcher( app ) File "/homes/www-galaxy/galaxy_devel/lib/galaxy/jobs/__init__.py", line 776, in __init__ import runners.sge File "/homes/www-galaxy/galaxy_devel/lib/galaxy/jobs/runners/sge.py", line 11, in ? DRMAA = __import__( "DRMAA" ) File "/usr/lib64/python2.4/site-packages/DRMAA.py", line 28, in ?
Ah, here's the culprit. You have a locally-installed DRMAA_python installed that's getting in the way. If you remove the DRMAA bits from /usr/lib64/python2.4/site-packages, it should fix this problem. However, we're supposed to work around such conflicts, so it looks like there's a bug in my new version of the conflict handling code, which I'll have a look at. Thanks, --nate
File "/usr/lib64/python2.4/site-packages/cDRMAA.py", line 4, in ? import _cDRMAA ImportError: libdrmaa.so.1.0: cannot open shared object file: No such file or directory
Does this help? Cheers,
Chris