Opened 15 years ago
Closed 15 years ago
#2429 closed defect (fixed)
Unable to upload/download 0.6 data after cancelling upload
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: | Gubaer |
Description
Running [1545] I did the following:
- Downloaded an area
- Traced a building (added a few nodes & a way)
I then pressed "Upload" and specified a commit message.
Since the server was slow at that time the upload dialog just hung there, eventually I pressed cancel on it which didn't close the dialog, after which I closed the dialog (by pressing X in my Window Manager).
This leaves JOSM in a state where I can neither upload or download data.
If I select a download area on the slippy map and press "OK" the download dialog closes immediately and nothing happens.
If I press upload I get the "Upload changes?" dialog which shows all the nodes / way I initially tried to upload, but when I press "Upload changes" the dialog closes immediately and nothing happens, and tcpflow -i eth0 -c port 80 that the OSM server isn't contacted.
So, at this point I saved the incomplete .osm file (attached) and opened it in JOSM again.
Once JOSM had been restarted it pressing "Upload" initially worked as expected, i.e. it displayed the changes AND asked me for a commit message, I then uploaded all these changes:
172.016.005.015.35923-128.040.058.203.00080: POST /api/0.6/changeset/879225/upload HTTP/1.1 Authorization: Basic XXXXXXXXXXXXXXX User-Agent: JOSM/1.5 (1545 SVN en) Java/1.6.0_13 Host: www.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-type: application/x-www-form-urlencoded Content-Length: 1836 <osmChange version="0.6" generator="JOSM"> <create version="0.6" generator="JOSM"> <node id='-1' action='modify' visible='true' changeset='879225' lat='64.16504243242191' lon='-22.022018770479963' /> <node id='-2' action='modify' visible='true' changeset='879225' lat='64.16497837930153' lon='-22.022019731164363' /> <node id='-3' action='modify' visible='true' changeset='879225' lat='64.16501522033002' lon='-22.02190444903572' /> <node id='-4' action='modify' visible='true' changeset='879225' lat='64.1649852991611' lon='-22.02192743326594' /> <node id='-5' action='modify' visible='true' changeset='879225' lat='64.1649749402301' lon='-22.02198482139045' /> <node id='-6' action='modify' visible='true' changeset='879225' lat='64.1649852991611' lon='-22.022042209514964' /> <node id='-7' action='modify' visible='true' changeset='879225' lat='64.16501030781689' lon='-22.022065980454453' /> <node id='-8' action='modify' visible='true' changeset='879225' lat='64.16503531645012' lon='-22.02204220951496 172.016.005.015.35923-128.040.058.203.00080: 4' /> <node id='-9' action='modify' visible='true' changeset='879225' lat='64.1650456753586' lon='-22.02198482139045' /> <node id='-10' action='modify' visible='true' changeset='879225' lat='64.16503531645012' lon='-22.02192743326594' /> <node id='-11' action='modify' visible='true' changeset='879225' lat='64.16501030781689' lon='-22.021903662326444' /> <way id='-12' action='modify' visible='true' changeset='879225'> <nd ref='-4' /> <nd ref='-5' /> <nd ref='-2' /> <nd ref='-6' /> <nd ref='-7' /> <nd ref='-8' /> <nd ref='-1' /> <nd ref='-9' /> <nd ref='-10' /> <nd ref='-3' /> <nd ref='-11' /> <nd ref='-4' /> <tag k='building' v='yes' /> <tag k='name' v='Gr..ttuviti' /> <tag k='man_made' v='lighthouse' /> </way> </create> </osmChange>
While JOSM is waiting for a 200 OK I try to press Cancel on the upload dialog again, but the Cancel button is unresponsive, it can be pressed but it's like it doesn't have an assigned close handler. Pressing it doesn't do anything.
So I close it again (using X), but JOSM doesn't care and will proceed to close the changeset anyway after getting an OK from the server:
128.040.058.203.00080-172.016.005.015.35923: HTTP/1.1 200 OK Server: nginx/0.6.34 Date: Tue, 21 Apr 2009 12:42:34 GMT Content-Type: text/xml; charset=utf-8 Connection: keep-alive X-Runtime: 0.42271 ETag: "7ed7c02ffc6b6f6e5905101cc15ad17b" Cache-Control: private, max-age=0, must-revalidate Content-Length: 798 <?xml version="1.0" encoding="UTF-8"?> <diffResult version="0.6" generator="OpenStreetMap server"> <node old_id="-1" new_id="379025368" new_version="1"/> <node old_id="-2" new_id="379025369" new_version="1"/> <node old_id="-3" new_id="379025370" new_version="1"/> <node old_id="-4" new_id="379025371" new_version="1"/> <node old_id="-5" new_id="379025372" new_version="1"/> <node old_id="-6" new_id="379025373" new_version="1"/> <node old_id="-7" new_id="379025374" new_version="1"/> <node old_id="-8" new_id="379025375" new_version="1"/> <node old_id="-9" new_id="379025377" new_version="1"/> <node old_id="-10" new_id="379025378" new_version="1"/> <node old_id="-11" new_id="379025379" new_version="1"/> <way old_id="-12" new_id="33327256" new_version="1"/> </diffResult> 172.016.005.015.35924-128.040.058.203.00080: PUT /api/0.6/changeset/879225/close HTTP/1.1 Authorization: Basic XXXXX User-Agent: JOSM/1.5 (1545 SVN en) Java/1.6.0_13 Host: www.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 0
But after the changeset has been closed and the data has appeared on the server JOSM displays the "Uploading.." dialog (which I manually killed earlier) again. Seemingly waiting for nothing.
Attachments (3)
Change History (15)
by , 15 years ago
Attachment: | unuploadeded.osm.bz2 added |
---|
comment:1 by , 15 years ago
Replying to avar:
But after the changeset has been closed and the data has appeared on the server JOSM displays the "Uploading.." dialog (which I manually killed earlier) again. Seemingly waiting for nothing.
...And after dismissing that dialog and trying to close the program I get a message saying I have unsaved changes. But saving the current data (again, attached) results in an OSM file with no modified="" attributes.
I then press "Upload" and "No changes to upload", after which JOSM will close without any notice of unsaved changes.
by , 15 years ago
Attachment: | unuploadeded-2.osm.bz2 added |
---|
The edited .osm file after upload (that JOSM still thinks has unsaved data)
comment:2 by , 15 years ago
I also have a similar problem. Cannot remember if an upload/download have been canceled, or aborted due to problems with the connection (probably both). Now I cannot upload or download any data. Have both restarted JOSM and the computer, but nothing seems to help. When uploading I get a message "Upload aborted due to error (will wait for 5 seconds): Not initialized." Downloads just fails on connection time out. JOSM Version 1541, Windows, Java 1.6.0_11, no plugins
Skippern
comment:3 by , 15 years ago
Cc: | added |
---|---|
Summary: | Unable to upload/download 0.6 data after cancelling upload → [Patch] Unable to upload/download 0.6 data after cancelling upload |
I've introduced uploading as asynchronous task. The patch reuses PleaseWaitRunnable already in use for downloading data. See attached patch.
follow-up: 5 comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied in r1581.
One note - ALL user visible texts must be translated except they purely go into debugging (System.out). This also includes exceptions.
comment:5 by , 15 years ago
Replying to stoecker:
Applied in r1581.
One note - ALL user visible texts must be translated except they purely go into debugging (System.out). This also includes exceptions.
In r1581 you've mainly fixed translations which were already missing in the code base and which have not been introduced by the patch. I'm wondering where these and those rules come from. Any coding guidelines available one could read and which JOSM authors adhere to?
comment:6 by , 15 years ago
Yes I know they have not been yours, but nevertheless a good patch fixes these as well :-)
Well general coding guideline is to do it like it is done in other files. If I'm not happy with certain things I will tell when checking in.
follow-up: 8 comment:7 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
reopening this bug, it's still present in today's trunk.
Uploding was taking too long (probably network issues) and hanging on "Uploading data". So I clicked "Cancel". Then JOSM sent this to the server:
192.168.002.108.53075-128.040.168.098.00080: PUT /api/0.6/changeset/0/close HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 0
It then hung there with "Closing changeset" open (it wasn't getting a reply) so I closed that window.
I then tried to upload the data but the upload button didn't do anything, so I want to this tracker to file a bug.
Then a few minutes later a upload dialog suddenly pops up and promptly uploads my edit, this appears to have been due to the API server finally responding with a 500 error:
128.040.168.098.00080-192.168.002.108.53075: HTTP/1.1 500 Internal Server Error Content-Type: text/html Content-Length: 369 Date: Fri, 24 Jul 2009 14:39:59 GMT Server: lighttpd/1.4.22 <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 - Internal Server Error</title> </head> <body> <h1>500 - Internal Server Error</h1> </body> </html> 192.168.002.108.53082-128.040.168.098.00080: PUT /api/0.6/changeset/0/close HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 0 192.168.002.108.53083-128.040.168.098.00080: PUT /api/0.6/changeset/create HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 265 192.168.002.108.53083-128.040.168.098.00080: <?xml version='1.0' encoding='UTF-8'?> <osm version='0.6' generator='JOSM'> <changeset visible='true'> <tag k='created_by' v='JOSM/1.5 (1826 SVN is)' /> <tag k='comment' v='Making ways more accurated based on GPX data in the DB' /> </changeset> </osm> 128.040.168.098.00080-192.168.002.108.53083: HTTP/1.1 200 OK ETag: "f1bc0c1675c6ce98194fa3a0e5233d4f" X-Runtime: 92 Cache-Control: private, max-age=0, must-revalidate Content-Type: text/plain; charset=utf-8 Content-Length: 7 Date: Fri, 24 Jul 2009 14:40:10 GMT Server: lighttpd/1.4.22 1925547 192.168.002.108.53084-128.040.168.098.00080: POST /api/0.6/changeset/1925547/upload HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 8407 192.168.002.108.53084-128.040.168.098.00080: <osmChange version="0.6" generator="JOSM"> <create version="0.6" generator="JOSM"> [ BORING OUTPUT CUT OUT] </osmChange> 128.040.168.098.00080-192.168.002.108.53084: HTTP/1.1 200 OK ETag: "376b01f7e2773879833700d2692fbd92" X-Runtime: 1799 Cache-Control: private, max-age=0, must-revalidate Content-Type: text/xml; charset=utf-8 Content-Length: 2473 Date: Fri, 24 Jul 2009 14:40:12 GMT Server: lighttpd/1.4.22 192.168.002.108.53085-128.040.168.098.00080: PUT /api/0.6/changeset/1925547/close HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 0
...however after the upload dialog that uploaded my edit appears another upload dialog appears after it. I speculate that one dialog was a result of my later "Upload" action and the former was left over from my previous upload which was waiting for a reply (and eventually got the 500 error).
The second dialog hangs for a bit with the progressbar around 95% completion (approx) and then I get this backtrace from JOSM:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.openstreetmap.josm.gui.PleaseWaitRunnable$2.run(PleaseWaitRunnable.java:98) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:997) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:67) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:116) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.util.NoSuchElementException: no primitive with id 307.764.242 in local dataset. Cant infer primitive type at org.openstreetmap.josm.io.MultiFetchServerObjectReader.remember(MultiFetchServerObjectReader.java:116) at org.openstreetmap.josm.io.MultiFetchServerObjectReader.append(MultiFetchServerObjectReader.java:135) at org.openstreetmap.josm.actions.UpdateSelectionAction.handlePrimitiveGoneException(UpdateSelectionAction.java:44) at org.openstreetmap.josm.actions.UploadAction.handleGoneForKnownPrimitive(UploadAction.java:460) at org.openstreetmap.josm.actions.UploadAction.handleGone(UploadAction.java:501) at org.openstreetmap.josm.actions.UploadAction.handleFailedUpload(UploadAction.java:541) at org.openstreetmap.josm.actions.UploadAction$1UploadDiffTask.finish(UploadAction.java:241) at org.openstreetmap.josm.gui.PleaseWaitRunnable$1.run(PleaseWaitRunnable.java:69) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178) at java.awt.Dialog$1.run(Dialog.java:1045) at java.awt.Dialog$3.run(Dialog.java:1097) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1095) at java.awt.Component.show(Component.java:1563) at java.awt.Component.setVisible(Component.java:1515) at java.awt.Window.setVisible(Window.java:841) at java.awt.Dialog.setVisible(Dialog.java:985) at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:90) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
comment:8 by , 15 years ago
Replying to avar:
Then a few minutes later a upload dialog suddenly pops up and promptly uploads my edit, this appears to have been due to the API server finally responding with a 500 error:
That network sniffer output was incomplete, here's the complete one:
128.040.168.098.00080-192.168.002.108.53075: HTTP/1.1 500 Internal Server Error Content-Type: text/html Content-Length: 369 Date: Fri, 24 Jul 2009 14:39:59 GMT Server: lighttpd/1.4.22 <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 - Internal Server Error</title> </head> <body> <h1>500 - Internal Server Error</h1> </body> </html> 192.168.002.108.53082-128.040.168.098.00080: PUT /api/0.6/changeset/0/close HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 0 192.168.002.108.53083-128.040.168.098.00080: PUT /api/0.6/changeset/create HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 265 192.168.002.108.53083-128.040.168.098.00080: <?xml version='1.0' encoding='UTF-8'?> <osm version='0.6' generator='JOSM'> <changeset visible='true'> <tag k='created_by' v='JOSM/1.5 (1826 SVN is)' /> <tag k='comment' v='Making ways more accurated based on GPX data in the DB' /> </changeset> </osm> 128.040.168.098.00080-192.168.002.108.53083: HTTP/1.1 200 OK ETag: "f1bc0c1675c6ce98194fa3a0e5233d4f" X-Runtime: 92 Cache-Control: private, max-age=0, must-revalidate Content-Type: text/plain; charset=utf-8 Content-Length: 7 Date: Fri, 24 Jul 2009 14:40:10 GMT Server: lighttpd/1.4.22 1925547 192.168.002.108.53084-128.040.168.098.00080: POST /api/0.6/changeset/1925547/upload HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 8407 192.168.002.108.53084-128.040.168.098.00080: <osmChange version="0.6" generator="JOSM"> <create version="0.6" generator="JOSM"> [ BORING OUTPUT CUT OUT] </osmChange> 128.040.168.098.00080-192.168.002.108.53084: HTTP/1.1 200 OK ETag: "376b01f7e2773879833700d2692fbd92" X-Runtime: 1799 Cache-Control: private, max-age=0, must-revalidate Content-Type: text/xml; charset=utf-8 Content-Length: 2473 Date: Fri, 24 Jul 2009 14:40:12 GMT Server: lighttpd/1.4.22 <?xml version="1.0" encoding="UTF-8"?> <diffResult version="0.6" generator="OpenStreetMap server"> <node old_id="-1" new_id="446972941" new_version="1"/> <node old_id="-2" new_id="446972945" new_version="1"/> <node old_id="-3" new_id="446972948" new_version="1"/> <node old_id="-4" new_id="446972950" new_version="1"/> <node old_id="-5" new_id="446972952" new_version="1"/> <node old_id="-6" new_id="446972954" new_version="1"/> <node old_id="-7" new_id="446972956" new_version="1"/> <node old_id="-8" new_id="446972959" new_version="1"/> <node old_id="-9" new_id="446972963" new_version="1"/> <node old_id="-10" new_id="446972966" new_version="1"/> <node old_id="-11" new_id="446972969" new_version="1"/> <node old_id="-12" new_id="446972971" new_version="1"/> <node old_id="-13" new_id="446972974" new_version="1"/> <node old_id="-14" new_id="446972976" new_version="1"/> <node old_id="-15" new_id="446972978" new_version="1"/> <node old_id="-16" new_id="446972980" new_version="1"/> <node old_id="-17" new_id="446972982" new_version="1"/> <node old_id="-18" new_id="446972985" 128.040.168.098.00080-192.168.002.108.53084: new_version="1"/> <node old_id="-19" new_id="446972987" new_version="1"/> <node old_id="-20" new_id="446972989" new_version="1"/> <node old_id="-21" new_id="446972991" new_version="1"/> <node old_id="-22" new_id="446972993" new_version="1"/> <node old_id="-23" new_id="446972995" new_version="1"/> <node old_id="-24" new_id="446972997" new_version="1"/> <node old_id="-25" new_id="446972999" new_version="1"/> <node old_id="307762576" new_id="307762576" new_version="4"/> <node old_id="307762573" new_id="307762573" new_version="4"/> <node old_id="307762570" new_id="307762570" new_version="4"/> <node old_id="307762596" new_id="307762596" new_version="7"/> <node old_id="307764243" new_id="307764243" new_version="4"/> <node old_id="307764240" new_id="307764240" new_version="4"/> <node old_id="307764241" new_id="307764241" new_version="4"/> <node old_id="307764239" new_id="307764239" new_version="4"/> <node old_id="307763567" new_id="307763567" new_version="4"/> <node old_id="307763569" new_id="307763569" new_version="3"/> <node old_id="307763574" new_id="307763574" new_version="3"/> <node old_id="307763572" new_id="307763572" new_version="3"/> <way old_id="28028683" new_id="28028683" new_version="5"/> <way old_id="28028857" new_id="28028857" new_version="5"/> <node old_id="307764242"/> </diffResult> 192.168.002.108.53085-128.040.168.098.00080: PUT /api/0.6/changeset/1925547/close HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 0 128.040.168.098.00080-192.168.002.108.53085: HTTP/1.1 200 OK X-Runtime: 49 Cache-Control: private, max-age=0, must-revalidate Content-Type: text/html; charset=utf-8 Content-Length: 1 Date: Fri, 24 Jul 2009 14:40:12 GMT Server: lighttpd/1.4.22 128.040.168.098.00080-192.168.002.108.53089: HTTP/1.1 500 Internal Server Error Content-Type: text/html Content-Length: 369 Date: Fri, 24 Jul 2009 14:44:05 GMT Server: lighttpd/1.4.22 <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 - Internal Server Error</title> </head> <body> <h1>500 - Internal Server Error</h1> </body> </html> 192.168.002.108.36525-128.040.168.098.00080: PUT /api/0.6/changeset/1925548/close HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 0 128.040.168.098.00080-192.168.002.108.36525: HTTP/1.1 200 OK X-Runtime: 34 Cache-Control: private, max-age=0, must-revalidate Content-Type: text/html; charset=utf-8 Content-Length: 1 Date: Fri, 24 Jul 2009 14:44:16 GMT Server: lighttpd/1.4.22 192.168.002.108.36526-128.040.168.098.00080: PUT /api/0.6/changeset/create HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 265 192.168.002.108.36526-128.040.168.098.00080: <?xml version='1.0' encoding='UTF-8'?> <osm version='0.6' generator='JOSM'> <changeset visible='true'> <tag k='created_by' v='JOSM/1.5 (1826 SVN is)' /> <tag k='comment' v='Making ways more accurated based on GPX data in the DB' /> </changeset> </osm> 128.040.168.098.00080-192.168.002.108.36526: HTTP/1.1 200 OK ETag: "17814a615a1b14f02cabb04139f59143" X-Runtime: 32 Cache-Control: private, max-age=0, must-revalidate Content-Type: text/plain; charset=utf-8 Content-Length: 7 Date: Fri, 24 Jul 2009 14:44:16 GMT Server: lighttpd/1.4.22 1925591 192.168.002.108.36527-128.040.168.098.00080: POST /api/0.6/changeset/1925591/upload HTTP/1.1 Authorization: Basic SEEKRT Content-type: text/xml User-Agent: JOSM/1.5 (1826 SVN is) Java/1.6.0_14 Host: api.openstreetmap.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 8051 192.168.002.108.36527-128.040.168.098.00080: <osmChange version="0.6" generator="JOSM"> <modify version="0.6" generator="JOSM">
Unfortunately I accidentally turned off my sniffer at that point, but the result is that JOSM uploaded a duplicate & incomplete changeset that it doesn't seem to have closed:
comment:9 by , 15 years ago
...and after all this JOSM thinks I have unsaved changes even though clicking upload yields nothing and searching for "modified" yields no results.
comment:10 by , 15 years ago
Summary: | [Patch] Unable to upload/download 0.6 data after cancelling upload → Unable to upload/download 0.6 data after cancelling upload |
---|
comment:12 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | needinfo → closed |
The edited .osm file I tried to upload