Soirée linkebeekoises SPROG

Animateurs: XTof_vl, Rodolphe

Re: Soirée linkebeekoises SPROG

Messagepar decstef_be
16 Déc 2009, 00:08

Bon, on reprend pas à pas :
1. on a tout arrêté, débranché le SPROG puis rebranché sur un autre port USB
Tout OK pour la connexion physique puisque /dev/ttyUSB0 est reviendu :applause:

2.On flingue le .jmri et son contenu

3. On redémarre l'appli

Il donne :
kylchap@kylchap:~/SPROG_ACTIF/linux/JMRI_ACTIF$ . DecoderPro
0 util.JmriInsets ERROR - Error: String index out of range: -1 [main]
2 util.JmriInsets ERROR - Error: String index out of range: -1 [main]
21 apps.Apps INFO - ****** JMRI log ******* [main]
22 apps.Apps INFO - This log is stored in file: messages.log [main]
30 DecoderPro.DecoderPro INFO - DecoderPro version 2.7.4 starts under Java 1.6.0_15 at Tue Dec 15 22:59:03 CET 2009 [main]
65 jmrit.XmlFile WARN - Creating a missing preferences directory: /home/kylchap/.jmri/ [main]
232 configurexml.ConfigXmlManager WARN - File not found: /home/kylchap/.jmri/bashConfig2.xml [main]
570 progsupport.ProgServiceModePane INFO - No programmer available, so modes not set [main]
5120 jmrit.XmlFile WARN - Creating a missing preferences directory: /home/kylchap/.jmri/programmers [main]
8210 util.JmriInsets ERROR - Error: String index out of range: -1 [main]
8210 util.JmriInsets ERROR - Error: String index out of range: -1 [main]
8340 progsupport.ProgServiceModePane INFO - No programmer available, so modes not set [main]
8452 util.JmriInsets ERROR - Error: String index out of range: -1 [main]
8453 util.JmriInsets ERROR - Error: String index out of range: -1 [main]

Normal puisqu'il n'y a plus de prefs mémorisées

4. Comme l'appli tourne, on rentre les prefs : SPROG + /dev/ttyUSB0 + 9600 rbaud :siffle: + metal + comprehensive et on quitte
Maintenant, il a apparemment le missing file :gne:

kylchap@kylchap:~/.jmri$ ls -al
total 16
drwxr-xr-x 3 kylchap kylchap 4096 2009-12-15 23:00 .
drwxr-xr-x 33 kylchap kylchap 4096 2009-12-15 22:59 ..
-rw-r--r-- 1 kylchap kylchap 766 2009-12-15 23:00 bashConfig2.xml
drwxr-xr-x 2 kylchap kylchap 4096 2009-12-15 22:59 programmers

kylchap@kylchap:~/.jmri$ cat bashConfig2.xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://www.jmri.org/xml/XSLT/panelfile.xsl"?>
<!DOCTYPE layout-config SYSTEM "layout-config-2-7-4.dtd">

<layout-config>
<connection port="/dev/ttyUSB0" speed="9,600 bps" option1="" option2="" class="jmri.jmrix.sprog.sprog.configurexml.ConnectionConfigXml" />
<gui LAFclass="Metal" class="jmri.configurexml.GuiLafConfigPaneXml" LocaleLanguage="fr" LocaleCountry="BE" LocaleVariant="" />
<programmer defaultFile="Comprehensive" verifyBeforeWrite="no" class="jmri.jmrit.symbolicprog.configurexml.ProgrammerConfigPaneXml" />
<!--Written by JMRI version 2.7.4 on Tue Dec 15 23:00:30 CET 2009 $Id: XmlFile.java,v 1.45 2009/07/12 13:12:29 jacobsen Exp $-->
</layout-config>

5. On restarte :

kylchap@kylchap:~/SPROG_ACTIF/linux/JMRI_ACTIF$ . DecoderPro
0 util.JmriInsets ERROR - Error: String index out of range: -1 [main]
3 util.JmriInsets ERROR - Error: String index out of range: -1 [main]
39 apps.Apps INFO - ****** JMRI log ******* [main]
39 apps.Apps INFO - This log is stored in file: messages.log [main]
131 DecoderPro.DecoderPro INFO - DecoderPro version 2.7.4 starts under Java 1.6.0_15 at Tue Dec 15 23:03:10 CET 2009 [main]
660 util.JmriLocalEntityResolver ERROR - did not find direct DTD file: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd [main]
680 configurexml.ConfigXmlManager ERROR - Exception reading: org.jdom.input.JDOMParseException: Error on line 3 of document file:/home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/: External entity not found: "file:/home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd".: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd (No such file or directory) [main]
org.jdom.input.JDOMParseException: Error on line 3 of document file:/home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/: External entity not found: "file:/home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd".: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd (No such file or directory)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:465)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:831)
at jmri.jmrit.XmlFile.getRootViaURI(XmlFile.java:259)
at jmri.jmrit.XmlFile.rootFromFile(XmlFile.java:96)
at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:303)
at apps.Apps.<init>(Apps.java:94)
at apps.DecoderPro.DecoderPro.<init>(DecoderPro.java:48)
at apps.DecoderPro.DecoderPro.main(DecoderPro.java:132)
Caused by: java.io.FileNotFoundException: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd (No such file or directory)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2870)
at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
... 7 more
Caused by: java.io.FileNotFoundException: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at org.apache.crimson.parser.Resolver.createInputSource(Resolver.java:302)
at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:92)
at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133)
at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2868)
... 12 more
Caused by: java.io.FileNotFoundException: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd (No such file or directory)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2870)
at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:831)
at jmri.jmrit.XmlFile.getRootViaURI(XmlFile.java:259)
at jmri.jmrit.XmlFile.rootFromFile(XmlFile.java:96)
at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:303)
at apps.Apps.<init>(Apps.java:94)
at apps.DecoderPro.DecoderPro.<init>(DecoderPro.java:48)
at apps.DecoderPro.DecoderPro.main(DecoderPro.java:132)
Caused by: java.io.FileNotFoundException: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at org.apache.crimson.parser.Resolver.createInputSource(Resolver.java:302)
at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:92)
at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133)
at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2868)
... 12 more
Caused by: java.io.FileNotFoundException: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at org.apache.crimson.parser.Resolver.createInputSource(Resolver.java:302)
at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:92)
at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133)
at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2868)
at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:831)
at jmri.jmrit.XmlFile.getRootViaURI(XmlFile.java:259)
at jmri.jmrit.XmlFile.rootFromFile(XmlFile.java:96)
at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:303)
at apps.Apps.<init>(Apps.java:94)
at apps.DecoderPro.DecoderPro.<init>(DecoderPro.java:48)
at apps.DecoderPro.DecoderPro.main(DecoderPro.java:132)
Caused by: java.io.FileNotFoundException: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd (No such file or directory)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2870)
at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:831)
at jmri.jmrit.XmlFile.getRootViaURI(XmlFile.java:259)
at jmri.jmrit.XmlFile.rootFromFile(XmlFile.java:96)
at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:303)
at apps.Apps.<init>(Apps.java:94)
at apps.DecoderPro.DecoderPro.<init>(DecoderPro.java:48)
at apps.DecoderPro.DecoderPro.main(DecoderPro.java:132)
Caused by: java.io.FileNotFoundException: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at org.apache.crimson.parser.Resolver.createInputSource(Resolver.java:302)
at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:92)
at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133)
at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2868)
... 12 more
Caused by: java.io.FileNotFoundException: /home/kylchap/SPROG_ACTIF/linux/JMRI_ACTIF/xml/DTD/layout-config-2-7-4.dtd (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at org.apache.crimson.parser.Resolver.createInputSource(Resolver.java:302)
at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:92)
at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133)
at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2868)
at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:831)
at jmri.jmrit.XmlFile.getRootViaURI(XmlFile.java:259)
at jmri.jmrit.XmlFile.rootFromFile(XmlFile.java:96)
at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:303)
at apps.Apps.<init>(Apps.java:94)
at apps.DecoderPro.DecoderPro.<init>(DecoderPro.java:48)
at apps.DecoderPro.DecoderPro.main(DecoderPro.java:132)
936 progsupport.ProgServiceModePane INFO - No programmer available, so modes not set [main]
7685 util.JmriInsets ERROR - Error: String index out of range: -1 [main]
7685 util.JmriInsets ERROR - Error: String index out of range: -1 [main]
7908 progsupport.ProgServiceModePane INFO - No programmer available, so modes not set [main]
8031 util.JmriInsets ERROR - Error: String index out of range: -1 [main]
8032 util.JmriInsets ERROR - Error: String index out of range: -1 [main]

