Opened 11 years ago
Closed 11 years ago
#10614 closed defect (worksforme)
preferences.xml trouble
Reported by: | 25or6to4 | Owned by: | 25or6to4 |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
I have been having an issue with JOSM for a little over a month regarding the preferences.xml file. Since August 15 (the last change date of the file), the preferences file is not able to save new and updated information. It is able to access the preferences file, as my JOSM setup is still opening properly, but I can't make any new changes to the arrangement of JOSM or add new imagery links. The cmd shell throws the following error "WARNING: Failed to persist preferences to '
BRO-S-NAS\home\xxxxx.xxxxxx\Application Data\JOSM\preferences.xml' (edited name from directory and status report, replaced with xxxxx.xxxxxx).
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2014-09-29 22:12:08 Last Changed Author: Don-vip Revision: 7588 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Relative URL: ^/trunk URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2014-09-29 23:52:43 +0200 (Mon, 29 Sep 2014) Last Changed Rev: 7588 Identification: JOSM/1.5 (7588 en) Windows 7 64-Bit Memory Usage: 79 MB / 910 MB (16 MB allocated, but free) Java version: 1.7.0_67, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Plugins: - geochat (30513) - imagery_offset_db (30534) - reverter (30521) - todo (29154) - turnrestrictions (30651) - undelete (30416) Last errors/warnings: - W: Failed to persist preferences to '\\BRO-S-NAS\home\xxxxx.xxxxxx\Application Data\JOSM\preferences.xml' - W: Failed to persist preferences to '\\BRO-S-NAS\home\xxxxx.xxxxxx\Application Data\JOSM\preferences.xml' - W: Failed to persist preferences to '\\BRO-S-NAS\home\xxxxx.xxxxxx\Application Data\JOSM\preferences.xml' - E: Id 'OSM-US-TIGER-Roads_Overlay-2012' is not unique - used by 'OSM US TIGER 2012 Roads Overlay' and 'OSM US TIGER 2012 Roads Overlay'! - W: Failed to persist preferences to '\\BRO-S-NAS\home\xxxxx.xxxxxx\Application Data\JOSM\preferences.xml'
Attachments (0)
Change History (5)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 11 years ago
I checked the Windows permissions on the xml file, but there was no check in the read-only box. I went ahead and tried to edit the XML file, which was successful. On rerunning the .jar, It threw an XML error, backed up the old xml file, and created a new preferences.xml file. Opening the bad XML file, the editor flagged a couple bad characters, which happened to be the copyright circle both times. After cleaning out those two symbols and restarting the jar file, everything is up and running. I added a new WMS imagery link, then shut down JOSM to test that it is saving. Reopened JOSM one more time and the new imagery link was still there. So it looks as if everything is back to where it should be. Thanks!
comment:5 by , 11 years ago
Resolution: | → worksforme |
---|---|
Status: | needinfo → closed |
OK. If you get this error again, please attach the XML file and reopen this ticket.
Are you able to edit the file manually? Looks like an access right issue with your NAS.