Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5499 closed defect (duplicate)

Button to delete old autosave data not functional

Reported by: wendorff@… Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: autosave Cc: malenki, florian@…

Description

As requested in #5359 there is a button to delete autosave layers at restart after JOSM crashed.

That button is not functional.
Pressing it, the dialog telling me about the unsaved layers is closed, but the layer data is not deleted from ~/.josm/autosave/

When restarting JOSM the dialog appears again for the same old data.

Deleting the files manually helps as a workaround - but that's not a solution ;)

Attachments (1)

josm.zip (1.5 MB ) - added by wendorff@… 14 years ago.
preference folder; hopefully useful for reproduction of the error

Download all attachments as: .zip

Change History (14)

comment:1 by bastiK, 14 years ago

It moves the files to ~/.josm/autosave/deleted_layers, but this fails if that folder already contains a file with the same name.

Can you confirm that this is the cause of the problem?

(I will fix this later.)

comment:2 by wendorff@…, 14 years ago

That's possible; will check it again as soon as I run into the bug next time ;)
I didn't check the exact content of autosave/deleted_layers; instead I deleted the deleted_layers directory and the .osm files.

comment:3 by malenki, 14 years ago

Cc: malenki added

comment:4 by grossing, 14 years ago

Cc: florian@… added

comment:5 by bastiK, 14 years ago

[3559] fixes the described bug, please close if you think it works now.

comment:6 by anonymous, 14 years ago

same as before (tested with 3587): Button is not working, reappears after next start of JOSM

in reply to:  6 comment:7 by wendorff@…, 14 years ago

sorry, missed my mail-adress at the comment...
Replying to anonymous:

same as before (tested with 3587): Button is not working, reappears after next start of JOSM

comment:8 by bastiK, 14 years ago

Can you zip your preference folder and attach it here or send to bastikln (at) googlemail.com? I don't need all the content, but enough to reproduce the problem.

(In the preference file your username and password is saved. You might want to delete that before.)

in reply to:  8 comment:9 by wendorff@…, 14 years ago

sorry for the late answer...
problem already is there.
I attach the preference folder here.

by wendorff@…, 14 years ago

Attachment: josm.zip added

preference folder; hopefully useful for reproduction of the error

comment:10 by bastiK, 14 years ago

Still no luck. I follow these steps:

  • replace preference folder with content of zip file
  • start JOSM --> It offers to recover 2 files
  • click discard and restart --> dialog does not show again

Tested on Ubuntu and Win XP

comment:11 by bastiK, 14 years ago

@jttt: Any ideas what could be wrong?

comment:12 by bastiK, 14 years ago

Resolution: duplicate
Status: newclosed

Could you please test again with version 3677 (click "discard" - 3rd button in dialog) and report debugging output to ticket #5559?

Last edited 14 years ago by bastiK (previous) (diff)

comment:13 by bastiK, 14 years ago

Closed as duplicate of #5559.

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.