[OSM-talk] bulk_upload.py consistently results in 500 server error
Mike N
niceman at att.net
Thu Jun 16 21:34:07 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
More information about the talk
mailing list