saga-project / bliss

ATTENTION: bliss is now saga-python. Please check out the new project website for the latest version: http://saga-project.github.com/saga-python/
http://saga-project.github.com/saga-python/
Other
8 stars 4 forks source link

Same error is reported multiple times. #64

Closed pradeepmantha closed 11 years ago

pradeepmantha commented 12 years ago

Hi!

I see same error message reported atleast 2 times, which looks a little bit messy. This is just a cosmetic issue.

(mypython_repo)login1$ python pbs_via_ssh_simple_job.py Job ID : [pbs+ssh://login1.ls4.tacc.utexas.edu]-[None] Job State : saga.job.Job.New

...starting job...

An error occured during job execution: SAGA Exception (NoSuccess): [saga.plugin.job.pbssh] Couldn't run job because: SAGA Exception (NoSuccess): [saga.plugin.job.pbssh] Couldn't find PBS command line tools on pbs+ssh://login1.ls4.tacc.utexas.edu: which: no pbsnodes in (/home1/01539/pmantha/mypython_repo/bin:modules/bin:/opt/apps/python/epd/7.2.2:/opt/apps/python/epd/7.2.2/bin:/opt/apps/tar-lustre/1.22/bin:/opt/apps/gzip-lustre/1.3.12/bin:/opt/apps/intel11_1/mvapich2/1.6/bin:/opt/apps/intel/11.1/bin/intel64:/opt/sge6.2/bin/lx24-amd64:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/gsi-openssh-4.3/bin:/opt/ofed/bin:/opt/ofed/sbin:/usr/local/bin:/sge_common/default/pe_scripts:.) (No Stacktrace)
Traceback (most recent call last): File "/home1/01539/pmantha/mypython_repo/lib/python2.7/site-packages/bliss-0.2.3-py2.7.egg/bliss/plugins/pbs/pbsshjob.py", line 253, in job_run jobinfo = pbs.submit_job(job) File "/home1/01539/pmantha/mypython_repo/lib/python2.7/site-packages/bliss-0.2.3-py2.7.egg/bliss/plugins/pbs/cmdlinewrapper.py", line 572, in submit_job self._check_context() File "/home1/01539/pmantha/mypython_repo/lib/python2.7/site-packages/bliss-0.2.3-py2.7.egg/bliss/plugins/pbs/cmdlinewrapper.py", line 315, in _check_context "Couldn't find PBS command line tools on %s: %s" % (self._url, result.stderr)) File "/home1/01539/pmantha/mypython_repo/lib/python2.7/site-packages/bliss-0.2.3-py2.7.egg/bliss/interface/pluginbase.py", line 37, in log_error_and_raise raise SAGAException(error, msg) Exception: SAGA Exception (NoSuccess): [saga.plugin.job.pbssh] Couldn't find PBS command line tools on pbs+ssh://login1.ls4.tacc.utexas.edu: which: no pbsnodes in (/home1/01539/pmantha/mypython_repo/bin:modules/bin:/opt/apps/python/epd/7.2.2:/opt/apps/python/epd/7.2.2/bin:/opt/apps/tar-lustre/1.22/bin:/opt/apps/gzip-lustre/1.3.12/bin:/opt/apps/intel11_1/mvapich2/1.6/bin:/opt/apps/intel/11.1/bin/intel64:/opt/sge6.2/bin/lx24-amd64:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/gsi-openssh-4.3/bin:/opt/ofed/bin:/opt/ofed/sbin:/usr/local/bin:/sge_common/default/pe_scripts:.) (No Stacktrace)

(mypython_repo)login1$

oweidner commented 11 years ago

This is supposed to show up twice: (a) by the logging system and (b) by the 'print exception' in the 'except' block.