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 Problem migrating Panelpro from Windows XP with MS100 to a laptop with PR3 connection
I used to have that problem until I tried??
On Monday, October 28, 2019, 01:18:52 PM GMT-4, Dave Sand <ds@...> wrote:
John, I recommend that you solve one problem at a time.
Dave Sand ----- Original message ----- From: John Cornell <dr.jc.cornell@...> Subject: Re: [jmriusers] Problem migrating Panelpro from Windows XP with MS100 to a laptop with PR3 connection Date: Monday, October 28, 2019 11:47 AM (e) OK, it seems I had two panels -- one now deleted. But still no joy. Here is part of the log file: 2019-10-28 17:35:08,614 apps.Apps???????????????????????????? INFO? - PanelPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_221 on Windows 7 x86 v6.1 at Mon Oct 28 17:35:08 CET 2019 [main] 2019-10-28 17:35:18,302 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3e941fb0 [main] 2019-10-28 17:35:18,614 node.NodeIdentity???????????????????? INFO? - Using jmri-i7dpid3EbhOiaaWbE8LE61-3e941fb0 as the JMRI Node identity [AWT-EventQueue-0] 2019-10-28 17:35:18,879 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main] 2019-10-28 17:35:19,347 apps.PerformFileModel???????????????? INFO? - Loading file C:\Users\Lucas\JMRI\My_JMRI_Railroad.jmri\UserPrefsProfileConfig.xml [main] 2019-10-28 17:35:22,873 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main] 2019-10-28 17:35:22,873 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Lucas\JMRI\My_JMRI_Railroad.jmri\ [main] 2019-10-28 17:35:22,873 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Lucas\JMRI\My_JMRI_Railroad.jmri\ [main] 2019-10-28 17:35:22,873 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Lucas\JMRI\ [main] 2019-10-28 17:35:22,873 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Lucas\ [main] 2019-10-28 17:35:22,873 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files\JMRI\jython\ [main] 2019-10-28 17:35:23,512 PanelPro.PanelPro???????????????????? INFO? - Main initialization done [main] 2019-10-28 17:35:39,518 managers.AbstractTurnoutManager?????? ERROR - Invalid system name for turnout: LT1 needed IT [AWT-EventQueue-0] 2019-10-28 17:35:39,518 configurexml.ErrorHandler???????????? ERROR - Unexpected error (Exception) while load(/C:/Users/Lucas/JMRI/My_JMRI_Railroad.jmri/John's%20Control%20Panel.xml) in adaptor of type jmri.jmrix.loconet.configurexml.LnTurnoutManagerXml Exception: java.lang.IllegalArgumentException: Invalid system name for turnout: LT1 needed IT See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0] java.lang.IllegalArgumentException: Invalid system name for turnout: LT1 needed IT Strangely, the turnouts are now called ITLT1, etc., but still no details, so loconet still not connecting to the DCS51. How to I force it to do so -- i.e. with what startup file? |
John,
The log you provided is NOT actually connecting to a LocoNet connection. If it was, you would see specific information about serial connection settings in the log file. But they are not present, so the connection is NOT configured to communicate with a PR3! You will need to "fix" that first and foremost. I agree with the idea that you need to create a new "configuration" for the LocoBuffer-USB. See Dave Sand's e-mail for his suggestions on how to go about that. Be aware that Windows can be VERY unpredictable with respect to COM port assignments with some types of USB devices. You _cannot assume_ that any certain COM port number will be assigned to a given device. It is often necessary for Windows users to use the "Device Manager" feature to find out exactly which COM port was assigned to the device. Failure to configure JMRI to use the "correct" COM port number will result in a non-functional JMRI configuration. (Be aware that the JMRI 4.16 "production release" contains a bug which prevents proper configuration of some serial and USB connections, including LocoBuffer-USB connections. JMRI test release 4.17.4 is the current test release - it does not have that bug.) Regards, Billybob |
John,
On 29 Oct 2019, at 3:08 AM, John Cornell <dr.jc.cornell@...> wrote:As others have pointed out, you failed to satisfactorily achieve the first step of my instructions: "- Set up a single connection to the PR3 with the same Connection Prefix as your old MS100 connection on XP (it's probably "L")." The error message below and the system log you posted prove that. (e) When I open my panel, I get an error that the COM3 port is in use -- but that is the port it should be!There is where you should have stopped and got advice. The rest was largely wasting your time as you had an overriding problem. Dave in Australia (f) I have copied all the files from the User Files Location on the XP. Note that these were so old that they did NOT have insensitive path coding! |
Thanks for the criticisms. I am no JMRI expert...
I set up a new connection. (Had to disable the previous connection, otherwise COM3 was "in use".).? Now all "Default" connections are Loconet and greyed out. Here is the log: 2019-10-29 10:43:42,383 apps.Apps???????????????????????????? INFO? - PanelPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_221 on Windows 7 x86 v6.1 at Tue Oct 29 10:43:42 CET 2019 [main] 2019-10-29 10:43:47,219 apps.Apps???????????????????????????? INFO? - Starting with profile My_Railway.3e797869 [main] 2019-10-29 10:43:47,500 node.NodeIdentity???????????????????? INFO? - Using jmri-i7dpid3EbhOiaaWbE8LE61-3e797869 as the JMRI Node identity [AWT-EventQueue-0] 2019-10-29 10:43:47,687 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main] 2019-10-29 10:43:48,077 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main] 2019-10-29 10:43:48,077 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Lucas\JMRI\My_Railway\ [main] 2019-10-29 10:43:48,077 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Lucas\JMRI\My_Railway\ [main] 2019-10-29 10:43:48,077 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Lucas\JMRI\ [main] 2019-10-29 10:43:48,077 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Lucas\ [main] 2019-10-29 10:43:48,077 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files\JMRI\jython\ [main] 2019-10-29 10:43:48,935 PanelPro.PanelPro???????????????????? INFO? - Main initialization done [main] I have not replaced My_JMRI_Railroad profile yet. (It's now called "My Railway".) -- I also got a strange Windows message saying "Device not installed"... :-( |
¿ªÔÆÌåÓýJohn, On 29 Oct 2019, at 9:02 PM, John Cornell <dr.jc.cornell@...> wrote: I set up a new connection. (Had to disable the previous connection, otherwise COM3 was "in use".). If you had two connections to the same device, that would cause the COM3 in use message. You should delete one or other of the connections (rather than just disabling it). ?Now all "Default" connections are Loconet and greyed out. That indicates the LocoNet connection didn't start. Here is the log: 2019-10-29 10:43:42,383 apps.Apps ????????????????????????????INFO ?- PanelPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_221 on Windows 7 x86 v6.1 at Tue Oct 29 10:43:42 CET 2019 [main] 2019-10-29 10:43:47,219 apps.Apps ????????????????????????????INFO ?- Starting with profile My_Railway.3e797869 [main] 2019-10-29 10:43:47,500 node.NodeIdentity ????????????????????INFO ?- Using jmri-i7dpid3EbhOiaaWbE8LE61-3e797869 as the JMRI Node identity [AWT-EventQueue-0] 2019-10-29 10:43:47,687 xml.AbstractSerialConnectionConfigXml INFO ?- Starting to connect for "LocoNet" [main] 2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path program: is C:\Program Files\JMRI\ [main] 2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path preference: is C:\Users\Lucas\JMRI\My_Railway\ [main] 2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path profile: is C:\Users\Lucas\JMRI\My_Railway\ [main] 2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path settings: is C:\Users\Lucas\JMRI\ [main] 2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path home: is C:\Users\Lucas\ [main] 2019-10-29 10:43:48,077 util.FileUtilSupport ?????????????????INFO ?- File path scripts: is C:\Program Files\JMRI\jython\ [main] 2019-10-29 10:43:48,935 PanelPro.PanelPro ????????????????????INFO ?- Main initialization done [main] The log confirms it. Nothing was started. No signs of a COM Port being opened. You need to delete on of the connections (so you only have one left). Then tell us exactly what you have set up in the remaining connection. I have not replaced My_JMRI_Railroad profile yet. (It's now called "My Railway".) Don't even think of doing that! -- I also got a strange Windows message saying "Device not installed"... :-( That's probably the key! You probably haven't got the correct (Windows 7) drivers for the PR3 properly downloaded and installed. The Digitrax users can explain how to do that. Looks like you get them from: <> Dave in Australia |
Hi, dunno why the PR3 lost its driver -- I had set it up from the CD supplied, and have done it again. Now:
019-10-29 13:09:56,989 apps.Apps???????????????????????????? INFO? - PanelPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_221 on Windows 7 x86 v6.1 at Tue Oct 29 13:09:56 CET 2019 [main] 2019-10-29 13:10:08,595 profile.ProfileManagerDialog????????? INFO? - Automatically starting with profile My_JMRI_Railroad.3f385185 after timeout. [AWT-EventQueue-0] 2019-10-29 13:10:08,595 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3f385185 [main] 2019-10-29 13:10:08,892 node.NodeIdentity???????????????????? INFO? - Using jmri-i7dpid3EbhOiaaWbE8LE61-3f385185 as the JMRI Node identity [AWT-EventQueue-0] 2019-10-29 13:10:09,063 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main] 2019-10-29 13:10:09,485 pr3.PR3Adapter??????????????????????? INFO? - PR3 adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main] 2019-10-29 13:10:09,500 locobuffer.LocoBufferAdapter????????? INFO? - COM3 port opened at 57600 baud with DTR: true RTS: true DSR: false CTS: false? CD: false [main] 2019-10-29 13:10:09,578 loconet.LnPacketizer????????????????? INFO? - lnPacketizer Started [main] 2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main] 2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Lucas\JMRI\My_JMRI_Railroad\ [main] 2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Lucas\JMRI\My_JMRI_Railroad\ [main] 2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Lucas\JMRI\ [main] 2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Lucas\ [main] 2019-10-29 13:10:09,875 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files\JMRI\jython\ [main] 2019-10-29 13:10:10,686 PanelPro.PanelPro???????????????????? INFO? - Main initialization done [main] All Loconet connections, none internal |
¿ªÔÆÌåÓýJohn, I know Dave said copy ALL user files, but I don't want to overwrite any preferences which are needed for the new connection... If you copy everything from the "User Files Location" (as specified by Help->Locations) on the old machine into the "User Files Location" on the new machine, you won't overwrite your connection preferences and other machine-specific preferences. They are now stored elsewhere in the "...<yourusername>\JMRI\" folder hierarchy. Note that (due to an accident of history) the "User Files Location" is called "preference:" in the JMRI System Console and in XML files. Dave in Australia |
Hooray! It finally works! Of course Windows decided to de-activate my COM3 port again, so had to re-install, and when I transferred to old My_JMRI_Railroad data, the connection reverted to the MS100 and COM1, but correcting those did the trick. - John in Cape Town, South Africa. |
to navigate to use esc to dismiss