<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
As far as I know the API (and I only know it from wiki-doc) it could
only be a problem if you are trying to upload a way, whose nodes are
not uploaded at that moment. So this should not happen in parallel.<br>
<br>
Am 04.05.2010 13:36, schrieb IgnacioZ:
<blockquote
 cite="mid:o2r631baa8f1005040436oadda79c6y66fc1d3cacc5f976@mail.gmail.com"
 type="cite">
  <meta charset="utf-8">
They were done in a for loop and before I start the next request, I
receive the answer, though by looking at my code it could happen that
two requests are done in parallel, after receiving the Id of the
previous one, I continue and the previous connection may not have been
finalized (they are different instances).
  <div><br>
  </div>
  <div>Do you think that could be the reason ?<br>
  <div><br>
  </div>
  <div><br>
  <br>
  <div class="gmail_quote">On Tue, May 4, 2010 at 8:29 AM, Tom Hughes <span
 dir="ltr"><<a moz-do-not-send="true" href="mailto:tom@compton.nu">tom@compton.nu</a>></span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div class="im">On 04/05/10 12:16, IgnacioZ wrote:<br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 >How do you plan to do that before you know what the bug is?<br>
      <br>
By looking at the code...<br>
    </blockquote>
    <br>
    </div>
Good luck with that...
    <div class="im"><br>
    <br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 >If you do what I asked and file a ticket in trac with the
information<br>
I requested, or even provide that information here, then I might<br>
actually be able to tell you what the problem is.<br>
      <br>
I will provide it here:<br>
      <br>
URL:<br>
      <a moz-do-not-send="true"
 href="http://api.openstreetmap.org//api/0.6/node/create"
 target="_blank">http://api.openstreetmap.org//api/0.6/node/create</a><br>
      <br>
HTTP Method: POST<br>
      <br>
XML:<br>
<osm><node changeset="4588121" lat="-31.428261"
lon="-64.186582"><tag<br>
k="name" v="Beto's"/><tag k="amenity"
v="fast_food"/></node></osm><br>
      <br>
If you take a look at that changeset you will see that there are other<br>
elements that where added correctly.<br>
    </blockquote>
    <br>
    </div>
Am I right in suspecting that you were uploading multiple objects in
parallel by sending different requests on different connections?<br>
    <br>
Tom<br>
    <font color="#888888"><br>
-- <br>
Tom Hughes (<a moz-do-not-send="true" href="mailto:tom@compton.nu"
 target="_blank">tom@compton.nu</a>)<br>
    <a moz-do-not-send="true" href="http://compton.nu/" target="_blank">http://compton.nu/</a><br>
    </font></blockquote>
  </div>
  <br>
  </div>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a>
  </pre>
</blockquote>
<br>
</body>
</html>