Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)"
- Opened changeset:10936374
- Uploading to changeset: 10936374 (uploading 500 thingies with 500/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936374 (uploading 500 thingies with 1000/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936374 (uploading 500 thingies with 1500/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936374 (uploading 500 thingies with 2000/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936374 (uploading 500 thingies with 2500/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936374 (uploading 500 thingies with 3000/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936374 (uploading 500 thingies with 3500/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936374 (uploading 500 thingies with 4000/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936374 (uploading 500 thingies with 4500/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936374 (uploading 500 thingies with 5000/5000 possible thingies in this changeset so far)
- Closing changeset:10936374
- Opened changeset:10936789
- Uploading to changeset: 10936789 (uploading 500 thingies with 500/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936789 (uploading 500 thingies with 1000/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936789 (uploading 500 thingies with 1500/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936789 (uploading 500 thingies with 2000/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936789 (uploading 500 thingies with 2500/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936789 (uploading 500 thingies with 3000/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936789 (uploading 500 thingies with 3500/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936789 (uploading 500 thingies with 4000/5000 possible thingies in this changeset so far)
- Uploading to changeset: 10936789 (uploading 500 thingies with 4500/5000 possible thingies in this changeset so far)
- ^CTraceback (most recent call last):
- File "bulk_upload_sax.py", line 314, in <module>
- xmlParser.parse(feedFile)
- File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
- xmlreader.IncrementalParser.parse(self, source)
- File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
- self.feed(buffer)
- File "/usr/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
- self._parser.Parse(data, isFinal)
- File "/usr/lib/python2.7/xml/sax/expatreader.py", line 304, in end_element
- self._cont_handler.endElement(name)
- File "bulk_upload_sax.py", line 266, in endElement
- self.importer.upload()
- File "bulk_upload_sax.py", line 163, in upload
- 'POST', ET.tostring(xml),headers=headers)
- File "bulk_upload_sax.py", line 79, in doHttpRequest
- resp,content=self.httpCon.request(url, method, data, headers=headers)
- File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1436, in request
- (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
- File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1188, in _request
- (response, content) = self._conn_request(conn, request_uri, method, body, headers)
- File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1158, in _conn_request
- response = conn.getresponse()
- File "/usr/lib/python2.7/httplib.py", line 1027, in getresponse
- response.begin()
- File "/usr/lib/python2.7/httplib.py", line 407, in begin
- version, status, reason = self._read_status()
- File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
- line = self.fp.readline()
- File "/usr/lib/python2.7/socket.py", line 430, in readline
- data = recv(1)
- KeyboardInterrupt
Advertisement
Add Comment
Please, Sign In to add comment