Bug #588

Person

can't access program results after closing the session

Added by Adrien Saladin over 9 years ago. Updated about 9 years ago.

Status:ClosedStart date:06/22/2011
Priority:HighDue date:
Assignee:PersonHervé Ménager% Done:

100%

Category:-
Target version:1.0.1

Description

Mobyle sends an e-mail for long jobs with a link to the result page. This works as long as the user still has an open session. If the user closes the browser or clicks on 'sign-out', links sent by the mobyle server cannot be opened again. The portal is then blocked on "loading..." forever.

Here is an example of broken links:

http://mobyle.cbs.cnrs.fr:80/cgi-bin/mobyle1/portal.py#jobs::Atome2.T31145948813915

http://mobyle-dev.rpbs.univ-paris-diderot.fr:8080/cgi-bin/portal.py#jobs::mobylenet_workflow_tst2.C01443979666948

Steps to reproduce:
- run a long job
- click on the link in the e-mail
- logout from mobyle
- try to click on the same link again

History

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

  • Target version set to 1.0.1
  • Priority changed from Normal to High
  • Assignee set to Hervé Ménager
  • Status changed from New to Assigned

Issue reproduced.

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

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

fixed by r3766 and r3769.

#3 Person Updated by Adrien Saladin over 9 years ago

  • Status changed from Resolved to Assigned

Our portal still hangs. Can you open this new link, generated after a portal update ?

http://mobyle-dev.rpbs.univ-paris-diderot.fr:8080/cgi-bin/portal.py#jobs::mobylenet_workflow_tst.G13324875123024

#4 Person Updated by Adrien Saladin over 9 years ago

update: this link can now be opened. I tried several times with two browsers before re-opening the bug...

#5 Person Updated by Adrien Saladin over 9 years ago

I have just run a new workflow on mobyle. When clicking on the link provided in the e-mail (http://mobyle-dev.rpbs.univ-paris-diderot.fr:8080/cgi-bin/portal.py#jobs::mobylenet_workflow_tst2.M14062202017069) I get this error in the google chrome console:

GET http://mobyle-dev.rpbs.univ-paris-diderot.fr:8080/cgi-bin/session_workspace.py 500 (Internal Server Error)

I also get this error report in /var/log/mobyle/error.log:

Mobyle.portal : ERROR : mb_cgi.py : L 50 : Wed, 29 Jun 2011 13:06:30 : portal error
Mobyle.portal : ERROR : mb_cgi.py : L 51 : Wed, 29 Jun 2011 13:06:30 : caller script: /cgi-bin/session_workspace.py, IP: 172.27.6.74
Mobyle.portal : ERROR : mb_cgi.py : L 54 : Wed, 29 Jun 2011 13:06:30 : Traceback (most recent call last):
Mobyle.portal : ERROR : mb_cgi.py : L 54 : Wed, 29 Jun 2011 13:06:30 : File "/opt/mobyle/cgi/session_workspace.py", line 37, in <module>
mb_cgi.JSONCGI
Mobyle.portal : ERROR : mb_cgi.py : L 54 : Wed, 29 Jun 2011 13:06:30 : File "/opt/mobyle/cgi/mb_cgi.py", line 97, in init
self.process(self)
Mobyle.portal : ERROR : mb_cgi.py : L 54 : Wed, 29 Jun 2011 13:06:30 : File "/opt/mobyle/cgi/session_workspace.py", line 17, in process
tmpjobs = self.session.getAllJobs()
Mobyle.portal : ERROR : mb_cgi.py : L 54 : Wed, 29 Jun 2011 13:06:30 : File "/opt/mobyle/core/Src/Mobyle/Session.py", line 777, in getAllJobs
job['subjobs'] = jf.getSubJobs()
Mobyle.portal : ERROR : mb_cgi.py : L 54 : Wed, 29 Jun 2011 13:06:30 : File "/opt/mobyle/core/Src/Mobyle/JobFacade.py", line 472, in getSubJobs
subjobs = js.getSubJobs()
Mobyle.portal : ERROR : mb_cgi.py : L 54 : Wed, 29 Jun 2011 13:06:30 : File "/opt/mobyle/core/Src/Mobyle/JobState.py", line 1133, in getSubJobs
job = JobState(jobID)
Mobyle.portal : ERROR : mb_cgi.py : L 54 : Wed, 29 Jun 2011 13:06:30 : File "/opt/mobyle/core/Src/Mobyle/JobState.py", line 879, in new
raise MobyleError , "problem in parsing %s : %s" %( indexUri , err )
Mobyle.portal : ERROR : mb_cgi.py : L 54 : Wed, 29 Jun 2011 13:06:30 : MobyleError: problem in parsing http://mobyle.pasteur.fr/data/jobs/clustalw-multialign/M08313808902025/index.xml : Error reading file 'http://mobyle.pasteur.fr/data/jobs/clustalw-multialign/M08313808902025/index.xml': failed to load HTTP resource

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

  • Status changed from Assigned to Resolved

fixed by r3766 and r3769. last comment is a different issue, reported as issue #640.

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

  • Status changed from Resolved to Closed

Also available in: Atom PDF