Guest User

Untitled

a guest
Mar 11th, 2012
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. ubuntu@ubuntu:~/Desktop$ python bulk_upload_sax.py -i "CR final UTF-8 NPP 2.osm" -u *** -p *** -c "Import EEA:CDDA2009:CZE National Nature Monument (NPP)"
  2. Opened changeset:10936374
  3. Uploading to changeset: 10936374 (uploading 500 thingies with 500/5000 possible thingies in this changeset so far)
  4. Uploading to changeset: 10936374 (uploading 500 thingies with 1000/5000 possible thingies in this changeset so far)
  5. Uploading to changeset: 10936374 (uploading 500 thingies with 1500/5000 possible thingies in this changeset so far)
  6. Uploading to changeset: 10936374 (uploading 500 thingies with 2000/5000 possible thingies in this changeset so far)
  7. Uploading to changeset: 10936374 (uploading 500 thingies with 2500/5000 possible thingies in this changeset so far)
  8. Uploading to changeset: 10936374 (uploading 500 thingies with 3000/5000 possible thingies in this changeset so far)
  9. Uploading to changeset: 10936374 (uploading 500 thingies with 3500/5000 possible thingies in this changeset so far)
  10. Uploading to changeset: 10936374 (uploading 500 thingies with 4000/5000 possible thingies in this changeset so far)
  11. Uploading to changeset: 10936374 (uploading 500 thingies with 4500/5000 possible thingies in this changeset so far)
  12. Uploading to changeset: 10936374 (uploading 500 thingies with 5000/5000 possible thingies in this changeset so far)
  13. Closing changeset:10936374
  14. Opened changeset:10936789
  15. Uploading to changeset: 10936789 (uploading 500 thingies with 500/5000 possible thingies in this changeset so far)
  16. Uploading to changeset: 10936789 (uploading 500 thingies with 1000/5000 possible thingies in this changeset so far)
  17. Uploading to changeset: 10936789 (uploading 500 thingies with 1500/5000 possible thingies in this changeset so far)
  18. Uploading to changeset: 10936789 (uploading 500 thingies with 2000/5000 possible thingies in this changeset so far)
  19. Uploading to changeset: 10936789 (uploading 500 thingies with 2500/5000 possible thingies in this changeset so far)
  20. Uploading to changeset: 10936789 (uploading 500 thingies with 3000/5000 possible thingies in this changeset so far)
  21. Uploading to changeset: 10936789 (uploading 500 thingies with 3500/5000 possible thingies in this changeset so far)
  22. Uploading to changeset: 10936789 (uploading 500 thingies with 4000/5000 possible thingies in this changeset so far)
  23. Uploading to changeset: 10936789 (uploading 500 thingies with 4500/5000 possible thingies in this changeset so far)
  24. ^CTraceback (most recent call last):
  25. File "bulk_upload_sax.py", line 314, in <module>
  26. xmlParser.parse(feedFile)
  27. File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
  28. xmlreader.IncrementalParser.parse(self, source)
  29. File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
  30. self.feed(buffer)
  31. File "/usr/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
  32. self._parser.Parse(data, isFinal)
  33. File "/usr/lib/python2.7/xml/sax/expatreader.py", line 304, in end_element
  34. self._cont_handler.endElement(name)
  35. File "bulk_upload_sax.py", line 266, in endElement
  36. self.importer.upload()
  37. File "bulk_upload_sax.py", line 163, in upload
  38. 'POST', ET.tostring(xml),headers=headers)
  39. File "bulk_upload_sax.py", line 79, in doHttpRequest
  40. resp,content=self.httpCon.request(url, method, data, headers=headers)
  41. File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1436, in request
  42. (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  43. File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1188, in _request
  44. (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  45. File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1158, in _conn_request
  46. response = conn.getresponse()
  47. File "/usr/lib/python2.7/httplib.py", line 1027, in getresponse
  48. response.begin()
  49. File "/usr/lib/python2.7/httplib.py", line 407, in begin
  50. version, status, reason = self._read_status()
  51. File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
  52. line = self.fp.readline()
  53. File "/usr/lib/python2.7/socket.py", line 430, in readline
  54. data = recv(1)
  55. KeyboardInterrupt
Advertisement
Add Comment
Please, Sign In to add comment