Je viens de tester ce nouveau plugin et j'avais aussi une exception avec webkit, alors j'ai fait : sudo apt-get install netpbm gnome-web-photo j'ai récupéré le gnome-web-photo-fixed comme dit précédemment et mis dans /usr/local/bin/ et enfin dans les préférences ajouté au menu en cliquant dessus et copier default. Et ça marche bien (Ubuntu).
2009/1/26 Michel POLLE <[email protected]> > Bonsoir, > > Alors j'ai fais comme tu as dis, mais ce n'est pas encore ça. > > Tout d'abord à l'appel d'image Yahoo j'ai eu la trace : > > java.lang.Exception: Could not start browser. Please check that the > executable path is correct. > Cannot run program "gnome-web-photo-fixed-fixed": java.io.IOException: > error=2, No such file or directory > Image couldn't be fetched: > file:////home/mpe/.josm/plugins/wmsplugin/ymap.html?bbox=5.7393237,45.1406354,5.7493751,45.1506868&width=499&height=499 > > Que cela ne tienne, j'ai rajouter un -fix en faisant un : > sudo cp /usr/local/bin/gnome-web-photo-fixed > /usr/local/bin/gnome-web-photo-fixed-fixed > > Et j'ai relancé. > > Et là pendant toutes la nuit j'ai eu les traces : > WMS::Browsing YAHOO: [gnome-web-photo-fixed-fixed, > file:////home/mpe/.josm/plugins/wmsplugin/ymap.html?bbox=5.7393237,45.1506868,5.7493751,45.1607381&width=499&height=499 > ] > WMS::Browsing YAHOO: [gnome-web-photo-fixed-fixed, > file:////home/mpe/.josm/plugins/wmsplugin/ymap.html?bbox=5.7493751,45.1506868,5.7594264,45.1607381&width=499&height=499 > ] > WMS::Browsing YAHOO: [gnome-web-photo-fixed-fixed, > file:////home/mpe/.josm/plugins/wmsplugin/ymap.html?bbox=5.7594264,45.1506868,5.7694778,45.1607381&width=499&height=499 > ] > WMS::Browsing YAHOO: [gnome-web-photo-fixed-fixed, > file:////home/mpe/.josm/plugins/wmsplugin/ymap.html?bbox=5.7192210,45.1205327,5.7292724,45.1305841&width=499&height=499 > ] > WMS::Browsing YAHOO: [gnome-web-photo-fixed-fixed, > file:////home/mpe/.josm/plugins/wmsplugin/ymap.html?bbox=5.7292724,45.1205327,5.7393237,45.1305841&width=499&height=499 > ] > etc .... > > elle défilaient encore ce soir sur la console. > Et les fameux carrés rouges "Une exception s'est produit" étaient affichés > (je commence à les haïr ceux là). Et toujours des traces : > > WMS::Browsing YAHOO: [gnome-web-photo-fixed-fixed, > file:////home/mpe/.josm/plugins/wmsplugin/ymap.html?bbox=5.7393237,45.1305841,5.7493751,45.1406354&width=499&height=500 > ] > java.lang.Exception: Could not start browser. Please check that the > executable path is correct. > Cannot run program "gnome-web-photo-fixed-fixed": java.io.IOException: > error=24, Too many open files > Image couldn't be fetched: > file:////home/mpe/.josm/plugins/wmsplugin/ymap.html?bbox=5.7493751,45.1406354,5.7594264,45.1506868&width=499&height=499 > at wmsplugin.WMSGrabber.fetch(WMSGrabber.java:55) > at wmsplugin.Grabber.attempt(Grabber.java:62) > at wmsplugin.WMSGrabber.run(WMSGrabber.java:36) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > 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:636) > WMS::Browsing YAHOO: [gnome-web-photo-fixed-fixed, > file:////home/mpe/.josm/plugins/wmsplugin/ymap.html?bbox=5.7292724,45.1305841,5.7393237,45.1406354&width=499&height=500 > ] > > A noter que je n'ai pas de problème avec "Landsat" et "Carte open aerial" > si ce n'est la définition insuffisante pour espérer faire quelque chose. > > Pas simple le plugin yahoo. :-( > > > > > Steven Le Roux a écrit : > > Rectif : la commande est : > > sudo wget > http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin/gnome-web-photo-fixed > -P /usr/local/bin/ && sudo chmod a+x > /usr/local/bin/gnome-web-photo-fixed && sudo apt-get update && sudo > apt-get install netpbm && sed -i > s/gnome-web-photo/gnome-web-photo-fixed/ /home/$USER/.josm/preferences > > j'avais oublié le "fixed"... (c'était donc sans effet...) > > 2009/1/26 Steven Le Roux <[email protected]> <[email protected]>: > > > 2009/1/25 Michel POLLE <[email protected]> <[email protected]>: > > > Bonsoir, > > Tout d'abord merci beaucoup Steven et Pieren pour leur réponse. > > Alors voilà un petit résumé de mes tentatives : > Je suis sur Kubuntu 8.04. avec > java version "1.6.0_0" > OpenJDK Runtime Environment (build 1.6.0_0-b11) > OpenJDK Client VM (build 1.6.0_0-b11, mixed mode) > > J'ai commencer à installer josm avec adept. Et je lançais en tapant josm > dans la console. Mais là je n'arrivais pas à installer les plugins (sauf un > : namefinder me semble t il) > > Ensuite j'ai récupéré josm-snapshot-1212 sur le site JOSM. et je lançais > par la commande dans la console : > $ java -jar josm-snapshot-1212.jar > Et là ça allait mieux mais j'avais le problème avec les images Yahoo. > > Alors j'ai récupéré josm-latest.jar (voir mail [email protected] > le 23/01/2009 à 14h48). Lancement par > $ java -jar josm-latest.jar > Toujours le même problème d'image Yahoo. > > Puis désintallation de josm avec adept. > > Puis conformément aux suggestions de Steven : > Installation de gnome-web-photo avec adept. > Et réinstallation de josm avec le script build-josm-deb.sh > > A noter au passage que curieusement à chaque essai différents les plugins > installés précédemment étaient toujours là ??? > Où sont ils donc cachés ? > J'ai fait systématiquement "actualiser" sur l'IHM de configuration des > plugins, mais ... > > Et pour finir le lancement en tapant josm dans la console. > Voici les traces obtenues : > > $ josm > Using /usr/lib/jvm/java-6-openjdk/bin/java to execute josm. > loading namefinder > loading slippy_map_chooser > loading utilsplugin > loading validator > loading wmsplugin > download:http://www.openstreetmap.org/api/0.5/map?bbox=5.736236572265625,45.133617600708256,5.753746032714843,45.14088310908361 > yahoo://gnome-web-photo --mode=photo --format=png {0} /dev/stdout > > Voilà là j'ai bien chargé les données OSM et quand j'appelle YAHOO GNOME > j'ai plein de lignes comme ça pendant une demi heure : > > > > ... > > > > Et maintenant je ne sais plus trop quoi essayer... > > Vivement mon premier Rond-point ;-) > > > > N'oublie pas de mettre à jour tes plugins aussi dans les préférences de JOSM. > > Pour gnome-web-photo, tu utilises une ubuntu, donc il te faut le > gnome-web-photo-FIXED > http://wiki.openstreetmap.org/wiki/JOSM/Plugins/ewmsplugin#gnome-web-photo > > En gros c'est un raccourcis vers gnome-web-photo normal mais en > ajoutant qq traitements en plus. > > En gros, tu colles ça dans ta console en user normal : > > sudo wget > http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin/gnome-web-photo-fixed > -P /usr/local/bin/ && sudo chmod a+x > /usr/local/bin/gnome-web-photo-fixed && sudo apt-get update && sudo > apt-get install netpbm && sed -i s/gnome-web-photo/gnome-web-photo/ > /home/$USER/.josm/preferences > > et ça devrait être ok :) > > > > > Steven Le Roux a écrit : > > On Sat, Jan 24, 2009 at 6:52 PM, Michel POLLE <[email protected]> > <[email protected]> > wrote: > > > Bonjour, > > J'essaye actuellement d'utiliser JOSM (version 1323) avec les photos > Yahoo. Je n'ai pas de problème pour importer les données OSM. Par contre > l'appel de photo Yahoo dans le menu WMS me donne systématiquement des > carrés rouges avec marqué : "Une Exception s'est produit". > > Est ce que quelqu'un pourrait me dire ce qui cloche ? Une piste ? > > Merci. > > > > Salut, > > Si tu as cette erreur, c'est que tu utilises le plugin ewms qui vient > d'être renommée en wms. > > Cette erreur vient du fait que par défaut, la requette yahoo veut > chercher l'image grâce à webkit-image qu'il faut télécharger depuis le > svn d'osm. > > Perso je l'ai compilée mais j'ai toujours l'erreur, donc j'ai du > compiler gnome-web-photo pour avoir les images, et dans les > préférences de josm, chapitre wms, tu ajoutes yahoo GNOME en source, > tu valides, et tu auras désormais deux sources yahoo dans le menu wms. > yahoo webkit et yahoo gnome. En cliquant yahoo gnome tu devrais être > bon... > > Si tu as une debian et une archi x86 je peux te filer mon binaire > gnome-web-photo... > > Sinon il reste la solution de webkit-image-gtk à tester... > > > > _______________________________________________ > Talk-fr mailing > [email protected]http://lists.openstreetmap.org/listinfo/talk-fr > > > > > > _______________________________________________ > Talk-fr mailing > [email protected]http://lists.openstreetmap.org/listinfo/talk-fr > > > -- > Steven Le Roux > Jabber-ID : [email protected] > 0x39494CCB <[email protected]> <[email protected]> > 2FF7 226B 552E 4709 03F0 6281 72D7 A010 3949 4CCB > > > > > _______________________________________________ > Talk-fr mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/talk-fr > >
_______________________________________________ Talk-fr mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk-fr

