codeeu / coding-events

A Django app for adding EU Code Week events and showing them on a map.
http://events.codeweek.eu
MIT License
17 stars 36 forks source link

Internal Server Error 500 on the pending events page of Bulgaria #324

Closed mitio closed 9 years ago

mitio commented 9 years ago

When I'm logged in with my ambassador profile and I open the pending events page, I see a "Something went wrong." page with a HTTP 500 response code. I don't know if you're getting notified for this error, so I'm opening an issue here.

I am able to open the peding event directly, using the link from the email.

Let me know if you need any more info or testing on this.

sparkica commented 9 years ago

Hi @mitio, thanks for reporting the issue. We'll look into it asap.

ialja commented 9 years ago

Might be related to the #296 bug (we still need to deploy the fix).

mitio commented 9 years ago

I'm not sure it's that, as the slug of the event looks normal. The URL of the event is: http://events.codeweek.eu/view/468/academy-for-talents-in-programming/

sparkica commented 9 years ago

@mitio I'm trying to reproduce the issue. Can you please provide the steps taken?

mitio commented 9 years ago

I suspect it's related to the live, production data. You might need to fetch it locally in order to be able to reproduce the issue. It might be better to just look at the production logs for backtraces of the exception.

Here is what I do:

  1. I open an incognito window of Google Chrome (tried with Firefox as well, same thing) and load http://events.codeweek.eu/.
  2. I click on "Sign In" and I login with GitHub. I'm an ambassador.
  3. I click on my avatar at the top right to open the menu and click on "Show pending events...". This opens http://events.codeweek.eu/pending/BG/, where I see the error.
sparkica commented 9 years ago

Thanks, this is exactly what we need :)

goranche commented 9 years ago

@sparkica did you manage to reproduce it?

ialja commented 9 years ago

Yes, it's on production. As said earlier, I believe the problem is because of processing of the event slug (same as was discovered and fixed in #296) - the title is in Cyrillic in this case. Once we deploy the latest release, it might fix the bug.

goranche commented 9 years ago

I'll do the deployment soon, and we'll see if that fixes this issue

mitio commented 9 years ago

@ialja just to note that the title of the event is not in cyrillic, it's "Academy for talents in programming". The whole event is in English.

EDIT: There might be other events besides this one which actually cause the problem.

ialja commented 9 years ago

@mitio Yes, but there are two others with titles in cyrillic, which might be causing the problem with the whole view (I can see all of them in the admin interface).

mitio commented 9 years ago

The latest deploy solved the problem, no longer appearing. I'm closing this. Thanks!

sparkica commented 9 years ago

@mitio Awesome, thanks! :)