From: Thomas H. <th...@gm...> - 2017-07-26 15:46:32
|
Hi Kenny, Haixin, Thank you for the trace. The user interface is old and written at times where I must admit had little experience with web technologies. It needs a major overhaul - anyone interested :D …? I suggest to use the command line tools to create an alignment job instead. Please try pytom/bin/alignJob.py Please let us know if it works. Cheers, Thomas > Am 24.07.2017 um 16:48 schrieb Haixin Sui <su...@ho...>: > > Hi Tom, > > Thank you very much for your response. > > I tried to repeat Kenny's test. The full stack trace and the screenshots, before and after the error message showed up, have been been included in the end of this email. > > What we did was to generate a new Alignment job with the GI. This is the first job we have tested, i.e. no previous reconstruction or localization was carried out with pytom. We assumed we could start with running an Alignment job. > > After I input the parameters and files. When clicked on the green button "create Job", a window popped up showing" InvildStateError: XMLHttpRequest state must not be LOADING or DONE." > It is where we stopped. > > Please help to identify the possible reasons of the error message. > > Thank you > > Haixin > > > The full stack trace list: > ================== > vb@dalian:/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test$ pytom /usr/local/pytom/frontend/pytomServer.py -h "dalian" & > [1] 26708 > vb@dalian:/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test$ cat: Command not found. > ---------------------------------------------------------------------------------------- > Starting Pytom Webserver on hostname dalian and port 8080 > Paste the following line into your browser to start > http://dalian:8080 <http://dalian:8080/> > Starting browser: firefox > > ---------------------------------------------------------------------------------------- > firefox http://dalian:8080/index.html <http://dalian:8080/index.html> > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET / HTTP/1.1" 200 - > /usr/local/pytom/frontend/html// > /usr/local/pytom/frontend/html/javascript/javascript/functions.js > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /javascript/functions.js HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/javascript/javascript/functions.js > /usr/local/pytom/frontend/html/javascript/javascript/reconstructionFunctions.js > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /javascript/reconstructionFunctions.js HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/javascript/javascript/reconstructionFunctions.js > /usr/local/pytom/frontend/html/javascript/javascript/mcoEXMXFunctions.js > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /javascript/mcoEXMXFunctions.js HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/javascript/javascript/mcoEXMXFunctions.js > /usr/local/pytom/frontend/html/javascript/javascript/localizationFunctions.js > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /javascript/localizationFunctions.js HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/javascript/javascript/localizationFunctions.js > /usr/local/pytom/frontend/html/javascript/javascript/alignmentFunctions.js > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /javascript/alignmentFunctions.js HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/javascript/javascript/alignmentFunctions.js > /usr/local/pytom/frontend/html/javascript/javascript/mcoACFunctions.js > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /javascript/mcoACFunctions.js HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/javascript/javascript/mcoACFunctions.js > /usr/local/pytom/frontend/html/javascript/javascript/cookies.js > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /javascript/cookies.js HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/javascript/javascript/cookies.js > /usr/local/pytom/frontend/html/images/images/pytom_logo.png > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /images/pytom_logo.png HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/images/images/pytom_logo.png > /usr/local/pytom/frontend/html/css/css/pytomMainCSS.css > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /css/pytomMainCSS.css HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/css/css/pytomMainCSS.css > /usr/local/pytom/frontend/html/images/images/pytom_logo.png > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /images/pytom_logo.png HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/images/images/pytom_logo.png > /usr/local/pytom/frontend/html/css/css/cssMainMenu.css > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /css/cssMainMenu.css HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/css/css/cssMainMenu.css > /usr/local/pytom/frontend/html/../serverpages/apiDocumentationURL.py > 127.0.0.1 - - [24/Jul/2017 09:40:27] "GET /apiDocumentationURL.py HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/../serverpages/apiDocumentationURL.py > /usr/local/pytom/frontend/html/pages/pages/newAlignmentJob.html > 127.0.0.1 - - [24/Jul/2017 09:40:34] "GET /pages/newAlignmentJob.html HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/pages/pages/newAlignmentJob.html > /usr/local/pytom/frontend/html/../serverpages/loadParticleList.py > 127.0.0.1 - - [24/Jul/2017 09:41:27] "GET /loadParticleList.py?DIR=/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/KM_NS_A_sybvol HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/../serverpages/loadParticleList.py > /usr/local/pytom/frontend/html/../serverpages/imageSlice.py > 127.0.0.1 - - [24/Jul/2017 09:44:24] "GET /imageSlice.py?File=/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Reference/Reference.mrc HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/../serverpages/imageSlice.py > /usr/local/pytom/frontend/html/images/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Reference/Reference.png > 127.0.0.1 - - [24/Jul/2017 09:44:24] "GET /DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Reference/Reference.png HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/images/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Reference/Reference.png > /usr/local/pytom/frontend/html/../serverpages/imageSlice.py > 127.0.0.1 - - [24/Jul/2017 09:44:57] "GET /imageSlice.py?File=/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Mask/Mask.mrc HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/../serverpages/imageSlice.py > /usr/local/pytom/frontend/html/images/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Mask/Mask.png > 127.0.0.1 - - [24/Jul/2017 09:44:57] "GET /DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Mask/Mask.png HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/images/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Mask/Mask.png > /usr/local/pytom/frontend/html/../serverpages/imageSlice.py > 127.0.0.1 - - [24/Jul/2017 09:46:58] "GET /imageSlice.py?File=/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Mask/rmask125_r70G2.mrc HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/../serverpages/imageSlice.py > /usr/local/pytom/frontend/html/images/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Mask/rmask125_r70G2.png > 127.0.0.1 - - [24/Jul/2017 09:46:58] "GET /DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Mask/rmask125_r70G2.png HTTP/1.1" 200 - > /usr/local/pytom/frontend/html/images/DvbWork1/rv1265rec/KM_20161216_rec/Pytom_test/Mask/rmask125_r70G2.png > > ------------ > The above has completed listing of the full stack trace. > > Before we clicked the "Create Job", the screen-shot is following. (does it look right?) > > <pastedImage.png> > > After I clicked on the green "Create Job", the screen-shot is following. When it happened, no additional information was triggers in the stack trace window. > > > <pastedImage.png> > From: Thomas Hrabe <th...@gm...> > Sent: Monday, July 24, 2017 8:52 AM > To: Kenny Chen > Cc: pyt...@li... > Subject: Re: [Pytom-mail] Error message when creating job file > > Hi Kenny, > > Thank you for the error report. > Could you please send the full stack trace to identify your problem in more detail? > > Thanks, > Thomas > > > On Jul 20, 2017, at 11:24 PM, Kenny Chen <kec...@gm...> wrote: > > > > Hi, > > > > I get an error message "InvalidStateError: XMLHttpRequest state must not be LOADING or DONE." when I create the alignment job xml file from the web server front end. > > > > I am using firefox. > > > > > > > > Thank you for your help! > > > > > > Kenny > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ <http://sdm.link/slashdot_______________________________________________> > > Pytom-mail mailing list > > Pyt...@li... > > https://lists.sourceforge.net/lists/listinfo/pytom-mail <https://lists.sourceforge.net/lists/listinfo/pytom-mail> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org <http://slashdot.org/>! http://sdm.link/slashdot <http://sdm.link/slashdot> > _______________________________________________ > Pytom-mail mailing list > Pyt...@li... <mailto:Pyt...@li...> > https://lists.sourceforge.net/lists/listinfo/pytom-mail <https://lists.sourceforge.net/lists/listinfo/pytom-mail> |