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
Search
Locked 4.17.8 breaks WiThrottle
I just installed 4.17.8 on Windows 10.? WiThrottle is broken.? I can start the WiThottle Server and it advertises it self correctly - on my system it is 192.168.1.75:12090.? I use Engine Driver on my Samsung S4 and it works correctly on my previous release - 4.12 - but on 4.17.8 Engine Driver shows connected but the WiThrottle Server does not list my phone and I have no control from Engine Driver.? I cannot control layout power (Digitrax) and I cannot select a loco.? Furthermore if I stop Engine Driver I can no longer get it to appear connected.? I have to restart JMRI to get a new connection attempt.?
-- Dale Gloer Layout Supervisor, Southern Alberta Model Railway Club |
Hi Dale,
A couple of things to try: 1) Connect to my demo server (jmri.mstevetodd.com:44444) It is also running 4.17.8, and works fine in my testing. 2) Check your JMRI System console for any ERROR messages or crashes. The symptom of having to restart JMRI indicates a crash to me. 3) Restart JMRI with a new, clean profile, starting ONLY the WiThrottle server. Do not point it to your existing user files. Trying to determine if this is related to data (e.g. something in your roster, panel, etc.) Please advise results. --SteveT |
Just tried at home using LocoNet Simulator. Unable to try on club layout for a couple weeks.
Windows 10 Engine Driver version 2.24.93 I was able to select and "control" several different locos. I was also able to exit Engine Driver and restart it with it connecting to the WiThrottle server correctly. What version of Engine Driver are you using Dale? -- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
Steve,
Connecting to your server works.? Starting with a clean profile also works.? Here is the log form a failed startup.? Seems like something to do with a consist file. I found a consist xml file under my roster, can I just delete it?? Will deleting it fix the error?? I appended the contents below the log. 2019-12-19 16:03:44,371 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main] 2019-12-19 16:03:44,403 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\Owner\JMRI\log\messages.log [main] 2019-12-19 16:03:44,403 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\Owner\JMRI\log\session.log [main] 2019-12-19 16:03:44,418 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.17.8+R7c13c6b starts under Java 1.8.0_231 on Windows 10 amd64 v10.0 at Thu Dec 19 16:03:44 MST 2019 [main] 2019-12-19 16:03:47,715 gui3.Apps3??????????????????????????? INFO? - Starting with profile DecoderPro_3.3f64e1c9 [main] 2019-12-19 16:03:48,059 node.NodeIdentity???????????????????? INFO? - Using jmri-hP23Fc2xbhNiaajaOJGmE9-3f64e1c9 as the JMRI storage identity for profile id 3f64e1c9 [AWT-EventQueue-0] 2019-12-19 16:03:49,278 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main] 2019-12-19 16:03:50,106 locobufferusb.LocoBufferUsbAdapter??? INFO? - LocoBuffer-USB adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main] 2019-12-19 16:03:50,106 locobuffer.LocoBufferAdapter????????? INFO? - COM4 port opened at 57600 baud with DTR: true RTS: true DSR: true CTS: true? CD: false [main] 2019-12-19 16:03:50,199 loconet.LnPacketizer????????????????? INFO? - lnPacketizer Started [main] 2019-12-19 16:03:50,903 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main] 2019-12-19 16:03:50,903 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Owner\JMRI\ [main] 2019-12-19 16:03:50,903 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Owner\JMRI\DecoderPro_3\ [main] 2019-12-19 16:03:50,903 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Owner\JMRI\ [main] 2019-12-19 16:03:50,903 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Owner\ [main] 2019-12-19 16:03:50,903 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main] 2019-12-19 16:03:52,402 roster.RosterEntry??????????????????? ERROR - Illegal format for DCC address roster entry: "DS54 number 1" value: "" [main] 2019-12-19 16:03:52,402 roster.RosterEntry??????????????????? ERROR - Illegal format for DCC address roster entry: "DS54 number 1" value: "" [main] 2019-12-19 16:03:52,402 roster.RosterEntry??????????????????? ERROR - Illegal format for DCC address roster entry: "DS54 number 1" value: "" [main] 2019-12-19 16:03:52,402 roster.RosterEntry??????????????????? ERROR - Illegal format for DCC address roster entry: "DS54 number 1" value: "" [main] 2019-12-19 16:03:52,402 roster.RosterEntry??????????????????? ERROR - Illegal format for DCC address roster entry: "DS54 number 1" value: "" [main] 2019-12-19 16:03:52,402 roster.RosterEntry??????????????????? ERROR - Illegal format for DCC address roster entry: "DS54 number 1" value: "" [main] 2019-12-19 16:03:52,418 roster.RosterEntry??????????????????? ERROR - Illegal format for DCC address roster entry: "DS54 number 1" value: "" [main] 2019-12-19 16:03:52,512 roster.RosterEntry??????????????????? ERROR - Illegal format for DCC address roster entry: "DS54 number 1" value: "" [main] 2019-12-19 16:04:04,105 withrottle.FacelessServer???????????? INFO? - Published ZeroConf service for 'coyote flats sub._withrottle._tcp.local.' on 192.168.1.75:12090 [WiThrottleServer] 2019-12-19 16:04:04,105 withrottle.FacelessServer???????????? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer] 2019-12-19 16:04:24,886 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [WiThrottleServer] java.lang.NullPointerException ??? at jmri.jmrit.consisttool.ConsistFile.readLocoAddress(ConsistFile.java:174) ??? at jmri.jmrit.consisttool.ConsistFile.readConsistLocoList(ConsistFile.java:103) ??? at jmri.jmrit.consisttool.ConsistFile.consistFromXml(ConsistFile.java:89) ??? at jmri.jmrit.consisttool.ConsistFile.readFile(ConsistFile.java:265) ??? at jmri.jmrit.consisttool.ConsistFile.readFile(ConsistFile.java:237) ??? at jmri.jmrit.withrottle.ConsistController.<init>(ConsistController.java:55) ??? at jmri.jmrit.withrottle.WiThrottleManager.getConsistController(WiThrottleManager.java:43) ??? at jmri.jmrit.withrottle.DeviceServer.addControllers(DeviceServer.java:543) ??? at jmri.jmrit.withrottle.DeviceServer.<init>(DeviceServer.java:160) ??? at jmri.jmrit.withrottle.FacelessServer.listen(FacelessServer.java:68) ??? at jmri.jmrit.withrottle.DeviceManager$DeviceManagerThread.run(DeviceManager.java:63) INFO? - Normal termination complete [AWT-EventQueue-0] ========? consist file contents ======== <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="/xml/XSLT/consistRoster.xsl" type="text/xsl"?> <!DOCTYPE consist-roster-config SYSTEM "/xml/DTD/consist-roster-config.dtd"> <consist-roster-config> ? <!--Written by JMRI version 4.11.5ish+jenkins+20180327T1548Z+R0b1590a on Tue Apr 10 11:16:12 MDT 2018--> ? <roster> ??? <consist id="0(S)" consistNumber="0" longAddress="no" type="CSAC"> ????? <loco dccLocoAddress="0" longAddress="no" locoDir="normal" locoName="lead" /> ??? </consist> ??? <consist id="8145(L)" consistNumber="8145" longAddress="yes" type="CSAC"> ????? <loco dccLocoAddress="8145" longAddress="yes" locoDir="normal" locoName="lead" /> ????? <loco dccLocoAddress="8163" longAddress="yes" locoDir="normal" locoName="rear" /> ??? </consist> ??? <consist id="8209(L)" consistNumber="8209" longAddress="yes" type="CSAC"> ????? <loco dccLocoAddress="8209" longAddress="yes" locoDir="normal" locoName="lead" /> ????? <loco dccLocoAddress="5019" longAddress="yes" locoDir="normal" locoName="rear" /> ??? </consist> ??? <consist id="8410(L)" consistNumber="8410" longAddress="yes" type="CSAC"> ????? <loco dccLocoAddress="8410" longAddress="yes" locoDir="normal" locoName="lead" /> ????? <loco dccLocoAddress="8418" longAddress="yes" locoDir="reverse" locoName="rear" /> ??? </consist> ? </roster> </consist-roster-config> -- Dale Gloer Layout Supervisor, Southern Alberta Model Railway Club |
Steve,
a further update.? I attempted to run the Consist manager and it failed with the same messages as in the log that I posted - so my guess is that there is something in the Consist file that is a problem.? As you can see that file was written by 4.11.5ish + ... -- Dale Gloer Layout Supervisor, Southern Alberta Model Railway Club |
I uploaded the file as consist_old.xml to the files area.?
I renamed consist.xml to consist_old.xml and started WiThrottle.? WiThrrottle works correctly without the consist.xml file (can't find it since I renamed it) so there is something in the file that breaks WiThrottle in 4.17.8 -- Dale Gloer Layout Supervisor, Southern Alberta Model Railway Club |
On Dec 20, 2019, at 11:39 AM, Dale Gloer <dale.gloer@...> wrote:Thanks for uploading the file. I will take a look at that and see if I can find out why it failed to load. Paul |
File moved to 'Problems being worked on" folder
/g/jmriusers/files/ProblemsBeingWorkedOn/consist_old.xml -- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
to navigate to use esc to dismiss