[OSM-dev] Problem uploading: "NoMethodError: undefined method `<' for nil:NilClass"

Jeffrey Ollie jeff at ocjtech.us
Tue Jan 5 05:08:24 GMT 2010


On Mon, Jan 4, 2010 at 3:48 AM, Peter Körner <osm-lists at mazdermind.de> wrote:
>> "NoMethodError: undefined method `<' for nil:NilClass".  I'm attaching
> This sounds as if JOSM's not sending any HTTP Request headers but
> directly the XML Content. A normal HTTP Request starts with
>   <Method> <Url> HTTP/<Version>
> eg.
>   GET /index.html HTTP/1.0

I don't think that JOSM is sending the HTTP request wrong, I watched
many of the attempts in wireshark and they looked fine on the HTTP
level.

> So if there's no Request-Header but only XML, the server would try to
> interpret <osmChange version=".." ..> as HTTP-Request and fail with "<"
> not beeing a valid method.
>
> But http://josm.openstreetmap.de/ticket/2820 suggests, that this was a
> temporary server issue, so..

Well, 2820 was last modified 5 months ago so either the problem is
back, or it's not a temporary problem.  In any case, I removed the
modification of the relation from osmchange file and the upload worked
perfectly.

-- 
Jeff Ollie




More information about the dev mailing list