Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code 500 when saving changeset #490

Open
HubMiner opened this issue Mar 27, 2024 · 12 comments
Open

Code 500 when saving changeset #490

HubMiner opened this issue Mar 27, 2024 · 12 comments

Comments

@HubMiner
Copy link

Starting yesterday, when I save, I get a message:

Save changeset
500
[Cancel]

If I retry (Cancel, Save), I get the same message.

The changeset is probably not saved.

@HubMiner
Copy link
Author

Chrome console:

image

@frodrigo
Copy link
Member

frodrigo commented Mar 27, 2024

You got a conflict. There is no implemented way to deal with it in Osmose.

requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://www.openstreetmap.org/api/0.6/changeset/149224330/upload

Osmose should report about the conflict rather than generic error. Also see #380

@HubMiner
Copy link
Author

Confirming the diagnosis: I am able to save changesets when making small changesets (reducing chances of a conflict).

@matkoniecz
Copy link

what can be done once this happens? Does it result in loss of all edits made since last save?

Can you save part of changes?

@frodrigo
Copy link
Member

what can be done once this happens? Does it result in loss of all edits made since last save?

Yes.

Can you save part of changes?

Yes. It can be done.

@matkoniecz
Copy link

how can I save only part of edits that were made?

@frodrigo
Copy link
Member

how can I save only part of edits that were made?

By excluding conflicted objects, and resend.

@matkoniecz
Copy link

Where I can do this?

@frodrigo
Copy link
Member

@matkoniecz
Copy link

I meant as user in the current deployed version

@frodrigo
Copy link
Member

I meant as user in the current deployed version

https://wiki.openstreetmap.org/wiki/Osmose#Osmose_integrated_tags_editor

@matkoniecz
Copy link

https://wiki.openstreetmap.org/wiki/Osmose#Osmose_integrated_tags_editor

how can you remove changes already applied that make impossible to save edit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants