jnoll / peos

Process Enactment Operating System for PML process modeling language
Other
2 stars 4 forks source link

Error when finishing some actions #1

Open luciabr opened 11 years ago

luciabr commented 11 years ago

The issue happens on the carepathway code when finishing some actions. It doesn't happen in all the case, but in the cases that it happens, it is consistent and happens all the time. Reproduction instructions:

  1. launch the carepathway web application
  2. Click on the patient "Curtis, Eva"
  3. Click the "Pathway support" button to display the pathways
  4. Click "Enter diagnosis" link
  5. Enter "diabetes" in the Enter diagnosis text box
  6. Click on "Patient Assessment" in the Pathway support to display the pathway
  7. Click on "Assess patient symptoms" to display the action details
  8. Click on the Finish button and the error occurs

Note that the diagnosis has to be exactly "diabetes" or "suspect diabetes" so that the provided resource condition evaluates to true and the error occurs. The error doesn't occur if the condition evaluates to false. I put some debug log in the peos_init.tcl file and the scripts is executed till the condition is evaluated, so the issue doesn't seem to be there.

Error in error.log file: [Thu Aug 08 16:43:17.232855 2013] [cgi:error] [pid 6220:tid 1688] [client ::1:57060] End of script output before headers: peos.cgi, referer: http://localhost/carepathways/ [Thu Aug 08 16:43:17.232855 2013] [cgi:error] [pid 6220:tid 1688] [client ::1:57060] AH01215: Handle Resource Change Error: Cannot Get Graph, referer: http://localhost/carepathways/ [Thu Aug 08 16:43:17.232855 2013] [cgi:error] [pid 6220:tid 1688] [client ::1:57060] AH01215: process executed an illegal instruction and has been terminated, referer: http://localhost/carepathways/

jnoll commented 11 years ago

Lucia, can you upload or send me the pml file?

Thanks,

John Noll

Research Fellow Lero - The Irish Software Engineering Research Centre University of Limerick, Ireland john.noll@lero.ie +353 61 202956 www.lero.ie/people/johnnoll

luciabr commented 11 years ago

Hi John, the pml file is Patient_assessment.pml and is included in the code in carepathway folder. I tried to email it to you, but I have problem attaching it.

Thanks, Lucia


From: jnoll notifications@github.com To: jnoll/peos peos@noreply.github.com Cc: luciabr luciabr16@yahoo.com Sent: Friday, 9 August 2013, 8:34 Subject: Re: [peos] Error when finishing some actions (#1)

Lucia, can you upload or send me the pml file?

Thanks,

John Noll

Research Fellow Lero - The Irish Software Engineering Research Centre University of Limerick, Ireland john.noll@lero.ie +353 61 202956 www.lero.ie/people/johnnoll — Reply to this email directly or view it on GitHub.