Là encore, l'appli tourne mais avec les prefs vides :mur: :mur: :mur:

On va tenter de brancher mon SPROG sur le portable Windows de Xtof ... au cas où :rhaaa:
Stef, Saroulmapoul, ex "de base (I)"
Directeur es Peintures et Ravalements des Saroulmapoul
Chairman of the TRR (fully Corpetized)
Feeder Official Supplier
Avatar de l’utilisateur
decstef_be
Couque et Chimay
 
Messages: 1328
Âge: 57
Enregistré le: 15 Déc 2007, 11:42
Localisation: Namur Belgique

Re: Soirée linkebeekoises SPROG

Messagepar Rodolphe
16 Déc 2009, 00:12

Ça ne va pas.

Le programme vient d'où (CD, boutique, autre téléchargement, etc.) ?
Installé comment ?
Patché ou pas (avec mon jmri.jar maison) ?

Il y a un truc que je ne vois pas, ça doit pourtant être évident mais à distance ce n'est pas simple :mur: :mur:

Rodolphe
Avatar de l’utilisateur
Rodolphe
Jardinier de salon
 
Messages: 23817
Âge: 51
Enregistré le: 11 Déc 2007, 13:26
Localisation: Auzeville-Tolosane, 31

Re: Soirée linkebeekoises SPROG

Messagepar decstef_be
16 Déc 2009, 00:22

Rodolphe a écrit:Ça ne va pas.

Le programme vient d'où (CD, boutique, autre téléchargement, etc.) ?
Installé comment ?
Patché ou pas (avec mon jmri.jar maison) ?

Il y a un truc que je ne vois pas, ça doit pourtant être évident mais à distance ce n'est pas simple :mur: :mur:

Rodolphe


CD + mises à jour avec les download du site.
Demain, je recommence from scratch uniquement à partir des download du site, j'ai bon là ,

Stef qui replie bagage maintenant :dodo:
Stef, Saroulmapoul, ex "de base (I)"
Directeur es Peintures et Ravalements des Saroulmapoul
Chairman of the TRR (fully Corpetized)
Feeder Official Supplier
Avatar de l’utilisateur
decstef_be
Couque et Chimay
 
Messages: 1328
Âge: 57
Enregistré le: 15 Déc 2007, 11:42
Localisation: Namur Belgique

Re: Soirée linkebeekoises SPROG

Messagepar Rockandrail
16 Déc 2009, 00:24

C'est en effet d'une simplicité biblique. Quand je pense qu'avant, programmer un décodeur, c'était compliqué! :mdr2: :mdr2: :mdr2: :mdr2: :mdr2: :mdr2:
Observateur désabusé
Prince Héréditaire du Bruxelbourg et Saroulmapoul délocalisé

Ils viennent jusque dans nos bras égorger nos fils et nos compagnes.
Aux armes Citoyens!
Avatar de l’utilisateur
Rockandrail
Vertueux Du Goulag
 
Messages: 18476
Âge: 70
Enregistré le: 13 Déc 2007, 23:55
Localisation: Royan

Re: Soirée linkebeekoises SPROG

Messagepar Rodolphe
16 Déc 2009, 00:24

C'est la meilleure solution, parce que là il y a un truc.
Pourquoi par exemple ce nom pour le fichier de configuration ?
Moi il ne me créé pas ce nom là si je vire les préférences, par défaut c'est DecoderProConfig2.xml.
La suite demain :mort: :dodo:

