Created
August 20, 2014 10:44
-
-
Save mehdisadeghi/2f313b941b4458351cfd to your computer and use it in GitHub Desktop.
AttributeError: 'module' object has no attribute 'LeaseManager'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^C(sqmpy)pc-p282(/W5/sade/workspace/simple-queue-manager) export SAGA_VERBOSE=DEBUG | |
(sqmpy)pc-p282(/W5/sade/workspace/simple-queue-manager) python run.py | |
2014:08:20 12:43:54 27684 MainThread saga : [INFO ] saga-python version: 0.17 | |
* Running on http://0.0.0.0:5001/ | |
* Restarting with reloader | |
2014:08:20 12:43:56 27688 MainThread saga : [INFO ] saga-python version: 0.17 | |
in submit.... before wrapper initialization | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.myproxy | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.context.myproxy for saga.Context API with URL scheme(s) ['myproxy://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.x509 | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.context.x509 for saga.Context API with URL scheme(s) ['x509://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.ssh | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.context.ssh for saga.Context API with URL scheme(s) ['ssh://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.userpass | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.context.userpass for saga.Context API with URL scheme(s) ['userpass://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.shell.shell_job | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.shell.shell_job for saga.job.Service API with URL scheme(s) ['fork://', 'local://', 'ssh://', 'gsissh://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.shell.shell_job for saga.job.Job API with URL scheme(s) ['fork://', 'local://', 'ssh://', 'gsissh://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.shell.shell_file | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.shell.shell_file for saga.namespace.Directory API with URL scheme(s) ['file://', 'local://', 'sftp://', 'gsisftp://', 'ssh://', 'gsissh://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.shell.shell_file for saga.namespace.Entry API with URL scheme(s) ['file://', 'local://', 'sftp://', 'gsisftp://', 'ssh://', 'gsissh://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.shell.shell_file for saga.filesystem.Directory API with URL scheme(s) ['file://', 'local://', 'sftp://', 'gsisftp://', 'ssh://', 'gsissh://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.shell.shell_file for saga.filesystem.File API with URL scheme(s) ['file://', 'local://', 'sftp://', 'gsisftp://', 'ssh://', 'gsissh://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.shell.shell_resource | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [WARNING ] Skipping adaptor saga.adaptors.shell.shell_resource: beta versions are disabled (v0.1.beta) | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.redis.redis_advert | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [ERROR ] Skipping adaptor saga.adaptors.redis.redis_advert 1: module loading failed: No module named redis | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.sge.sgejob | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.sge.sgejob for saga.job.Service API with URL scheme(s) ['sge://', 'sge+ssh://', 'sge+gsissh://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.sge.sgejob for saga.job.Job API with URL scheme(s) ['sge://', 'sge+ssh://', 'sge+gsissh://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.pbs.pbsjob | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.pbs.pbsjob for saga.job.Service API with URL scheme(s) ['pbs://', 'pbs+ssh://', 'pbs+gsissh://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.pbs.pbsjob for saga.job.Job API with URL scheme(s) ['pbs://', 'pbs+ssh://', 'pbs+gsissh://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.lsf.lsfjob | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.lsf.lsfjob for saga.job.Service API with URL scheme(s) ['lsf://', 'lsf+ssh://', 'lsf+gsissh://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.lsf.lsfjob for saga.job.Job API with URL scheme(s) ['lsf://', 'lsf+ssh://', 'lsf+gsissh://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.irods.irods_replica | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [ERROR ] Skipping adaptor saga.adaptors.irods.irods_replica: failed self test: Could not run iRODS/ils. Check iRODSenvironment and certificates ('module' object has no attribute 'logger') (/W5/sade/workspace/saga-python/saga/adaptors/irods/irods_replica.py +200 (sanity_check) : "environment and certificates (%s)" % ex)) | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.condor.condorjob | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.condor.condorjob for saga.job.Service API with URL scheme(s) ['condor://', 'condor+ssh://', 'condor+gsissh://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.condor.condorjob for saga.job.Job API with URL scheme(s) ['condor://', 'condor+ssh://', 'condor+gsissh://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.slurm.slurm_job | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.slurm.slurm_job for saga.job.Service API with URL scheme(s) ['slurm://', 'slurm+ssh://', 'slurm+gsissh://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.slurm.slurm_job for saga.job.Job API with URL scheme(s) ['slurm://', 'slurm+ssh://', 'slurm+gsissh://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.http.http_file | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.http.http_file for saga.namespace.Entry API with URL scheme(s) ['http://', 'https://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.http.http_file for saga.filesystem.File API with URL scheme(s) ['http://', 'https://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.aws.ec2_resource | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.aws.ec2_resource for saga.Context API with URL scheme(s) ['ec2://', 'ec2_keypair://', 'openstack://', 'eucalyptus://', 'euca://', 'aws://', 'amazon://', 'http://', 'https://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.aws.ec2_resource for saga.resource.Manager API with URL scheme(s) ['ec2://', 'ec2_keypair://', 'openstack://', 'eucalyptus://', 'euca://', 'aws://', 'amazon://', 'http://', 'https://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.aws.ec2_resource for saga.resource.Compute API with URL scheme(s) ['ec2://', 'ec2_keypair://', 'openstack://', 'eucalyptus://', 'euca://', 'aws://', 'amazon://', 'http://', 'https://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.loadl.loadljob | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.loadl.loadljob for saga.job.Service API with URL scheme(s) ['loadl://', 'loadl+ssh://', 'loadl+gsissh://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.loadl.loadljob for saga.job.Job API with URL scheme(s) ['loadl://', 'loadl+ssh://', 'loadl+gsissh://'] | |
2014:08:20 12:44:01 27688 Dummy-1 saga.saga.adaptor.ssh : [INFO ] default ssh key at /home/sade/.ssh/id_rsa | |
2014:08:20 12:44:01 27688 Dummy-1 saga.saga.adaptor.ssh : [INFO ] ignore ssh key at /home/sade/.ssh/authorized_keys (no public key: /home/sade/.ssh/authorized_keys.pub) | |
2014:08:20 12:44:01 27688 Dummy-1 saga.saga.adaptor.ssh : [INFO ] default ssh key at /home/sade/.ssh/id_dsa | |
2014:08:20 12:44:01 27688 Dummy-1 saga.saga.adaptor.ssh : [INFO ] default ssh key at /home/sade/.ssh/identity | |
2014:08:20 12:44:01 27688 Dummy-1 saga.saga.adaptor.ssh : [INFO ] ignore ssh key at /home/sade/.ssh/authorized_keys2 (no public key: /home/sade/.ssh/authorized_keys2.pub) | |
2014:08:20 12:44:01 27688 Dummy-1 saga.saga.adaptor.ssh : [INFO ] ignore ssh key at /home/sade/.ssh/known_hosts__ (no public key: /home/sade/.ssh/known_hosts__.pub) | |
2014:08:20 12:44:01 27688 Dummy-1 saga.saga.adaptor.ssh : [INFO ] ignore ssh key at /home/sade/.ssh/known_hosts (no public key: /home/sade/.ssh/known_hosts.pub) | |
2014:08:20 12:44:01 27688 Dummy-1 saga.DefaultSession : [DEBUG ] adding context : {'LifeTime' : '-1', 'Type' : 'ssh', 'UserCert' : '/home/sade/.ssh/id_rsa.pub', 'UserKey' : '/home/sade/.ssh/id_rsa'} | |
2014:08:20 12:44:01 27688 Dummy-1 saga.ContextSSH : [INFO ] init SSH context for key at '/home/sade/.ssh/id_rsa' done | |
2014:08:20 12:44:01 27688 Dummy-1 saga.DefaultSession : [DEBUG ] default context [saga.adaptor.ssh ] : {'LifeTime' : '-1', 'Type' : 'ssh', 'UserCert' : '/home/sade/.ssh/id_rsa.pub', 'UserKey' : '/home/sade/.ssh/id_rsa'} | |
2014:08:20 12:44:01 27688 Dummy-1 saga.DefaultSession : [DEBUG ] adding context : {'LifeTime' : '-1', 'Type' : 'ssh', 'UserCert' : '/home/sade/.ssh/id_dsa.pub', 'UserKey' : '/home/sade/.ssh/id_dsa'} | |
2014:08:20 12:44:01 27688 Dummy-1 saga.ContextSSH : [INFO ] init SSH context for key at '/home/sade/.ssh/id_dsa' done | |
2014:08:20 12:44:01 27688 Dummy-1 saga.DefaultSession : [DEBUG ] default context [saga.adaptor.ssh ] : {'LifeTime' : '-1', 'Type' : 'ssh', 'UserCert' : '/home/sade/.ssh/id_dsa.pub', 'UserKey' : '/home/sade/.ssh/id_dsa'} | |
2014:08:20 12:44:02 27688 Dummy-1 saga.DefaultSession : [DEBUG ] adding context : {'LifeTime' : '-1', 'Type' : 'ssh', 'UserCert' : '/home/sade/.ssh/identity.pub', 'UserKey' : '/home/sade/.ssh/identity'} | |
2014:08:20 12:44:02 27688 Dummy-1 saga.ContextSSH : [INFO ] init SSH context for key at '/home/sade/.ssh/identity' done | |
2014:08:20 12:44:02 27688 Dummy-1 saga.DefaultSession : [DEBUG ] default context [saga.adaptor.ssh ] : {'LifeTime' : '-1', 'Type' : 'ssh', 'UserCert' : '/home/sade/.ssh/identity.pub', 'UserKey' : '/home/sade/.ssh/identity'} | |
127.0.0.1 - - [20/Aug/2014 12:44:02] "POST /job/submit HTTP/1.1" 500 - | |
Traceback (most recent call last): | |
File "/W5/sade/workspace/envs/sqmpy/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__ | |
return self.wsgi_app(environ, start_response) | |
File "/W5/sade/workspace/envs/sqmpy/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app | |
response = self.make_response(self.handle_exception(e)) | |
File "/W5/sade/workspace/envs/sqmpy/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception | |
reraise(exc_type, exc_value, tb) | |
File "/W5/sade/workspace/envs/sqmpy/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app | |
response = self.full_dispatch_request() | |
File "/W5/sade/workspace/envs/sqmpy/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request | |
rv = self.handle_user_exception(e) | |
File "/W5/sade/workspace/envs/sqmpy/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception | |
reraise(exc_type, exc_value, tb) | |
File "/W5/sade/workspace/envs/sqmpy/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request | |
rv = self.dispatch_request() | |
File "/W5/sade/workspace/envs/sqmpy/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request | |
return self.view_functions[rule.endpoint](**req.view_args) | |
File "/W5/sade/workspace/envs/sqmpy/lib/python2.7/site-packages/flask_login.py", line 758, in decorated_view | |
return func(*args, **kwargs) | |
File "/W5/sade/workspace/simple-queue-manager/sqmpy/job/views.py", line 109, in submit | |
**form.data) | |
File "/W5/sade/workspace/simple-queue-manager/sqmpy/job/services.py", line 39, in submit_job | |
**kwargs) | |
File "/W5/sade/workspace/simple-queue-manager/sqmpy/job/manager.py", line 92, in submit_job | |
saga_wrapper = SagaJobWrapper(job) | |
File "/W5/sade/workspace/simple-queue-manager/sqmpy/job/saga_helper.py", line 55, in __init__ | |
self._initialize() | |
File "/W5/sade/workspace/simple-queue-manager/sqmpy/job/saga_helper.py", line 77, in _initialize | |
self._session = saga.Session() | |
File "/W5/sade/workspace/saga-python/saga/session.py", line 212, in __init__ | |
self._lease_manager = ru.LeaseManager () | |
AttributeError: 'module' object has no attribute 'LeaseManager' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment