NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

-2
1

Since some days, everytime I want to submit a new changeset using JOSM, it fails at first try (JOSM sas that the changeset is closed, thning that there's already one open). I need to repeat the operation a second time and the submission succeeds.

But then JOSM reports an error when I try to close it, because JOSM sees another completely unrelated old changeset (which is closed since long). It seems that the server has not registered the correct number of changesets submitted by me in my user account, and then it reports detects another changeset randomly from my own list of changesets, for now it is this one: 16393274

There's nothing wrong with it, it was properly sent and closed. It seems that the problem is that my account is not counting correctly my submitted changesets (so sometimes I have submitted and closed a changeset successfully, but the server forgot to increment my account in the same transaction).

This is very irritating, because I now have to close all changesets explicitly, by selecting them in the CTRL+ALT+Q dialog in JOSM, to select the correct one (the only one which is currently active), and ignore the old one that is still appearing first in the list.

I tried to investigate this is JOSM, including reinstalling it, purging caches and preferences. This affects ALL changesets that I try to create now, whatever their number. Potlatch does not seem to be irritated by this. It seems that this bug has been caused since the time I've tried the current beta of the iD editor (just once).

How can I purge this closed changeset from my history so that it does not block further data submissions ?

asked 09 Jun '13, 21:00

Verdy_p's gravatar image

Verdy_p
14181115
accept rate: 0%

edited 09 Jun '13, 21:00

Note that the reappearing changeset sometimes changes, this is not always the same one, but it is always an old one already closed days before.

(09 Jun '13, 21:02) Verdy_p

The problem persists. Reinstalling JOSM after clearing all its caches does not solve the problem. And now it becomes even worse: when I submit a changeset, the new changeset very frequently inexpectely inherits the comment from an older changeset and ignore my new comment.

The issue is visible if I use the option "leave the changeset open", but now it also affects the changesets that are closed automatically after submission (so I cannot submit another edit to force again the incorrect comment that is being recorded).

Apparently this is caused by the server (more precisely, apparently in the link from the frontend proxy of the API used by JOSM and the server, which apparently has an issue when reading my user profile stored in the database, which is constantly out of sync by 1 changeset, with an additional closed changeset overriding data from the new changeset).

I can no longer track my edits and differentiate them, all too many of my changeset comments are mixed. The ONLY way to avoid it for now is to close JOSM and restart it to force it to load my user status, otherwise the frontend proxy will report the wrong "last open changeset" and will sort the open changeset incorrectly. May be there's a changeset with an unknown status (not the standard value for a closed changeset, sometimes it is handled as if it was open, sometimes it will be treated as closed, and this seems to perturbate also some SQL queries, such as SQL aggregates like "HAVING changeset.date = MAX(changeset.date)" or similar).

It seems that the "last open changeset" is present in the proxy with an incorrect date (offsetted apparently by about 2 or 3 weeks, according to the random changeset that is being used to override what I am submitting).

Note that this does not affect the stored edits themselves which are correctly recorded and correctly associated to the newly create changesets.

Frequently when I send the 1st edit in a new JOSM run it will be sent correctly and closed correctly, but then when I send a newer changeset, it will fail immediately (a new changset is created but the server does not return its ID, but the ID of an older changeset, and the first edited data will be rejected, the submission fails. I need to send it again (changing nothing, my new edit comment is still kept in the submission form, but it will NOT be used on the server, a new changeset will be created, and its ID correctly reported, but with now the comment immediately replaced by the comment of my previous successfully closed changeset, if this was the 1st of my JOSM session, otherwise the comment used in a changeset closed 2-3 weeks ago).

This is very irritating. Each time now I need to close JOSM completely (saving my edits locally, without sending), and then restart it to avoid the error (submissions sent to the old closed changeset) when I will create the new changeset.

Sometimes when I leave the changeset open, and look at my history only, all is OK. Then I use CTRL+ALT+Q to close this changeset with no other data to send, but the dialog displays that there's TWO changesets (the new one still open and the old one already closed) both displayed with the same comment (the comment from the older changeset). I need to select the correct one (I click on the one with the highest ID, the dialog does not permit me to input and correct the comment, and finally the closed changeset will have its comment changed in the database to use the older comment.

I have tried on another PC the same issue appears. I am definitely not convinced that this is an issue of JOSM. In my opinion it is a bug the of the API server, in one of its internal caches for its own internal SQL queries, or a bug in the SQL server.

(04 Aug '13, 19:44) Verdy_p

I beleive this should be filed as a JOSM error report on http://josm.openstreetmap.de/ or an as an API issue here: https://trac.openstreetmap.org/ ,if it isn't an operator error.

permanent link

answered 10 Jun '13, 11:48

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 10 Jun '13, 11:50

I don't detect anything wrong with the API (when I perform manual requests using GET requests in my web browser. I absolutely don't know where this old changeset is coming from, I cannot find any local occurence of its ID anywhere on my data or in the JOSM caches (that I have deleted completely before retrying with a reinstallation). The extra changeset is not even related to what I want to upload, nothing in common with any object, except that it is part of my old changesets.

But I know that JOSM is performing some additional API requests and I don't see the full HTTP request, just one URL and not the metadata and details of responses. I've tried to use a local proxy to trace these requests, nothing seems wrong. This is a complete mystery (and it just affects JOSM, not other online editors like Potlatch 1/2, iD, or Osmose's rawedit). The extra changeset that appears, and changes sometimes, may be one created under rawedit and not within JOSM. It is unpredictable. May be it's a bug in JOSM that uses some strange cache for changesets.

Or it's something caused by my local antivirus inspecting the HTTP sessions in order to filter some potentially harmful data (I use AVG Antivirus). I've tried disabling it (the normal way) but this does not change things. I also checked if I had some rootkit using other security tools, but nothing found, my system is clean (I've never been infected by any threat on my PCs since many years).

I suspect that the problem is not on my PC but in a remote proxy (on the server side) that hides some data and returns inconsistant data about my account (but I don't know which kind of API may be incorrectly cached by such remote proxy that I absolutely o not control).

I've also tried to use an alternate API server in JOSM config: http://api.openstreetmap.fr/api This does not change the problem (no difference compared to the default API server).

(10 Jun '13, 13:56) Verdy_p

Problem still not solved. Using a proxy to trace requests does not reveal any problem in them. Visibl this is an issue in JOSM, that I cannot understand at all. I don't know from where this spurious closed changeset comes into the list of open changeset and find absolutely nothing in my own local caches explaining this irritating presence...

(17 Jun '13, 08:20) Verdy_p
2

Have you opened an issue with the JOSM developers?

(17 Jun '13, 08:24) SimonPoole ♦

I can"t even post anything there, I have an account there, but the connection fails always when I logon (needed to post), even when I try to renew the password. It seems that my account on OSM is in fact corrupted.

(05 Aug '13, 07:14) Verdy_p

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×16

question asked: 09 Jun '13, 21:00

question was seen: 3,405 times

last updated: 05 Aug '13, 07:14

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum