Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Error 500; TypeError: wrong argument type nil uploading changeset #2121

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: MikeN
[Submitted to the original trac issue database at 3.44pm, Saturday, 1st August 2009]

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)

This error occurred at 31 July 2009 01:45:52 GMT. It is hoped that the details of the traceback error from the logs can be analyzed to determine the cause. The upload account for this data was 'MikeNBulk'. As a double check, there was a second attempt today at approximately 01 Aug 2009 18:05:00 GMT which also failed.

The first 13,000 nodes from the file went into changeset 1989960. The failed session was captured in a network trace and inspected for correct syntax.

As a test, the rest of the file has been uploaded to api06.dev.openstreetmap.org , but no errors were generated.

For reference if necessary, a zip file has been attached with the following data:

waterbody.1.osm - the source data for upload
waterbody.1.osm.db - the nodes from the upload which have already been uploaded successfully and assigned.
OSM_TransactionChangesetPost_Wireshark.xml - the XML of the changeset that consistently produces the error, as extracted from the full Wireshark capture.
Uploadcapture_Wireshark.cap - the complete Wirehsark capture of the failed upload session.
bulk_upload.py - the version of bulk_upload used

@openstreetmap-trac
Copy link
Author

Author: MikeN
[Added to the original trac issue at 6.20pm, Saturday, 1st August 2009]

Update - the full data file is too large for an attachment, but is available at http://home.att.net/~niceman/uploadProblem.zip

@openstreetmap-trac
Copy link
Author

Author: Edgemaster
[Added to the original trac issue at 9.48pm, Saturday, 1st August 2009]

Just for the record, I tried to debug this issue on the mailing lists, couldn't reproduce the error on the dev server. Couldn't see anything untoward in the capture of the uploaded osc file.

@openstreetmap-trac
Copy link
Author

Author: MikeN
[Added to the original trac issue at 6.48pm, Saturday, 8th August 2009]

I am also willing to start the troubleshooting from the code to try to isolate this if I can get the traceback error from the server.

@openstreetmap-trac
Copy link
Author

Author: MikeN
[Added to the original trac issue at 11.48pm, Friday, 14th August 2009]

I have discovered a workaround - I was able to reduce the diff set size from 1000 to 500, and that change allowed the rest of the data to upload.

I'm still willing to look at the code because there's probably still some border condition hiding inside, but I have a workaround to allow uploading to continue.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 8.36pm, Wednesday, 24th August 2011]

I'm going to close this as it seems nobody looked at the server logs at the time and they will be long gone now so there is no way to debug this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant