[OSM-talk] bulk_upload.py consistently results in 500 server error
KKL Import
kkl_import at hotmail.com
Fri Jun 17 10:22:25 BST 2011
Can somebody please help? How come a perfectly legal osmChange, containing just a single way, is being rejected time and again?
I attach the HTTP traffic captured by wireshark.
Thank you,
dimka
From: kkl_import at hotmail.com
To: niceman at att.net; talk at openstreetmap.org
Date: Thu, 16 Jun 2011 20:38:45 +0000
Subject: Re: [OSM-talk] bulk_upload.py consistently results in 500 server error
> On 6/16/2011 2:29 PM, KKL Import wrote:
> > Up to some point everything was fine, all the nodes got uploaded, and
> > also half of the ways, but then it started to return the "500 Internal
> > Server Error"message.
>
> I have seen this behavior once. A possible solution is to change the
> fragment to work around the problem:
>
> From
> def getItemLimit(self):
> # This is an arbitrary self-imposed limit (that must be below
> the changeset limit)
> # so to limit upload times to sensible chunks.
> return 1000
>
> TO
>
> def getItemLimit(self):
> # This is an arbitrary self-imposed limit (that must be below
> the changeset limit)
> # so to limit upload times to sensible chunks.
> return 500
>
In fact, I've changed this to 10 and even 1 (!) - same behaviour.
_______________________________________________
talk mailing list
talk at openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20110617/720ad20a/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: traffic.txt
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20110617/720ad20a/attachment-0001.txt>
More information about the talk
mailing list