[Pkg-osm-maint] Bug#698608: josm: cant load defaultpresets.xml after upgrade

Jason Woofenden jason at jasonwoof.com
Mon Jan 21 00:32:59 UTC 2013


Package: josm
Version: 0.0.svn5608+dfsg1-2
Severity: normal

When I start up josm (since upgrading to 0.0.svn5608+dfsg1-2) I get
a dialog with this message:

	Could not read tagging preset source: resource://data/defaultpresets.xml

I click OK, and josm starts up fine, except I get no presets menu.

I checked with debsums that /usr/share/josm/data/defaultpresets.xml
has not been corrupted.

As you can see below, I did not install josm-l10n.

Please contact me if I can be of further assistance.

-- Jason

Here's the output in the terminal as I start up josm:

Using /usr/lib/jvm/java-6-openjdk-i386/bin/java to execute josm.
java.io.IOException: Failed to open input stream for resource 'resource://data/defaultpresets.xml'
resource://data/defaultpresets.xml
Warning: failed to load Mappaint styles from 'resource://styles/standard/elemstyles.xml'. Exception was: java.io.IOException: Failed to open input stream for resource 'resource://styles/standard/elemstyles.xml'
java.io.IOException: Failed to open input stream for resource 'resource://styles/standard/elemstyles.xml'
	at org.openstreetmap.josm.io.MirroredInputStream.<init>(MirroredInputStream.java:87)
	at org.openstreetmap.josm.io.MirroredInputStream.<init>(MirroredInputStream.java:40)
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.fromSourceEntry(MapPaintStyles.java:218)
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.readFromPreferences(MapPaintStyles.java:198)
	at org.openstreetmap.josm.gui.preferences.map.MapPaintPreference.initialize(MapPaintPreference.java:179)
	at org.openstreetmap.josm.Main$3.call(Main.java:358)
	at org.openstreetmap.josm.Main$3.call(Main.java:351)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)
Warning: failed to load Mappaint styles from 'resource://styles/standard/potlatch2.mapcss'. Exception was: java.io.IOException: Failed to open input stream for resource 'resource://styles/standard/potlatch2.mapcss'
java.io.IOException: Failed to open input stream for resource 'resource://styles/standard/potlatch2.mapcss'
	at org.openstreetmap.josm.io.MirroredInputStream.<init>(MirroredInputStream.java:87)
	at org.openstreetmap.josm.io.MirroredInputStream.<init>(MirroredInputStream.java:40)
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.fromSourceEntry(MapPaintStyles.java:218)
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.readFromPreferences(MapPaintStyles.java:198)
	at org.openstreetmap.josm.gui.preferences.map.MapPaintPreference.initialize(MapPaintPreference.java:179)
	at org.openstreetmap.josm.Main$3.call(Main.java:358)
	at org.openstreetmap.josm.Main$3.call(Main.java:351)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)
Could not load tool definition tagginggroup_Highways/Streets
Could not load tool definition tagginggroup_Highways/Ways
Could not load tool definition tagginggroup_Highways/Waypoints
Could not load tool definition tagginggroup_Highways/Barriers
Could not load tool definition tagginggroup_Transport/Car
Could not load tool definition tagginggroup_Transport/Public Transport
loading plugin 'walkingpapers' (version 28807)
loading plugin 'openstreetbugs' (version 28807)
loading plugin 'PicLayer' (version 28807)
loading plugin 'ext_tools' (version 28807)
loading plugin 'graphview' (version 28807)
loading plugin 'turnrestrictions' (version 28807)
Could not load tool definition tagginggroup_Highways/Streets
Could not load tool definition tagginggroup_Highways/Ways
Could not load tool definition tagginggroup_Highways/Waypoints
Could not load tool definition tagginggroup_Highways/Barriers
Could not load tool definition tagginggroup_Transport/Car
Could not load tool definition tagginggroup_Transport/Public Transport
Enabled EDT checker, wrongful access to gui from non EDT thread will be printed to console
RemoteControl::Accepting connections on port 8111




-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages josm depends on:
ii  ant                              1.8.2-4
ii  libcommons-codec-java            1.6-1
ii  libgettext-commons-java          0.9.6-2
ii  libmetadata-extractor-java       2.3.1+dfsg-2
ii  liboauth-signpost-java           1.2.1.2-1
ii  libsvgsalamander-java            0~svn95-1
ii  openjdk-6-jre                    6b24-1.11.5-1
ii  openjdk-7-jre                    7u3-2.1.4-1
ii  openstreetmap-map-icons-classic  1:0.0.svn28731-1

Versions of packages josm recommends:
pn  josm-l10n         <none>
ii  josm-plugins      0.0.svn29007+ds1-1
ii  webkit-image-gtk  0.0.svn25399-3
ii  webkit-image-qt   0.0.svn25399-3

josm suggests no packages.

-- no debconf information



More information about the Pkg-osm-maint mailing list