Rodolphe
Avatar de l’utilisateur
Rodolphe
Jardinier de salon
 
Messages: 23817
Âge: 51
Enregistré le: 11 Déc 2007, 13:26
Localisation: Auzeville-Tolosane, 31

Re: Soirée linkebeekoises SPROG

Messagepar Rodolphe
16 Déc 2009, 00:25

Rockandrail a écrit:C'est en effet d'une simplicité biblique. Quand je pense qu'avant, programmer un décodeur, c'était compliqué! :mdr2: :mdr2: :mdr2: :mdr2: :mdr2: :mdr2:


À noter pour demain, interdire l'accès à cette partie du forum pour Rockandrail :diable:

Rodolphe ;)
Avatar de l’utilisateur
Rodolphe
Jardinier de salon
 
Messages: 23817
Âge: 51
Enregistré le: 11 Déc 2007, 13:26
Localisation: Auzeville-Tolosane, 31

Re: Soirée linkebeekoises SPROG

Messagepar pelican
16 Déc 2009, 00:30

XTof_vl a écrit:
XTof_vl a écrit:L'écoute ps ! L'est bourré !
:siffle:

Ca, c'est Zébu qui abuse de mon account! :applause: :mdr2:

ya pas que de la counte qu'il a buse !! :mdr2:
excellente soirée !! j'ai rien compris venant de Stef, un peu venant de Xtof, et surtout découvert l'effet Mars !!
un coup de barre, et salopart ! :diable:
Pélican
Chairman of the Pélican Rail Road
Directeur Artisitique des Saroulmapoul
Président Directeur du Leffe Chimay Bellevue
petit train de la Scarpe
Avatar de l’utilisateur
pelican
L'expert
 
Messages: 1991
Âge: 67
Enregistré le: 13 Déc 2007, 23:04

Re: Soirée linkebeekoises SPROG

Messagepar Rodolphe
16 Déc 2009, 00:31

Bon, et pendant que Decstef bidouillait son PC, ça a donné quoi pour les autres ?

Je ne connais pas l'effet Mars, ça passe avec quel décodeur et quel masque de saisie ?

Rodolphe
Avatar de l’utilisateur
Rodolphe
Jardinier de salon
 
Messages: 23817
Âge: 51
Enregistré le: 11 Déc 2007, 13:26
Localisation: Auzeville-Tolosane, 31

Re: Soirée linkebeekoises SPROG

Messagepar XTof_vl
16 Déc 2009, 00:48

DecStef vient de partir. Son SPROG sur mon PC fonctionne sans problème, c'est déjà cela. C'est probablement une config de son PC, mais pas facile à savoir.

L'effet Mars? C'est l'effet d'une lampe qui vacille. Sur une vieille loco (sur une loco qui reproduit une vieille loco), c'est une effet très réel, très chouette! C'est disponible avec les décodeurs plutôt avancés, où il est possible de programmer les sorties (dim, etc).
L'Attila du train Ho
Ondraaglijk
Voyou!


Ferjac (Gil Jourdan alias Guus Slim) et Raversijde 1913
Avatar de l’utilisateur
XTof_vl
Van De Guus
 
Messages: 17844
Âge: 61
Enregistré le: 13 Déc 2007, 21:07
Localisation: Linkebeek, Belgïe!

Re: Soirée linkebeekoises SPROG

Messagepar eric-vh
16 Déc 2009, 00:51

Merci à X-tof pour l'accueil et toutes les explications et démos. :cool: :cool:



Soirée Sprog 007_PhotoRedukto.jpg
Tests et démo....


Soirée Sprog 006_PhotoRedukto.jpg
Tout le monde suit les explications à l'écran...certains posent des questions.


Soirée Sprog 009_PhotoRedukto.jpg
D'autres sont captivés.....


Eric
Avatar de l’utilisateur
eric-vh
Couque et Chimay
 
Messages: 3516
Âge: 67
Enregistré le: 13 Déc 2007, 23:23
Localisation: Gelbique !

PrécédenteSuivante

Retourner vers SPROG : informations, support

Qui est en ligne

Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 40 invités