[OSM-talk] bulk_upload.py consistently results in 500 server error
KKL Import
kkl_import at hotmail.com
Thu Jun 16 21:38:45 BST 2011
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20110616/da9a6bad/attachment.html>
More information about the talk
mailing list