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

obscure job.run error #46

Closed andre-merzky closed 12 years ago

andre-merzky commented 12 years ago

With the (fixed?) attribute example, I see the following error::

>>> jd = saga.job.Description ()
>>> jd.executable = "/bin/date"
>>> js = saga.job.Service ("fork://localhost/")
>>> j  = js.create_job (jd)
>>> j.run ()
None
05/22/2012 01:40:00 PM - bliss.LocalJobPlugin(0xf7b878) - ERROR - Couldn't run job because: 'LocalJobProcess' object has no attribute '_job_error'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "bliss/saga/job/Job.py", line 286, in run
    return self._plugin.job_run(self)
  File "bliss/plugins/local/localjob.py", line 226, in job_run
    self.log_error_and_raise(bliss.saga.Error.NoSuccess, "Couldn't run job because: %s " % (str(ex)))
  File "bliss/interface/pluginbase.py", line 37, in log_error_and_raise
    raise SAGAException(error, msg)
bliss.saga.Exception.Exception: SAGA Exception (NoSuccess): [saga.plugin.job.local] Couldn't run job because: 'LocalJobProcess' object has no attribute '_job_error'
  *********************
  * BLISS STACK TRACE *
  *********************
  File "<stdin>", line 1, in <module>
  File "bliss/saga/job/Job.py", line 286, in run
    return self._plugin.job_run(self)
  File "bliss/plugins/local/localjob.py", line 226, in job_run
    self.log_error_and_raise(bliss.saga.Error.NoSuccess, "Couldn't run job because: %s " % (str(ex)))
  File "bliss/interface/pluginbase.py", line 35, in log_error_and_raise
    msg = "[%s] %s %s" % (self.name, message, tback.get_traceback())
  File "bliss/utils/tback.py", line 14, in get_traceback
    traceback.print_stack(file=fp)

which does not really tell me what is wrong. Just the stack trace printing perhaps?