[DebianGIS-dev] Bug#568509: Bug#568509: josm: fails to start saying that network is unreachable

Alexandre Fayolle afayolle at debian.org
Fri Feb 12 10:31:25 UTC 2010


On Monday 08 February 2010 17:26:39 Francesco P. Lovergine wrote:
> On Fri, Feb 05, 2010 at 11:45:32AM +0100, Alexandre Fayolle wrote:
> > Revision: Manifest-Version: 1.0
> > Ant-Version: Apache Ant 1.7.1
> > Created-By: 14.0-b16 (Sun Microsystems Inc.)
> > Main-class: JOSM
> > Main-Version: 2255 SVN
> > Main-Date: 2009-10-07T19:25:15.114514Z
> > Debian-Release: 0.0.svn2255-1
> > Class-Path: /usr/share/java/gettext-commons.jar
> > /usr/share/java/metadata-extractor.jar Warning: failed to read MOTD from
> > 'http://josm.openstreetmap.de/wiki/Fr:StartupPage'. Exception was:
> > java.net.SocketException: Network is unreachable Warning: failed to read
> > MOTD from 'http://josm.openstreetmap.de/wiki/StartupPage'. Exception was:
> > java.net.SocketException: Network is unreachable Fatal: failed to locate
> > image 'styles/standard/shop/rental/library.png'. This is a serious
> > configuration problem. JOSM will stop working. Could not get presets icon
> > styles/standard/shop/rental/library.png
> 
> I would simply add -Djava.net.preferIPv4Stack=true at java call to work
>  around this problem without requiring the user changes his/her setup. At
>  least, until a definitive solution will be available for these cases.
> 

I tried Timo Lindfors' fix, and here's what I get:


alf at lacapelle:~$ su
Mot de passe : 
lacapelle:/home/alf# echo 0 >  /proc/sys/net/ipv6/bindv6only
lacapelle:/home/alf# exit
alf at lacapelle:~$ josm
Using /usr/lib/jvm/java-6-sun/bin/java to execute josm.
Revision: Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 14.0-b16 (Sun Microsystems Inc.)
Main-class: JOSM
Main-Version: 2255 SVN
Main-Date: 2009-10-07T19:25:15.114514Z
Debian-Release: 0.0.svn2255-1
Class-Path: /usr/share/java/gettext-commons.jar /usr/share/java/metadata-
extractor.jar
Fatal: failed to locate image 'styles/standard/shop/rental/library.png'. This 
is a serious configuration problem. JOSM will stop working.
Could not get presets icon styles/standard/shop/rental/library.png

So there seems to be another issue (as the MOTD reading was not the fatal 
error preventing the start). 

I've searched my disk for  rental/library.png and found 
/usr/share/icons/openstreetmap/classic.small/shop/rental/library.png  provided 
by package openstreetmap-map-icons-classic which is a dependency of josm. I've 
checked the version of that package in debian stable and the file layout seems 
similar enough (at least the path to rental/library.png is the same). 

-- 
Alexandre Fayolle
http://qa.debian.org/developer.php?login=afayolle%40debian.org&comaint=yes





More information about the Pkg-grass-devel mailing list