[Imports] Bulk Upload import error

Thomas Wood grand.edgemaster at gmail.com
Fri Jul 31 11:18:25 BST 2009


Being the current maintainer (by default in some respects), I should
be the one to answer this. In short, I cannot tell you why it produced
that error from the extracts provided.
I would be interested in seeing the source file you tried uploading.

2009/7/31 Mike N. <niceman at att.net>:
> Using the bulk_upload.py  from
> http://svn.openstreetmap.org/applications/utils/import/bulk_upload_06/bulk_upload.py ,
> dated about 1 week ago, I get an upload error:
>
> Uploading to changeset:1990229
> Error uploading changeset:500
> TypeError: wrong argument type nil (expected String)
>
>
>   All other data uploaded successfully, but this section of this file,
> about 13,000 nodes in consistently gives an error.  I took a WireShark
> capture, and the data looks valid.      How would I go about tracking this
> down?
>
>
>  Thanks,
>
>
> --------------------- Capture fragments:
>
> PUT /api/0.6/changeset/create HTTP/1.1
> Host: api.openstreetmap.org
>
> <osm version="0.6">
>  <changeset>
>   <tag k="comment" v="Tyger SC SubBasin waterbody Upload 1 of 2" />
>   <tag k="created_by" v="bulk_upload.py" />
>  </changeset>
> </osm>
>
>
> POST /api/0.6/changeset/1990229/upload HTTP/1.1
>
> <osmChange><create>
> <node changeset="1990229" id="-13416" lat="34.8814460125"
> lon="-81.8393575834" />
> <node changeset="1990229" id="-13417" lat="34.8814570125"
> lon="-81.8392975834" />
> ...  (1000  nodes total)
> <node changeset="1990229" id="-14442" lat="34.7349440128"
> lon="-81.8177943834" />
> <node changeset="1990229" id="-14443" lat="34.7350054128"
> lon="-81.8176519168" />
> <node changeset="1990229" id="-14444" lat="34.7350504128"
> lon="-81.8174959168" />
> <node changeset="1990229" id="-14445" lat="34.7350594128"
> lon="-81.8173795168" />
> <node changeset="1990229" id="-14446" lat="34.7350458794"
> lon="-81.8173461168" />
> <node changeset="1990229" id="-14447" lat="34.7349968128"
> lon="-81.8172889834" />
> </create>
> <modify />
> <delete />
> </osmChange>
>
> ---------------- End capture fragments
>
>
> _______________________________________________
> Imports mailing list
> Imports at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/imports
>



-- 
Regards,
Thomas Wood
(Edgemaster)




More information about the Imports mailing list