On 11/03/10 14:58, Nate Coraor wrote:
Chris Cole wrote:
Using your scripts: python scripts/scramble.py DRMAA_python
This is totally reproducible. I 'downgraded' the working py 2.6 server to py 2.4 and it stopped working, and I've 'upgraded' the not-working py 2.4 server to py 2.6 which is now working fine. At each change I re-scrambled the eggs.
Hi Chris,
In /homes/www-galaxy/galaxy_devel/lib/galaxy/jobs/runners/sge.py, could you require and import DRMAA outside of the try block (or put a 'raise' on line 13 after the 'except:' on line 12, instead of 'DRMAA = None'), and then paste the resulting traceback?
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 ? 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