Project

General

Profile

Sprint board broken

Added by Gerrit Bostelmann over 5 years ago

When clicking on "Sprint" the following message gets displayed (Redmine 500 error):

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

Back

We used a Bitnami environment with Redmine version 3.4.6 for our installation.

Two weeks ago we encountered the same problem. That time I deleted some time_entries instances and re-entered the associated issue (on database level) and the display worked again. This time the problem seems to have a different cause.

I checked the error log in ../htdocs/log/production.log which refers to file ../htdocs/plugins/scrum/app/views/post_its/sprint_board/_task.html.erb expecting a curly bracket “{” instead of a pipe “|”. Changoing that file seems to have no effect.

Any ideas? Thanks!

error.PNG (9.68 KB) error.PNG

Replies (8)

RE: Sprint board broken - Added by Emilio González Montaña over 5 years ago

Hi Gerrit,

could you attach the log with the error message? be sure to remove any personal data.

Regards.

RE: Sprint board broken - Added by Gerrit Bostelmann over 5 years ago

Hi Emilio,

This is the log with today's error messages.

Thanks for looking into it!

Gerrit

RE: Sprint board broken - Added by Gerrit Bostelmann over 5 years ago

Anyone? Emilio, any idea?

RE: Sprint board broken - Added by Emilio González Montaña over 5 years ago

Your code (line 36 in _tasks.html.erb) seems to be wrong... did you modify the code or grab it from other place? Which plugin version do you use?

RE: Sprint board broken - Added by Gerrit Bostelmann over 5 years ago

We did not change anything. But I'm not sure where my colleague obtained it from. He usually gets things from the official sources. The plugin version is 0.18.0.

RE: Sprint board broken - Added by Gerrit Bostelmann over 5 years ago

Do you suggest a re-install of the plugin?

RE: Sprint board broken - Added by Emilio González Montaña over 5 years ago

Gerrit Bostelmann escribió:

Do you suggest a re-install of the plugin?

Try to install latest released version: 0.18.1 (with git access via https://patreon.com/ociotec you can get latest one 0.19.0).

RE: Sprint board broken - Added by Gerrit Bostelmann over 5 years ago

Okay, we have re-installed your plugin, this time with version 0.18.1 (which was very hard to find, by the way). Now everything seems to work fine again.

However, just out of curiosity, I looked into line 36 in the _tasks.html.erb file and appears to be the same as before. Since the error message stated:
"_task.html.erb:36: syntax error, unexpected '|', expecting '}' [...] task.doers.each do {|doer|}"
I was expecting to see a '}' in that line now. But just like before, there are no curly brackets, but pipes ('|').

Anyways, we're glad it works, this just seemed a bit strange.

    (1-8/8)