<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'>
<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></body>
</html>