Modify

Opened 15 years ago

Closed 15 years ago

#3286 closed defect (fixed)

JOSM refuses to upload with ResponseCode=500

Reported by: jz-2009@… Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:

Description

Hi.

A rather normal upload fails. The uploaded data can be provided on request.


jo@vostro:~$ java -jar /usr/local/josm/josm-tested.jar
Open file: /home/jo/Desktop/openstreetmap/koenigsdorf-nord.osm (348684 bytes)
GET http://www.openstreetmap.org/api/capabilities... OK
Kommunikation mit http://www.openstreetmap.org/api mittels Protokollversion 0.6 etabliert.
PUT http://www.openstreetmap.org/api/0.6/changeset/create... OK
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
Error header: NameError: uninitialized constant Changeset::SCALE
PUT http://www.openstreetmap.org/api/0.6/changeset/2162503/close... OK
org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Header=<NameError: uninitialized constant Changeset::SCALE>

at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:447)
at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:330)
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:105)
at org.openstreetmap.josm.actions.UploadAction$1UploadDiffTask.realRun(UploadAction.java:215)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:144)
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)

Attachments (0)

Change History (2)

comment:1 by jz-2009@…, 15 years ago

The upload succeeded after enlarging the are by downloading an additional piece. I did however not have any changes outside the downloaded area.

comment:2 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

Was an API error.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.