Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: Errors in Test Version 4.19.6
Bob,
toggle quoted message
Show quoted text
If the xml file is sent to you, could you forward it to me? I want to see if PR #8500 is involved. Dave Sand ----- Original message -----
From: Bob Jacobsen <rgj1927@...> To: [email protected] Subject: Re: [jmriusers] Errors in Test Version 4.19.6 Date: Sunday, May 10, 2020 11:35 PM Thanks for checking that, and sorry for the trouble. Could you post your "Dropbox\Sandy River.xml¡± file to the files part of the group, or send it via dropbox to my ¡°jacobsen@...¡± dropbox account? Thanks Bob On May 10, 2020, at 9:29 PM, callaire@... wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Errors in Test Version 4.19.6
Thanks for checking that, and sorry for the trouble.
Could you post your "Dropbox\Sandy River.xml¡± file to the files part of the group, or send it via dropbox to my ¡°jacobsen@...¡± dropbox account? Thanks Bob On May 10, 2020, at 9:29 PM, callaire@... wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: AbstractAutomaton and stop()
#scripting
The answer to that is a bit complicated, but there¡¯s a reliable way to do it. If you say
global a in two different scopes, ¡°a¡± will refer to the same variable in both of those. So, although leaving variables around at the top level often works, even almost always, declaring the globals is a better approach. Bob On May 10, 2020, at 9:08 PM, Trevor_R <twr@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Errors in Test Version 4.19.6
¿ªÔÆÌåÓýIt loads the Layout editor Panel but the JMRI Logo Remains on the
screen.
?
Did not have any errors in Version 4.19.5
?
Win 7
Simulator mode
?
?
?
?
2020-05-10 21:19:54,658
util.Log4JUtil???????????????????????
INFO? - * JMRI log ** [main]
2020-05-10 21:19:54,683
util.Log4JUtil???????????????????????
INFO? - This log is appended to file:
C:\Users\Charles\JMRI\log\messages.log [main]
2020-05-10 21:19:54,684
util.Log4JUtil???????????????????????
INFO? - This log is stored in file: C:\Users\Charles\JMRI\log\session.log
[main]
2020-05-10 21:19:54,697
apps.Apps????????????????????????????
INFO? - PanelPro version 4.19.6+Rdb3d7c2db starts under Java 1.8.0_251 on
Windows 7 amd64 v6.1 at Sun May 10 21:19:54 PDT 2020 [main]
2020-05-10 21:19:55,031
apps.Apps????????????????????????????
INFO? - Starting with profile My_JMRI_Railroad.3f58412f [main]
2020-05-10 21:19:55,239
node.NodeIdentity????????????????????
INFO? - Using jmri-g1aGDbRCbhNiaaogb10uIB-3f58412f as the JMRI storage
identity for profile id 3f58412f [AWT-EventQueue-0]
2020-05-10 21:19:55,603 xml.AbstractSerialConnectionConfigXml INFO? -
Starting to connect for "NCE" [main]
2020-05-10 21:19:55,693
simulator.SimulatorAdapter???????????
INFO? - NCE Simulator Started [Nce Simulator]
2020-05-10 21:19:55,749
nce.NceConnectionStatus??????????????
INFO? - NCE EPROM revision = 6.2.1 [AWT-EventQueue-0]
2020-05-10 21:19:56,493
loconet.LnPacketizer?????????????????
INFO? - lnPacketizer Started [main]
2020-05-10 21:19:56,524
hexfile.LnHexFilePort????????????????
INFO? - LocoNet Simulator Started [LocoNet HexFileFrame]
2020-05-10 21:19:57,151
apps.PerformFileModel????????????????
INFO? - Loading file C:\Users\Charles\Dropbox\Sandy River.xml [main]
2020-05-10 21:20:05,850
configurexml.LayoutEditorXml?????????
ERROR - Exception while loading trainicon [AWT-EventQueue-0]
java.lang.ClassNotFoundException:
jmri.jmrit.operations.trains.configurexml.TrainIconXml
??? at java.net.URLClassLoader.findClass(Unknown
Source)
??? at java.lang.ClassLoader.loadClass(Unknown Source)
??? at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
Source)
??? at java.lang.ClassLoader.loadClass(Unknown Source)
??? at java.lang.Class.forName0(Native Method)
??? at java.lang.Class.forName(Unknown Source)
??? at
jmri.jmrit.display.layoutEditor.configurexml.LayoutEditorXml.load(LayoutEditorXml.java:660)
??? at
jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:657)
??? at
jmri.configurexml.ConfigXmlManager.lambda$1(ConfigXmlManager.java:579)
??? at
jmri.util.ThreadingUtil.lambda$0(ThreadingUtil.java:156)
??? at java.awt.event.InvocationEvent.dispatch(Unknown
Source)
??? at java.awt.EventQueue.dispatchEventImpl(Unknown
Source)
??? at java.awt.EventQueue.access$500(Unknown Source)
??? at java.awt.EventQueue$3.run(Unknown Source)
??? at java.awt.EventQueue$3.run(Unknown Source)
??? at java.security.AccessController.doPrivileged(Native
Method)
??? at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
??? at java.awt.EventQueue.dispatchEvent(Unknown
Source)
??? at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
??? at
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
??? at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
??? at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
??? at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
??? at java.awt.EventDispatchThread.run(Unknown
Source)
2020-05-10 21:20:05,919
configurexml.LayoutEditorXml?????????
ERROR - Exception while loading trainicon [AWT-EventQueue-0]
java.lang.ClassNotFoundException:
jmri.jmrit.operations.trains.configurexml.TrainIconXml
??? at java.net.URLClassLoader.findClass(Unknown
Source)
??? at java.lang.ClassLoader.loadClass(Unknown Source)
??? at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
Source)
??? at java.lang.ClassLoader.loadClass(Unknown Source)
??? at java.lang.Class.forName0(Native Method)
??? at java.lang.Class.forName(Unknown Source)
??? at
jmri.jmrit.display.layoutEditor.configurexml.LayoutEditorXml.load(LayoutEditorXml.java:660)
??? at
jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:657)
??? at
jmri.configurexml.ConfigXmlManager.lambda$1(ConfigXmlManager.java:579)
??? at
jmri.util.ThreadingUtil.lambda$0(ThreadingUtil.java:156)
??? at java.awt.event.InvocationEvent.dispatch(Unknown
Source)
??? at java.awt.EventQueue.dispatchEventImpl(Unknown
Source)
??? at java.awt.EventQueue.access$500(Unknown Source)
??? at java.awt.EventQueue$3.run(Unknown Source)
??? at java.awt.EventQueue$3.run(Unknown Source)
??? at java.security.AccessController.doPrivileged(Native
Method)
??? at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
??? at java.awt.EventQueue.dispatchEvent(Unknown
Source)
??? at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
??? at
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
??? at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
??? at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
??? at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
??? at java.awt.EventDispatchThread.run(Unknown
Source)
2020-05-10 21:20:11,260
util.FileUtilSupport?????????????????
INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
2020-05-10 21:20:11,261
util.FileUtilSupport?????????????????
INFO? - File path preference: is C:\Users\Charles\Dropbox\ [main]
2020-05-10 21:20:11,261
util.FileUtilSupport?????????????????
INFO? - File path profile: is C:\Users\Charles\JMRI\My_JMRI_Railroad\
[main]
2020-05-10 21:20:11,261
util.FileUtilSupport?????????????????
INFO? - File path settings: is C:\Users\Charles\JMRI\ [main]
2020-05-10 21:20:11,262
util.FileUtilSupport?????????????????
INFO? - File path home: is C:\Users\Charles\ [main]
2020-05-10 21:20:11,262
util.FileUtilSupport?????????????????
INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\
[main]
2020-05-10 21:20:12,366 ptionhandler.UncaughtExceptionHandler ERROR -
Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler
[main]
java.lang.NullPointerException
??? at
jmri.jmrit.display.layoutEditor.LayoutBlock.getNextPacketID(LayoutBlock.java:2662)
??? at
jmri.jmrit.display.layoutEditor.LayoutBlock.addRouteToNeighbours(LayoutBlock.java:3605)
??? at
jmri.jmrit.display.layoutEditor.LayoutBlock.addRouteFromNeighbour(LayoutBlock.java:3685)
??? at
jmri.jmrit.display.layoutEditor.LayoutBlock.informNeighbourOfValidRoutes(LayoutBlock.java:1817)
??? at
jmri.jmrit.display.layoutEditor.LayoutBlock.informNeighbourOfAttachment(LayoutBlock.java:1717)
??? at
jmri.jmrit.display.layoutEditor.LayoutBlock.addNeighbour(LayoutBlock.java:1535)
??? at
jmri.jmrit.display.layoutEditor.LayoutBlock.addAdjacency(LayoutBlock.java:1856)
??? at
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
??? at
java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
??? at
jmri.jmrit.display.layoutEditor.LayoutBlock.initializeLayoutBlockRouting(LayoutBlock.java:189)
??? at
jmri.jmrit.display.layoutEditor.LayoutBlockManager.initializeLayoutBlockRouting(LayoutBlockManager.java:2459)
??? at
jmri.jmrit.display.layoutEditor.LayoutBlockManager.initializeLayoutBlockPaths(LayoutBlockManager.java:256)
??? at apps.Apps.<init>(Apps.java:413)
??? at
apps.PanelPro.PanelPro.<init>(PanelPro.java:40)
??? at apps.PanelPro.PanelPro.main(PanelPro.java:120)
2020-05-10 21:20:16,303
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks Stg YD Storage Trk#4,
AUTOBLK:81 [AWT-EventQueue-0]
2020-05-10 21:20:16,304
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks Stg YD Storage Trk#4,
AUTOBLK:81 [AWT-EventQueue-0]
2020-05-10 21:20:16,305
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks Stg YD Storage Trk#4,
AUTOBLK:81 [AWT-EventQueue-0]
2020-05-10 21:20:16,306
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks Stg YD Storage Trk#4,
AUTOBLK:81 [AWT-EventQueue-0]
2020-05-10 21:20:16,307
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks Stg YD Storage Trk#4,
AUTOBLK:81 [AWT-EventQueue-0]
2020-05-10 21:20:16,309
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks Stg YD Storage Trk#4,
AUTOBLK:81 [AWT-EventQueue-0]
2020-05-10 21:20:16,310
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks Stg YD Storage Trk#4,
AUTOBLK:81 [AWT-EventQueue-0]
2020-05-10 21:20:16,311
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks Stg YD Storage Trk#4,
AUTOBLK:81 [AWT-EventQueue-0]
2020-05-10 21:20:16,312
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks Stg YD Storage Trk#4,
AUTOBLK:81 [AWT-EventQueue-0]
2020-05-10 21:20:16,317
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks 408-Xing, AUTOBLK:81
[AWT-EventQueue-0]
2020-05-10 21:20:16,318
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks 408-Xing, AUTOBLK:81
[AWT-EventQueue-0]
2020-05-10 21:20:16,319
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks 408-Xing, AUTOBLK:81
[AWT-EventQueue-0]
2020-05-10 21:20:16,320
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks 408-Xing, AUTOBLK:81
[AWT-EventQueue-0]
2020-05-10 21:20:16,320
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks 408-Xing, AUTOBLK:81
[AWT-EventQueue-0]
2020-05-10 21:20:16,323
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks 408-Xing, AUTOBLK:81
[AWT-EventQueue-0]
2020-05-10 21:20:16,324
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks 408-Xing, AUTOBLK:81
[AWT-EventQueue-0]
2020-05-10 21:20:16,325
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks 408-Xing, AUTOBLK:81
[AWT-EventQueue-0]
2020-05-10 21:20:16,326
layoutEditor.LayoutBlockManager?????? ERROR -
Block Boundary not identified correctly - Blocks 408-Xing, AUTOBLK:81
[AWT-EventQueue-0] |
Locked
Re: AbstractAutomaton and stop()
#scripting
The indenting in the example code on my last post looks wrong - sorry.
Should be more like this: ? ? class Foo : ? ? ? ? def init(): ? ? ? ? ? ? .... ? ? ? ? ? ? return ? ? def handle() : ? ? ? ? def doingSomething(): ? ? ? ? def andSomthingElse(): ? ? ? ? ? ? return True ? ? a = Foo() ? ? a.setName(Blah) ? ? a.start() |
Locked
Re: Win XP and JMRI 4.18
#windows-xp
#4-18
Running NTFS? on this Lenovo T60, but no anti V.
I re ran the Recreate Decoder Index because I had noticed something..? This was not showing up in the session.log once JMRI terminated. 2020-05-10 23:04:50,578 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main] 2020-05-10 23:04:50,625 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Documents and Settings\Marc\JMRI\log\messages.log [main] 2020-05-10 23:04:50,625 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Documents and Settings\Marc\JMRI\log\session.log [main] 2020-05-10 23:04:50,640 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.18+R37ad3d0 starts under Java 1.8.0_66 on Windows XP x86 v5.1 at Sun May 10 23:04:50 EDT 2020 [main] 2020-05-10 23:04:51,187 gui3.Apps3??????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3eb4d697 [main] 2020-05-10 23:04:51,437 node.NodeIdentity???????????????????? INFO? - Using 584efce5-bdd3-4d02-8a42-0ff38e279336 as the JMRI storage identity for profile id 3eb4d697 [AWT-EventQueue-0] 2020-05-10 23:04:51,750 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main] 2020-05-10 23:04:52,343 locobufferusb.LocoBufferUsbAdapter??? INFO? - LocoBuffer-USB adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main] 2020-05-10 23:04:52,343 locobuffer.LocoBufferAdapter????????? INFO? - COM3 port opened at 57600 baud with DTR: true RTS: true DSR: true CTS: true? CD: false [main] 2020-05-10 23:04:52,515 loconet.LnPacketizer????????????????? INFO? - lnPacketizer Started [main] 2020-05-10 23:04:53,375 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main] 2020-05-10 23:04:53,375 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ [main] 2020-05-10 23:04:53,375 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ [main] 2020-05-10 23:04:53,375 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Documents and Settings\Marc\JMRI\ [main] 2020-05-10 23:04:53,390 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Documents and Settings\Marc\ [main] 2020-05-10 23:04:53,390 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files\JMRI\jython\ [main] 2020-05-10 23:06:20,109 decoderdefn.DecoderIndexFile????????? INFO? - update decoder index [AWT-EventQueue-0] Warning:? org.jdom2.transform.JDOMSource$DocumentReader: http://javax.xml.XMLConstants/property/accessExternalDTD Warning:? org.jdom2.transform.JDOMSource$DocumentReader: http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit Warning:? org.jdom2.transform.JDOMSource$DocumentReader: http://javax.xml.XMLConstants/property/accessExternalDTD Warning:? org.jdom2.transform.JDOMSource$DocumentReader: http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit Warning:? org.jdom2.transform.JDOMSource$DocumentReader: http://javax.xml.XMLConstants/property/accessExternalDTD Warning:? org.jdom2.transform.JDOMSource$DocumentReader: http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit Warning:? org.jdom2.transform.JDOMSource$DocumentReader: http://javax.xml.XMLConstants/property/accessExternalDTD Warning:? org.jdom2.transform.JDOMSource$DocumentReader: - - - - 2020-05-10 23:04:50,578 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main] 2020-05-10 23:04:50,625 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Documents and Settings\Marc\JMRI\log\messages.log [main] 2020-05-10 23:04:50,625 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Documents and Settings\Marc\JMRI\log\session.log [main] 2020-05-10 23:04:50,640 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.18+R37ad3d0 starts under Java 1.8.0_66 on Windows XP x86 v5.1 at Sun May 10 23:04:50 EDT 2020 [main] 2020-05-10 23:04:51,187 gui3.Apps3??????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3eb4d697 [main] 2020-05-10 23:04:51,437 node.NodeIdentity???????????????????? INFO? - Using 584efce5-bdd3-4d02-8a42-0ff38e279336 as the JMRI storage identity for profile id 3eb4d697 [AWT-EventQueue-0] 2020-05-10 23:04:51,750 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main] 2020-05-10 23:04:52,343 locobufferusb.LocoBufferUsbAdapter??? INFO? - LocoBuffer-USB adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main] 2020-05-10 23:04:52,343 locobuffer.LocoBufferAdapter????????? INFO? - COM3 port opened at 57600 baud with DTR: true RTS: true DSR: true CTS: true? CD: false [main] 2020-05-10 23:04:52,515 loconet.LnPacketizer????????????????? INFO? - lnPacketizer Started [main] 2020-05-10 23:04:53,375 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main] 2020-05-10 23:04:53,375 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ [main] 2020-05-10 23:04:53,375 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ [main] 2020-05-10 23:04:53,375 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Documents and Settings\Marc\JMRI\ [main] 2020-05-10 23:04:53,390 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Documents and Settings\Marc\ [main] 2020-05-10 23:04:53,390 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files\JMRI\jython\ [main] 2020-05-10 23:06:20,109 decoderdefn.DecoderIndexFile????????? INFO? - update decoder index [AWT-EventQueue-0] 2020-05-10 23:31:09,140 managers.DefaultShutDownManager?????? INFO? - Normal termination complete [AWT-EventQueue-0] Probably has no bearing but found it strange. Marc |
Locked
Re: AbstractAutomaton and stop()
#scripting
Once again I've learned more about scripting from you.? As a learner I don't really know much about classes, objects, threads etc., so your explanation was helpful.? Thank you
I have now named my objects using the setName() function, and the thread monitor list is much neater. I also saw an anticipated failure of my logic steps I listed earlier, in that if I stopped the locos first, then stopped the individual objects, there was a small chance that a loco might run onto a sensor in the small time between being stopped by the emergency stop script, and it's own controlling object being stopped, which might mean the loco was started again (although it hasn't happened yet).? So I'm now killing the objects as the first steps, then stopping the locos. One more question if I may.? If a file on disk has the following basic structure: class Foo : ? ? ? ? def init(): ? ? ? ? ? ? .... ? ? ? ? ? ? return def handle() : def doingSomething(): def andSomthingElse(): ? ? ? ? ? ? return True ? ? a = Foo() ? ? a.setName(Blah) ? ? a.start() and that script has been run within JMRI, is the object "a" then global, and could another script (e.g. my emergency stop script) simply call: ? ? a.stop() Or am I completely wrong? |
Locked
Re: Win XP and JMRI 4.18
#windows-xp
#4-18
Marc, I found an Oracle bug report that seems potentially relevant. ?It talks about a NTFS issue that can be aggravated by anti-virus software. ?The machine in question is WinXP Pro with NTFS and Avast. Dave Sand ----- Original message ----- From:?forfoum@... Subject: Re: [jmriusers] Win XP and JMRI 4.18 Date: Sunday, May 10, 2020 9:23 PM For what it is worth. I went thru the steps of installing WinXP, JAVA 1.8.0_066, JMRI 4.18 on one of my Lenovo laptops.? So this is a NEW install from scratch.? NO issue encountered. The console log reports Windows XP as running? and the recreate Index ends proper.? Windows XP Pro 2002, SP3 2020-05-10 22:05:11,265 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main] 2020-05-10 22:05:11,296 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Documents and Settings\Marc\JMRI\log\messages.log [main] 2020-05-10 22:05:11,296 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Documents and Settings\Marc\JMRI\log\session.log [main] 2020-05-10 22:05:11,312 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.18+R37ad3d0 starts under Java 1.8.0_66 on Windows XP x86 v5.1 at Sun May 10 22:05:11 EDT 2020 [main] 2020-05-10 22:05:11,734 gui3.Apps3??????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3eb4d697 [main] 2020-05-10 22:05:11,968 node.NodeIdentity???????????????????? INFO? - Using 584efce5-bdd3-4d02-8a42-0ff38e279336 as the JMRI storage identity for profile id 3eb4d697 [AWT-EventQueue-0] 2020-05-10 22:05:12,203 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main] 2020-05-10 22:05:12,750 locobufferusb.LocoBufferUsbAdapter??? INFO? - LocoBuffer-USB adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main] 2020-05-10 22:05:12,750 locobuffer.LocoBufferAdapter????????? INFO? - COM3 port opened at 57600 baud with DTR: true RTS: true DSR: true CTS: true? CD: false [main] 2020-05-10 22:05:12,906 loconet.LnPacketizer????????????????? INFO? - lnPacketizer Started [main] 2020-05-10 22:05:13,421 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main] 2020-05-10 22:05:13,421 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ [main] 2020-05-10 22:05:13,437 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ [main] 2020-05-10 22:05:13,437 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Documents and Settings\Marc\JMRI\ [main] 2020-05-10 22:05:13,437 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Documents and Settings\Marc\ [main] 2020-05-10 22:05:13,437 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files\JMRI\jython\ [main] 2020-05-10 22:05:36,609 decoderdefn.DecoderIndexFile????????? INFO? - update decoder index [AWT-EventQueue-0] 2020-05-10 22:09:38,093 managers.DefaultShutDownManager?????? INFO? - Normal termination complete [AWT-EventQueue-0] Interesting. Marc |
Locked
Re: Win XP and JMRI 4.18
#windows-xp
#4-18
For what it is worth.
I went thru the steps of installing WinXP, JAVA 1.8.0_066, JMRI 4.18 on one of my Lenovo laptops.? So this is a NEW install from scratch.? NO issue encountered. The console log reports Windows XP as running? and the recreate Index ends proper.? Windows XP Pro 2002, SP3 2020-05-10 22:05:11,265 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main] 2020-05-10 22:05:11,296 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Documents and Settings\Marc\JMRI\log\messages.log [main] 2020-05-10 22:05:11,296 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Documents and Settings\Marc\JMRI\log\session.log [main] 2020-05-10 22:05:11,312 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.18+R37ad3d0 starts under Java 1.8.0_66 on Windows XP x86 v5.1 at Sun May 10 22:05:11 EDT 2020 [main] 2020-05-10 22:05:11,734 gui3.Apps3??????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3eb4d697 [main] 2020-05-10 22:05:11,968 node.NodeIdentity???????????????????? INFO? - Using 584efce5-bdd3-4d02-8a42-0ff38e279336 as the JMRI storage identity for profile id 3eb4d697 [AWT-EventQueue-0] 2020-05-10 22:05:12,203 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main] 2020-05-10 22:05:12,750 locobufferusb.LocoBufferUsbAdapter??? INFO? - LocoBuffer-USB adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main] 2020-05-10 22:05:12,750 locobuffer.LocoBufferAdapter????????? INFO? - COM3 port opened at 57600 baud with DTR: true RTS: true DSR: true CTS: true? CD: false [main] 2020-05-10 22:05:12,906 loconet.LnPacketizer????????????????? INFO? - lnPacketizer Started [main] 2020-05-10 22:05:13,421 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main] 2020-05-10 22:05:13,421 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ [main] 2020-05-10 22:05:13,437 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Documents and Settings\Marc\JMRI\My_JMRI_Railroad.jmri\ [main] 2020-05-10 22:05:13,437 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Documents and Settings\Marc\JMRI\ [main] 2020-05-10 22:05:13,437 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Documents and Settings\Marc\ [main] 2020-05-10 22:05:13,437 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files\JMRI\jython\ [main] 2020-05-10 22:05:36,609 decoderdefn.DecoderIndexFile????????? INFO? - update decoder index [AWT-EventQueue-0] 2020-05-10 22:09:38,093 managers.DefaultShutDownManager?????? INFO? - Normal termination complete [AWT-EventQueue-0] Interesting. Marc |
Locked
Re: Is there any way to make JMRI throttle to use 32 functions instead of 28
#jmrithrottle
#functions
#esu-decoders
¿ªÔÆÌåÓýJames, On 11 May 2020, at 11:39 AM, Jamos Bond <jambri@...> wrote: Esu so762 Thanks. I've downloaded?ESU?S0762 "EMD 12-567A 2EXH NT" Is that correct? I can't get to my Windows VM to run LokProgrammer and delve at present. I'll do so when I get a chance. Dave in Australia ? |
Locked
Re: Is there any way to make JMRI throttle to use 32 functions instead of 28
#jmrithrottle
#functions
#esu-decoders
James,
On 11 May 2020, at 11:11 AM, Jamos Bond <jambri@...> wrote:LokSound 5 no longer has a special Random Sound slot. That's good because the average user couldn't modify individual sound levels or presence with that old system. With LokSound 5, each random sound has to live in a sound slot. That sound slot must be then be mapped to an F key so the Random Button Pusher can activate it (with the frequency you desire). Overall a better system, but uses more F keys. The upsides are; you can use that F key to activate the sound manually as well and that you can have random lighting effects as well. Dave in Australia |
Locked
Re: Is there any way to make JMRI throttle to use 32 functions instead of 28
#jmrithrottle
#functions
#esu-decoders
Esu so762 On Sun, May 10, 2020, 9:33 PM Dave Heap <dgheap@...> wrote: James, |
Locked
Re: Is there any way to make JMRI throttle to use 32 functions instead of 28
#jmrithrottle
#functions
#esu-decoders
James,
On 11 May 2020, at 11:06 AM, Jamos Bond <jambri@...> wrote:Is it: 1) An ESU project file? 2) An ESU project file you've modified? 3) An custom project file you've created? If (1) or (2) give me the ESU project number. If (2) or (3) you'll need to upload or get me the file somehow. Dave in Australia |
Locked
Re: Is there any way to make JMRI throttle to use 32 functions instead of 28
#jmrithrottle
#functions
#esu-decoders
one more question. I liked the default random noises that the tran made when turned off that was from the factory Walthers Proto. I do not get that with this project file. It was making occasional popoff noises now it doesn't but i do not see that sound in JMRI to make it a random noise. Would I load that sound with ESU programmer and then use it as a random sound when engine is turned off?? Also would it take a function or can i program a sound without a function assigned?
|
Locked
Re: Is there any way to make JMRI throttle to use 32 functions instead of 28
#jmrithrottle
#functions
#esu-decoders
yes i can upload the project file if you want to see it. I agree Soundfader just turns the sound off and on. I can use f8 to do that I like to hear the engine start and stop normally. If i want to cut the sound i will just hit the stop button on the ecos 5200. James |
Locked
Re: Ops: problems importing cars
#operationspro
Apologies for the delayed response: was out on a bike ride. Furthermore, I don't think that I can add anything meaningful except thanks again to all of you for all of your work.
Sam |
Locked
Re: Win XP and JMRI 4.18
#windows-xp
#4-18
Bob,
toggle quoted message
Show quoted text
I have determined that the problem appears to occur in jmri.util.FileUtilSupport.findFiles. It does not return the set of found files. I did some code modifications to help find the point of failure which required transferring the modified jar file to the XP system. The XP system has 4.19.6 installed. 2020-05-10 16:03:17,375 decoderdefn.DecoderIndexFile DEBUG - DecoderIndexFile creating instance: jmri.jmrit.decoderdefn.DecoderIndexFile@62cba9 [initialize decoder index] 2020-05-10 16:03:17,375 decoderdefn.DecoderIndexFile DEBUG - readFile decoderIndex.xml [initialize decoder index] 2020-05-10 16:03:18,437 decoderdefn.DecoderIndexFile DEBUG - found fileVersion of 1004 [initialize decoder index] 2020-05-10 16:03:18,453 decoderdefn.DecoderIndexFile DEBUG - readMfgSection sees 168 children [initialize decoder index] 2020-05-10 16:03:18,578 decoderdefn.DecoderIndexFile DEBUG - DecoderIndexFile before update: jmri.jmrit.decoderdefn.DecoderIndexFile@62cba9 [initialize decoder index] 2020-05-10 16:03:18,593 decoderdefn.DecoderIndexFile DEBUG - DecoderIndexFile try update: jmri.jmrit.decoderdefn.DecoderIndexFile@62cba9 [initialize decoder index] 2020-05-10 16:03:18,593 util.FileUtilSupport INFO - findFiles: name = decoderIndex.xml, root = C:\Program Files\JMRI\. [initialize decoder index] .......... The return from findFiles is missing due to the NPE. It should look like the following: 2020-05-10 16:07:08,498 util.FileUtilSupport INFO - findFiles: return = [/Users/das/Git/JMRI/xml/decoderIndex.xml] [initialize decoder index] ......... 2020-05-10 16:03:18,593 decoderdefn.DecoderIndexFile INFO - updateIndexIfNeeded failed: {} [initialize decoder index] java.lang.NullPointerException at java.nio.file.FileTreeWalker.next(Unknown Source) at java.nio.file.Files.walkFileTree(Unknown Source) at java.nio.file.Files.walkFileTree(Unknown Source) at jmri.util.FileUtilSupport.findFiles(FileUtilSupport.java:283) at jmri.util.FileUtilSupport.findFiles(FileUtilSupport.java:253) at jmri.util.FileUtilSupport.findFiles(FileUtilSupport.java:214) at jmri.util.FileUtil.findFiles(FileUtil.java:174) at jmri.jmrit.decoderdefn.DecoderIndexFile.updateIndexIfNeeded(DecoderIndexFile.java:254) at jmri.jmrit.decoderdefn.DecoderIndexFile$Initializer.getDefault(DecoderIndexFile.java:682) at jmri.InstanceManager.getInstance(InstanceManager.java:321) at jmri.InstanceManager.getNullableDefault(InstanceManager.java:233) at jmri.InstanceManager.getDefault(InstanceManager.java:204) at apps.Apps.lambda$new$2(Apps.java:357) at java.lang.Thread.run(Unknown Source) 2020-05-10 16:03:18,609 util.FileUtilSupport INFO - findFiles: name = decoderIndex.xml, root = C:\Program Files\JMRI\. [initialize decoder index] 2020-05-10 16:03:18,625 decoderdefn.DecoderIndexFile ERROR - Exception during decoder index update: [initialize decoder index] java.lang.NullPointerException at java.nio.file.FileTreeWalker.next(Unknown Source) at java.nio.file.Files.walkFileTree(Unknown Source) at java.nio.file.Files.walkFileTree(Unknown Source) at jmri.util.FileUtilSupport.findFiles(FileUtilSupport.java:283) at jmri.util.FileUtilSupport.findFiles(FileUtilSupport.java:253) at jmri.util.FileUtilSupport.findFiles(FileUtilSupport.java:214) at jmri.util.FileUtil.findFiles(FileUtil.java:174) at jmri.jmrit.decoderdefn.DecoderIndexFile.updateIndexIfNeeded(DecoderIndexFile.java:259) at jmri.jmrit.decoderdefn.DecoderIndexFile$Initializer.getDefault(DecoderIndexFile.java:682) at jmri.InstanceManager.getInstance(InstanceManager.java:321) at jmri.InstanceManager.getNullableDefault(InstanceManager.java:233) at jmri.InstanceManager.getDefault(InstanceManager.java:204) at apps.Apps.lambda$new$2(Apps.java:357) at java.lang.Thread.run(Unknown Source) 2020-05-10 16:03:18,625 decoderdefn.DecoderIndexFile DEBUG - DecoderIndexFile returns instance jmri.jmrit.decoderdefn.DecoderIndexFile@62cba9 [initialize decoder index] 2020-05-10 16:03:18,625 jmri.InstanceManager DEBUG - initializer created default of jmri.jmrit.decoderdefn.DecoderIndexFile [initialize decoder index] Dave Sand ----- Original message -----
From: Dave Sand <ds@...> To: "[email protected]" <[email protected]> Subject: Re: [jmriusers] Win XP and JMRI 4.18 Date: Saturday, May 09, 2020 11:19 PM Bob, The JMRI 4.0 install was removed using Control Panel and Windows Explorer. The user JMRI directory was renamed. JMRI 4.18 was installed. To JMRI it looks like a new JMRI install. The first PanelPro run creates the Settings structure and the default profile. After setting the connection to a LocoBuffer-USB and adding the JMRI console log to start up actions, I do a save and restart. Except the restart never occurs since the PanelPro process stills active in the Task Manager Processes pane but not in the Applications pane. After killing the process, I can start PanelPro and it comes up successfully, except for the decoder index error, which occurs in both the original startup and second one. An attempt to re-create the decoder index results in a Java exception. Dave Sand ----- Original message ----- From: Bob Jacobsen <rgj1927@...> To: [email protected] Subject: Re: [jmriusers] Win XP and JMRI 4.18 Date: Saturday, May 09, 2020 10:39 PM I suggest moving the roster folder and roster.xml file aside to see if you can get it to start up. Alternately, just move the roster.xml file. Do you have anything decoder-related in the PanelPro startup actions? Bob On May 9, 2020, at 4:30 PM, Dave Sand <ds@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Ops: problems importing cars
#operationspro
Allowing null fields would fix it I believe...that's what I had to do when I made my home brew program in perl....I could import files from jrmi, ship-it, interchange, flat file/CVS style, access and excel spreadsheets....I allowed null fields and I could extract fields I needed ..mostly just roadname, road number, car or loco types. On May 10, 2020 5:38 PM, Dan Boudreau <daboudreau@...> wrote: The code has been modified by one of the other JMRI programmers, and is a bit broken.? I found that I could import his files if I added 10 extra commas to each line.? The original code accepted variable length input fields, but now the code is hardwired to search and expect 18 fields. |
Locked
Re: Ops: problems importing cars
#operationspro
The code has been modified by one of the other JMRI programmers, and is a bit broken.? I found that I could import his files if I added 10 extra commas to each line.? The original code accepted variable length input fields, but now the code is hardwired to search and expect 18 fields.
2635,MILW,R5,50,,Brown,Sam,02-64,,,,,,,,,,
3571,THB,B2,40,,Yellow,Sam,05-53,,,,,,,,,,
7675,SHPX,T5,39,,Black,Sam,03-48,,,,,,,,,,
29538,MILW,B2,40,,Brown,Sam,05-44,,,,,,,,,,
30371,MILW,B2,40,,Brown,Sam,03-61,,,,,,,,,, |
to navigate to use esc to dismiss