<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Can somebody please help? How come a perfectly legal osmChange, containing just a single way, is being rejected time and again?<br><br>I attach the HTTP traffic captured by wireshark.<br><br>Thank you,<br>dimka<br><br><div><hr id="stopSpelling">From: kkl_import@hotmail.com<br>To: niceman@att.net; talk@openstreetmap.org<br>Date: Thu, 16 Jun 2011 20:38:45 +0000<br>Subject: Re: [OSM-talk] bulk_upload.py consistently results in 500 server error<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>

<div dir="ltr">
 <br><div>> On 6/16/2011 2:29 PM, KKL Import wrote:<br>> > Up to some point everything was fine, all the nodes got uploaded, and<br>> > also half of the ways, but then it started to return the "500 Internal<br>> > Server Error"message.<br>> <br>>   I have seen this behavior once.   A possible solution is to change the <br>> fragment to work around the problem:<br>> <br>> From<br>>      def getItemLimit(self):<br>>          # This is an arbitrary self-imposed limit (that must be below <br>> the changeset limit)<br>>          # so to limit upload times to sensible chunks.<br>>          return 1000<br>> <br>> TO<br>> <br>>      def getItemLimit(self):<br>>          # This is an arbitrary self-imposed limit (that must be below <br>> the changeset limit)<br>>          # so to limit upload times to sensible chunks.<br>>          return 500<br>> <br><br>In fact, I've changed this to 10 and even 1 (!) - same behaviour.<br></div>                                       </div>
<br>_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk</div>                                          </div></body>
</html>