Getting 500 error from API in specific place #910
Comments
Author: tom[at]compton.nu It appears to be trying to output a bogus relation: NoMethodError (undefined method |
Author: ehabkost[at]raisama.net I just got a http error 500 on a different region of the map: I don't know if it is exactly the same bug because I don't see the ruby backtrace. :) I bet it is the same problem, because the last edition I have made in this area involved relations. It happened just after I have added a node to a way and added the node to a type=route;route=bus relation using Potlatch. |
Author: ehabkost[at]raisama.net Is the root cause of this bug known? Currently I can't fetch map data for Curitiba on JOSM because of this bug. Exporting it as .osm on the Web interface doesn't work, either. This is blocking me from working on the map for Curitiba using anything except Potlatch. |
Author: ehabkost[at]raisama.net Just in case, I am documenting here how I fixed the relation data to avoid the problem for the region around Curitiba on the map: I have checked manually through API queries what was the ID of the relation that was recently changed when the bug appeared. Luckly I have found it (14680). Then I checked the relation history at: I have found three bogus nodes on the relation data (with refs 0, 20 and 40). I have updated the relation without the bogus nodes using curl, and now the problem doesn't hit me anymore. However, probably there are other broken relations on the database for other areas of the map. The server could either make impossible to create the broken relations, or handle the bogus references without crashing. |
Author: tom[at]compton.nu If this wasn't already fixed then the API 0.6 migration should have fixed it as we cleaned up all the nonsense in the database during the migration I think. |
Reporter: eleonenko[at]yandex.ru
[Submitted to the original trac issue database at 11.27pm, Friday, 16th May 2008]
Getting 500 Error from API using this url
http://api.openstreetmap.org/api/0.5/map?bbox=27.39887,53.88464,27.41698,53.89293
There are some test roads with restriction relations.
The text was updated successfully, but these errors were encountered: