Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2488 closed defect (fixed)

User Profile defect?

Reported by: EM311 Owned by: Tom Hughes
Priority: major Milestone:
Component: website Version:
Keywords: Cc:

Description

when I open my profile with http://www.openstreetmap.org/user/EM311 I got the following error message:

Application error

The OpenStreetMap server encountered an unexpected condition that prevented it from fulfilling the request (HTTP 500)

Feel free to contact the OpenStreetMap community if your problem persists. Make a note of the exact URL / post data of your request.

This may be a problem in our Ruby On Rails code. 500 occurs with exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code)

Login into forums is also impossible.

Last try was 22 Nov 2009 14:18 CET

Change History (6)

comment:1 Changed 10 years ago by Tom Hughes

Log shows the following exception:

ActionView::TemplateError? (Numerical argument out of domain - asin) on line #132 of app/views/user/view.html.erb

with traceback:

lib/osm.rb:330:in `asin' lib/osm.rb:330:in `bounds' app/models/user.rb:106:in `nearby' app/views/user/view.html.erb:132 public/dispatch.fcgi:28:in `process_request' public/dispatch.fcgi:49

comment:2 Changed 10 years ago by Tom Hughes

Component: adminwebsite

comment:3 Changed 10 years ago by Tom Hughes

Bah, let's try that again.... Traceback is:

    lib/osm.rb:330:in `asin'
    lib/osm.rb:330:in `bounds'
    app/models/user.rb:106:in `nearby'
    app/views/user/view.html.erb:132
    public/dispatch.fcgi:28:in `process_request'
    public/dispatch.fcgi:49

comment:4 Changed 10 years ago by tomhughes

Resolution: fixed
Status: newclosed

(In [18736]) Catch domain exceptions as we approach the poles and handle them by setting the longitude bounds to select a stripe right around the world which is what they are tending to as we approach the poles.

Closes #2488.

comment:5 Changed 10 years ago by Tom Hughes

This fix has now been deployed - the underlying cause, and the reason it only affected you, was the fact that you had set your home location to the north pole.

comment:6 Changed 10 years ago by EM311

Thanks, has bee fixed!

Note: See TracTickets for help on using tickets.