This is an issue with the dev API server and not the upload script. The exact cause probably won't be tracked down as it's just one of those things that happens from time to time. Usually restarting the script (continuing from the point it stopped at) will work.
We aware that on the live server, such a delay between uploading nodes and ways may result in the nodes being deleted by people unaware that an import is taking place. It has occured in the past with (german iirc) imports and can be a big problem in general. More recent versions of bulk_upload.py will upload small diffsets (1000) into a larger changeset (50,000), this should keep the stability without cluttering the server as much. 2009/8/2 Jaak Laineste (Nutiteq) <[email protected]>: > I am testing corine imports with api dev server, with quite small > changesets (1000). I've tried with larger ones (10.000 and 50.000) and > with smaller it tends to be more stable. But also with this I have > reached to point that server does not respond. It has happened also > with my own test server, so I assume that it has something to do with > my import. The import is eventually canceled somewhere in the middle > of "nodes" (there is 1.1M nodes in total) and so far has not reached > to the ways. > > tcpdump of latest attempt (today 11:08): > > PUT /api/0.6/changeset/create HTTP/1.1 > Host: api06.dev.openstreetmap.org > Accept-Encoding: identity > Content-Length: 137 > user-agent: bulk_upload.py > > <osm version="0.6"><changeset><tag k="comment" v="EE corine0108 > continue 3" /><tag k="created_by" v="bulk_upload.py" > /></changeset></osm> > > HTTP/1.1 500 Internal Server Error > Date: Sun, 02 Aug 2009 12:23:17 GMT > Server: Apache/2.2.3 (Debian) Phusion_Passenger/2.1.3 > mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch15 mod_ruby/1.2.6 > Ruby/1.8.5(2006-08-25) mod_wsgi/2.3 > Content-Length: 68 > Connection: close > Content-Type: text/html; charset=iso-8859-1 > > <h2>Application error</h2>Rails application failed to start properly > -- Regards, Thomas Wood (Edgemaster) _______________________________________________ Imports mailing list [email protected] http://lists.openstreetmap.org/listinfo/imports
