CherryPy Service Crash

75 views
Skip to first unread message

Geoff Scott

unread,
Aug 4, 2022, 9:45:40 AM8/4/22
to QATrack+
Hi all,

A long shot if anyone else had the same issue and managed to fixed it.

We have done our own testlist test where we upload some files and you have to answer a yes or no question.

if you forget to answer the question yes or no by not placing a choice and press submit the site (QATrack) then tried to process it and then gives you a warning message

Warning either the server is not responding or you are currently logged out in order to prevent any potential data loss, please log in a difference tab by clicking the following link and then return to this page.

However the service QATrack 31 CherryPy Service have already stopped.

I am running on Windows 10 with IIS running.

Thank you all

Kind Regards

Geoff

Randle Taylor

unread,
Aug 5, 2022, 9:29:22 AM8/5/22
to Geoff Scott, QATrack+
HI Geoff,

Are you able to share any of the code that's running?  When you say "answer a yes or no question" do you mean a boolean or multiple choice test or are you trying to launch a GUI prompt (which won't work) or something similar?

Randy

--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qatrack/7b81ca70-09ac-40cf-8ff3-af694955aa44n%40googlegroups.com.

danj...@googlemail.com

unread,
Aug 8, 2022, 3:50:08 AM8/8/22
to QATrack+
Hi Randy,

I'm a physicist colleague of Geoff (he's our IT tech). The test list has 3 upload tests (2 of which are pylinac: catphan and winston-lutz, the other a csv), several composite tests reporting back analysed data, grabbing baselines from an imported library and providing diffs to expected value, and a boolean (yes/no) test. 

As Geoff says, if you leave the boolean unanswered (and unskipped) when submitting with all 3 files uploaded, it just crashes the CherryPy service (running 3.1 on Windows) . When we ran this on v3.0 on Ubuntu there was no problem. However, if you don't upload one of the 2 pylinac test files, the page behaves as expected ("values required if not skipping").

Just something we noticed when doing our upgrade testing, it isn't something we can reproduce on any other test list thankfully.

Many thanks,
Dan

Randle Taylor

unread,
Aug 25, 2022, 5:05:26 PM8/25/22
to danj...@googlemail.com, QATrack+
Hi Dan,

"If you leave the boolean unanswered (and unskipped) when submitting with all 3 files uploaded, it just crashes the CherryPy service (running 3.1 on Windows) ."

It's bizarre that this happens at the time of submission rather than prior to that.  I'm really having trouble wrapping my head around how that could happen.  There is some chance that an exception might be written to one of the log files (in particular logs/cherry_py_err.log, logs/std_err.log, or std_out.log but also potentially in the main qatrack debug log).  Those might help explain the situation but otherwise I'm at a loss.

Randy

Reply all
Reply to author
Forward
0 new messages