Bug #638

Person

workflow subtask errors crash workflow execution the dirty way

Added by Hervé Ménager about 9 years ago. Updated about 9 years ago.

Status:ClosedStart date:08/23/2011
Priority:HighDue date:
Assignee:PersonHervé Ménager% Done:

100%

Category:-
Target version:1.0.1

Description

reported by I. Carbone, the execution of a workflow generates this stacktrace:

Traceback (most recent call last):
  File "/var/www/html/mobyle/cgi-bin/v1.0.0.b1/session_job_submit.py", line 29, in <module>
    mb_cgi.JSONCGI(processFunction=process,useSession=True)
  File "/home/mobyle/www/mobylePortal/cgi-bin/v1.0.0.b1/mb_cgi.py", line 97, in __init__
    self.process(self)
  File "/var/www/html/mobyle/cgi-bin/v1.0.0.b1/session_job_submit.py", line 21, in process
    self.jsonMap = j.create(self.request, None, self.session)
  File "/home/mobyle/www/mobyleCore/v1.0.0.b1/Src/Mobyle/JobFacade.py", line 151, in create
    resp = self.submit(session)
  File "/home/mobyle/www/mobyleCore/v1.0.0.b1/Src/Mobyle/JobFacade.py", line 420, in submit
    self.job.run()
  File "/home/mobyle/www/mobyleCore/v1.0.0.b1/Src/Mobyle/WorkflowJob.py", line 211, in run
    self.srun()
  File "/home/mobyle/www/mobyleCore/v1.0.0.b1/Src/Mobyle/WorkflowJob.py", line 322, in srun
    self.set_status(Status(string='error', message=we.message))
  File "/home/mobyle/www/mobyleCore/v1.0.0.b1/Src/Mobyle/MobyleError.py", line 14, in _get_message
    return self._message
AttributeError: 'WorkflowJobError' object has no attribute '_message'
child exit for workflow id: [job ID removed to avoid bots]

History

#1 Person Updated by Hervé Ménager about 9 years ago

  • % Done changed from 0 to 100
  • Status changed from Assigned to Resolved

fixed by r3821.

#2 Person Updated by Hervé Ménager about 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF