Galaxy workflow editor cannot be loaded due to some JS files received 404 not found
Hi guys, We just discovered this issue on our new production galaxy. When trying to open the workflow editor, the page just stuck in the loading bar. I opened the JavaScript debug console of the web browser, I found; GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.js?v=1348871183404 (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.event.drag.js?v=1348871... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.tipsy.js?v=134887118340... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.event.drop.js?v=1348871... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.form.js?v=1348871183404 (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/json2.js?v=1348871183 404 (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jstorage.js?v=1348871183404 (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.event.hover.js?v=134887... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.autocomplete.js?v=13488... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/autocomplete_tagging.js?v=1348... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> 1. Uncaught TypeError: Object [object Object] has no method 'autocomplete_tagging' editor:3605<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> 1. Uncaught TypeError: Cannot call method 'get' of undefined editor:497<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> 1. Uncaught TypeError: Cannot call method 'hide' of undefined galaxy.panels.js:202<http://pwbcglxprod:8081/galaxy/static/scripts/galaxy.panels.js?v=1348871183> Seems that the URLs are not correct, they should be found under scripts/libs/jquery/. Worth to mention, not all the JS are broken, for example the jquery.event.drag.js was found correctly: http://pwbcglxprod:8081/galaxy/static/scripts/libs/jquery/jquery.event.drag.... Any suggestion is much appreciated. Cheers, Derrick
What version of Galaxy are you using? I have not been able to reproduce this issue with either galaxy-dist or galaxy-central. Thanks, J. On Oct 2, 2012, at 1:45 AM, Derrick Lin wrote:
Hi guys,
We just discovered this issue on our new production galaxy. When trying to open the workflow editor, the page just stuck in the loading bar. I opened the JavaScript debug console of the web browser, I found;
GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.js?v=1348871183 404 (Not Found) editor:235 GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.event.drag.js?v=1348871... 404 (Not Found) editor:235 GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.tipsy.js?v=1348871183 404 (Not Found) editor:235 GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.event.drop.js?v=1348871... 404 (Not Found) editor:235 GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.form.js?v=1348871183 404 (Not Found) editor:235 GET http://pwbcglxprod:8081/galaxy/static/scripts/json2.js?v=1348871183 404 (Not Found) editor:235 GET http://pwbcglxprod:8081/galaxy/static/scripts/jstorage.js?v=1348871183 404 (Not Found) editor:235 GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.event.hover.js?v=134887... 404 (Not Found) editor:235 GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.autocomplete.js?v=13488... 404 (Not Found) editor:235 GET http://pwbcglxprod:8081/galaxy/static/scripts/autocomplete_tagging.js?v=1348... 404 (Not Found) editor:235 Uncaught TypeError: Object [object Object] has no method 'autocomplete_tagging' editor:3605 Uncaught TypeError: Cannot call method 'get' of undefined editor:497 Uncaught TypeError: Cannot call method 'hide' of undefined galaxy.panels.js:202
Seems that the URLs are not correct, they should be found under scripts/libs/jquery/. Worth to mention, not all the JS are broken, for example the jquery.event.drag.js was found correctly:
http://pwbcglxprod:8081/galaxy/static/scripts/libs/jquery/jquery.event.drag....
Any suggestion is much appreciated.
Cheers, Derrick ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
Hi Jeremy, We are using Sep 7 release of galaxy-dist. Strange enough we have a QA galaxy which is almost identical to the production one except it uses /galaxy_qa as prefix and a different database, but workflow editor works there. I checked the relevant mako pages, nothing suspicious since we havent changed any. So far only the workflow editor page generates the wrong JS script paths, it doesn't happen on any other pages. Derrick On Tue, Oct 2, 2012 at 11:53 PM, Jeremy Goecks <jeremy.goecks@emory.edu>wrote:
What version of Galaxy are you using? I have not been able to reproduce this issue with either galaxy-dist or galaxy-central.
Thanks, J.
On Oct 2, 2012, at 1:45 AM, Derrick Lin wrote:
Hi guys,
We just discovered this issue on our new production galaxy. When trying to open the workflow editor, the page just stuck in the loading bar. I opened the JavaScript debug console of the web browser, I found;
GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.js?v=1348871183404 (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.event.drag.js?v=1348871... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.tipsy.js?v=134887118340... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.event.drop.js?v=1348871... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.form.js?v=1348871183404 (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/json2.js?v=1348871183404 (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jstorage.js?v=1348871183404 (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.event.hover.js?v=134887... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/jquery.autocomplete.js?v=13488... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7> GET http://pwbcglxprod:8081/galaxy/static/scripts/autocomplete_tagging.js?v=1348... (Not Found) editor:235<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7>
1. Uncaught TypeError: Object [object Object] has no method 'autocomplete_tagging' editor:3605<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7>
1. Uncaught TypeError: Cannot call method 'get' of undefined editor:497<http://pwbcglxprod:8081/galaxy/workflow/editor?id=f1b9846ab84237e7>
1. Uncaught TypeError: Cannot call method 'hide' of undefined galaxy.panels.js:202<http://pwbcglxprod:8081/galaxy/static/scripts/galaxy.panels.js?v=1348871183>
Seems that the URLs are not correct, they should be found under scripts/libs/jquery/. Worth to mention, not all the JS are broken, for example the jquery.event.drag.js was found correctly:
http://pwbcglxprod:8081/galaxy/static/scripts/libs/jquery/jquery.event.drag....
Any suggestion is much appreciated.
Cheers, Derrick ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
We are using Sep 7 release of galaxy-dist. Strange enough we have a QA galaxy which is almost identical to the production one except it uses /galaxy_qa as prefix and a different database, but workflow editor works there.
The best idea is to update to the most current release (Sept. 20) and see if that solves the issue. If not, let us know. Thanks, J.
Hi Jeremy, We found the cause, there are some corrupted file under database/compiled_templates, we clean up that folder and allow Galaxy to recompile everything. Now it's working. Cheers, Derrick On Wed, Oct 3, 2012 at 11:33 AM, Jeremy Goecks <jeremy.goecks@emory.edu>wrote:
We are using Sep 7 release of galaxy-dist. Strange enough we have a QA galaxy which is almost identical to the production one except it uses /galaxy_qa as prefix and a different database, but workflow editor works there.
The best idea is to update to the most current release (Sept. 20) and see if that solves the issue. If not, let us know.
Thanks, J.
participants (2)
-
Derrick Lin
-
Jeremy Goecks