Error opening history when no jobs have been submitted #17
Replies: 2 comments
-
|
Hi again, I think I solved the issue, I added these lines to run.rb. Please let me know if what I did is not correct. I will try to submit a pull request with these changes if you allow that.
I'm a bit confused of why fileutils was not require before since there are other lines of the file that call FileUtils. But since I dont know ruby, maybe is not necessary? Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you for your pull request. Best |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
error.log
Hi, if a user clicks "history" in the top menu, but the person hasnt submit any jobs trough the open composer, we get an Internal Server Error. I am attaching the error log. It seems the error is in lib/history.rb script, in the function update_status (line 211). But I don't know ruby so I don't know how to solve this problem. Thanks!
It seems the problem is because /home/user/composer doesn't exist until a job has been submitted through the app. So, conf["data_dir"] = ENV["HOME"] + "/composer", which doesn't exist. I guess that file could also be created in run.rb? But again, since I don't know ruby I'm afraid to add a line of code creating that file in the wrong place.
In the mean while, is there a way we can disable history from the menu while this problem gets solve?
Beta Was this translation helpful? Give feedback.
All reactions