Modify

Opened 4 years ago

Closed 4 years ago

#2690 closed defect (fixed)

Kein Upload Ver 1607/1632 | Uploading fails stating "Cannot read numeric value from response"

Reported by: anonymous Owned by: team
Priority: minor Component: Core
Version: tested Keywords: upload
Cc: a.s.maier@…

Description

Der Upload schlägt fehl mit der Meldung:"kann keinen numerischen Wert aus der Antwort lesen"
Fehler tritt beim Öffnen des Änderungssatzes auf.

Attachments (1)

screen.jpg (237.8 KB) - added by oliver@… 4 years ago.
screenshot

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by oliver@…

screenshot

comment:1 Changed 4 years ago by augustus.kling@…

  • Summary changed from Kein Upload Ver 1607 to Kein Upload Ver 1607/1632 | Uploading fails stating "Cannot read numeric value from response"

Dies trifft auch auf die Version 1632 zu.

This also applies to version 1632. It fails stating "Cannot read numeric value from response" before asking for a users password. Output in the operating system's console is (with my plugins):
loading plastic_laf
loading measurement
loading validator
loading wmsplugin
Open file: [path to local file] (2067414 bytes)
GET http://www.openstreetmap.org/api/capabilities... OK
Communications with http://www.openstreetmap.org/api established using protocol version 0.6
PUT http://www.openstreetmap.org/api/0.6/changeset/create... OK

Although I tried to upload data from an existing file, I can confirm that the error also appears after only downloading and manipulating data.

comment:2 Changed 4 years ago by augustus.kling@…

I'm still wondering why the console output tells me that the changeset/create request finished with status OK although I wasn't asked for my credentials yet. The server denies requests by telling "Couldn't authenticate you".

comment:3 Changed 4 years ago by indigoboy

  • Cc a.s.maier@… added

I can confirm this bug. No upload possible for me at the moment.

comment:4 Changed 4 years ago by anonymous

  • Priority changed from blocker to minor

I checked this again and it worked for me now. I did use the same JOSM version as when I experienced the bug as mentioned above.
The changed behavior of the OSM API was the source of the issue. Now, it is requesting a user's name and password again which seems to make JOSM show the password dialog. As a result uploads are working again without problems.

Although this is working again I think this ticket is still valid as JOSM's message is not understandable for users that aren't familiar with the OSM API. Due to this reason the message should be changed.
Additionally the console output "http://www.openstreetmap.org/api/0.6/changeset/create... OK" should be changed since the server's response was not okay. What about printing out the server's response body into the console and maybe an error message box if the response failed?

Essential translation for German users:
Das Hochladen von Änderungen funktioniert nun wieder (auch mit den selben Versionen von JOSM). Ursache des zeitweiligen Problems war ein geändertes Verhalten auf Seite des OSM-Servers.

comment:5 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

An better josm message requires an common problem, so messages can be adapted. Closing this. New bugs may be opened for more generic message problems.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.