¿ªÔÆÌåÓý

Locked Problem migrating Panelpro from Windows XP with MS100 to a laptop with PR3 connection


 

I have PanelPro running on an old PC with Windows XP and an MS100 connector to my DCS51 Zephyr controller. To operate my turnouts I just click the mouse on the turnout in the displayed panel. All works well.

Now I am trying to migrate the system to a laptop running Windows 7, and for the laptop I have to use a PR3 USB decoder/programmer. I set up a new version of JMRI on the laptop and I have copied all the JMRI files I can find from the Programs folder and the User Applications folder, but it still doesn't work. My "turnout table"in Panelpro lists the turnouts correctly, but not their descriptions (e.g. "Siding no. 1") and while the panel shows the turnouts switching when using the mouse, the actual turnouts are not switched.

Am I missing some data file somewhere, or do I have to set up my 40 turnouts (i.e. 10 decoders) all over again to get them working? (Note that I only use Loconet to connect the computer to the DCS51, but all my decoders are linked via the track.)

Any advice would be greatly appreciated!


 

It sounds like PanelPro isn¡¯t loading your configuration information properly.

That¡¯s a bit confusing, because it¡¯s getting the turnout numbers OK: LocoNet-attached turnout decoders (liks a DS64) can tell JMRI about themselves, but ones only attached to the track can¡¯t.

Do you have your PanelPro Preferences set to read a panel file? That would be an entry under the Start Up pane in the Preferences.

As to not switching properly: First, check that the LocoNet connection is working. Select the LocoNet Stats item from the LocoNet menu, and see if that window opens and shows some status numbers. If not, JMRI isn¡¯t talking to the PR3 properly, so we can help you sort that out.

Bob

On Oct 27, 2019, at 6:54 AM, John Cornell <dr.jc.cornell@...> wrote:

I have PanelPro running on an old PC with Windows XP and an MS100 connector to my DCS51 Zephyr controller. To operate my turnouts I just click the mouse on the turnout in the displayed panel. All works well.

Now I am trying to migrate the system to a laptop running Windows 7, and for the laptop I have to use a PR3 USB decoder/programmer. I set up a new version of JMRI on the laptop and I have copied all the JMRI files I can find from the Programs folder and the User Applications folder, but it still doesn't work. My "turnout table"in Panelpro lists the turnouts correctly, but not their descriptions (e.g. "Siding no. 1") and while the panel shows the turnouts switching when using the mouse, the actual turnouts are not switched.

Am I missing some data file somewhere, or do I have to set up my 40 turnouts (i.e. 10 decoders) all over again to get them working? (Note that I only use Loconet to connect the computer to the DCS51, but all my decoders are linked via the track.)

Any advice would be greatly appreciated!
--
Bob Jacobsen
rgj1927@...


 

John,

It sounds like you didn't move a panel file that contained those user names
for the turnouts. Or you moved it but didn't add the file to the startup
options so it got loaded at startup.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


 

Thanks Ken. What is odd is that it DID get the turnout names, but not the descriptive names. How do I add it the xml file to the startup options? This is news to me! :-(

I also noted that the xml file referred to the wrong file structure, (XP version instead of Win 7) but editing it with Notepad didn't seem to help.

- John.


 

Thanks Bob. Sounds as though I should link up the decoders with Loconet! :-( But I'll check the Start Up preferences first...


 

John,

With Digitrax, JMRI will ask and learn about sensors and turnouts without a
panel file to give meaningful names to them. So if you are seeing the LT123
but no descriptive name, that's the system name only and it learned it from
the LocoNet.

Go to Edit->Preferences->Startup, there you may pick to load a file during
the startup sequence.

Now it depends on how old the old system was. Anything in the last couple of
years was using localized names for the paths. So that should have followed
ok. A really old file would have the old path, like C:\Documents and
Settings\username\JMRI... Anything newer would have something with
preferences: or other with the colon to use known paths instead.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


 

What version of JMRI are you running on your old computer?
What version of JMRI did you install on the new computer?

From the 4.16 release notes:
If you are currently using JMRI 4.11.9 or earlier, we strongly recommend that you update to JMRI 4.12 and make sure that's running OK before updating to this release. Once you have JMRI 4.12 running OK, store your configuration and panel files and use those from then on. There have been a number of changes in serial port support, panel file format and configuration options since those earlier releases, and moving to the stable JMRI 4.12 release is a good way to work through any possible problems.

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


 

Hi Peter -- yes, I have loaded a new version of JMRI onto the Laptop. I find it a bit difficult to see which configuration files are used, as there seem to several ones in different JMRI files... I don't know wich old version is running on the old PC, but it was loaded several years ago!

As Ken said, " A really old file would have the old path, like C:\Documents and Settings\username\JMRI..." wich is the case for the old PC.

The question is: should I set up the decoders again, or can I use the existing preferences/profile files with the new version of JMRI?

-John


 

Hi Peter,

Because I have copied over stuff from the PC to the laptop, I now have too many JMRI "profile" files, so I'll follow your advice and uninstall JMRI and re-install a clean copy of 4.12. Can you tell me which folders or files I need to copy and where exactly they should now go. I know that the URLs have changed -- easy to correct -- but I have read here that some filenames have also changed.

All I need in Panelpro are the panel itself and the turnouts with their links to the decoders. Thanks.

- John (in a different time-zone)


 

OK, I loaded JMRI 4.16 onto the laptop. I notice that the User/John folder still contains JMRI files, including My_JMRI_Railroad - from the old PC. Should this be enough to do the trick? Or are these now redundant?

-John


 

Hi again,

I upgraded to JMRI 4.16, and PanelPro seems to be trying to read the xml file in My_JMRI_Railroad.jmri, but I get a strange error:

"LT1 needed IT followed by a suffix". Any idea what this means?

-John ?


 

John,

The JMRI directory under the user account is what needs to move. At least
almost all the time. If you had customized anything in the \Program
Files\JMRI, then we'd need to correct that stuff too. But that is very
seldom somebody put something in there.

There is a correct way to have files that override the installed files, but
we'll first figure out if that's what is needed later.

So clear out the old JMRI install and parts. So do the program uninstall,
then make sure \Program Files (x86)\JMRI is gone. Then make sure
\users\your_user_name\JMRI is gone.

Do the install of JMRI 4.12. Then copy the \Documents and
Settings\your_user_name\JMRI to the \users\your_user_name\JMRI on this new
box. Make sure you don't end up with the wrong levels like
\users\your_user_name\JMRI\JMRI, one JMRI is enough.

Run with it. Report your errors. Likely you should copy/paste the whole
Help->System Console, put in the email and we'll figure it out. After any
corrections there, then we can move to the current version.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


 

John,

"LT1 needed IT followed by a suffix". Any idea what this means?

That says it tried to read the file, but you haven't created the LocoNet
connection yet. So it doesn't know what 'LT' means and expects to make
internal things so the 'IT' it does know. Add the connection first.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


 

OK, 4.12 now installed. Do I need the WHOLE User/Username/My_JMRI_Railroad folder from the PC, or just put the My_Railroad.jmri file inside the emptyfolder? (I don't understand why you said the folder had to be deleted if it is all replaced!) I asume I need to correct the URLs in the file first.


 

OK, I added only the My_Road.jmri folder (with its contents) to the User/username/JMRI folder. Same result as before with the LT1 message. The red led on the PR3 flashes to show attempted connection with the laptop (via COM3).

I have started Panelpro by opening the panel, which works OK.? If I go to Edit/Preferences/Startup. I do not know which file(s) I should add there. (Sorry for being so dumb!)


 

¿ªÔÆÌåÓý

John,

I'm suggesting a fresh start and approach to this.

On 28 Oct 2019, at 12:54 AM, John Cornell <dr.jc.cornell@...> wrote:

I have PanelPro running on an old PC with Windows XP and an MS100 connector to my DCS51 Zephyr controller. To operate my turnouts I just click the mouse on the turnout in the displayed panel. All works well.

Fine. You need to note three main things on the XP machine:
- The Connection Prefix of your MS100 connection (it's most likely "L").
- Find and open the "User Files Location" (from Help-Locations).
- Whether Help-Startup contains any "Open File" actions, and if so, the name of the file(s). They are almost certain to be in "User Files Location", which means the actual path doesn't matter.

Now I am trying to migrate the system to a laptop running Windows 7, and for the laptop I have to use a PR3 USB decoder/programmer. I set up a new version of JMRI on the laptop

That is the correct thing to do, install JMRI. But please read on....

and I have copied all the JMRI files I can find from the Programs folder and the User Applications folder,

Do not do either of those things. That's where thing are going wrong.

Instead you need to start with a clean install of JMRI and do the following:

- Set up a single connection to the PR3 with the same Connection Prefix as your old MS100 connection on XP (it's probably "L").
- Find and open the "User Files Location" (from Help-Locations).
- Quit JMRI and copy all files from?the "User Files Location" on your XP to?the "User Files Location" on the new machine. (All files in User Files Location use special coding to make them insensitive to path differences between computers).
- Start JMRI and see if your loco (decoder) roster appears.
- If not, try the Rebuild Roster Index command and wait until a "Roster Rebuilt" message appears in the JMRI System Console (under the Help menu). Don't use the?Rebuild Decoder Index command, it's the wrong thing to do.
- If still no roster, quit and restart JMRI.

Once your roster is restored:
- Use Help-Startup to add back any?any "Open File" actions you had on XP. Again, they are almost certain to be in?"User Files Location", which means the actual path doesn't matter and that they have already been transferred in an earlier step above.
- Next time you start JMRI your Turnout Table should populate correctly.

The following two help pages may help you understand what you need to do and where files are:
<>
<>

Dave in Australia


 

Hi Dave -- thanks for your input.?
(a) Yes, the connection is probably L,
(b) Yes I have installed a completely new JMRI 4.12
(c) There were no "startup" files listed on the XP
(d) To start JMRI, I just launch PanelPro
(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!
(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!
(g) I have edited the paths to the current locations.
(h) I have NO loco roster -- I am not using throttles. I don't see a roster on the XP computer
(i) JMRI tell me that the "default preferences are invalid" -- but all I want is the connection to the Digitrax DCS51. Do I need other options?
(j) Note that my control of the static decoders is via the track. Loconet exists ONLY between the PR3 and the DCS51.


 

(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,

Not that I am an expert but it would appear by the internal that your profile settings are not correct. It is set to internal not a DCC system.?

Also while COM3 may have been used before, best check device manager to see what the PC thinks is the COM.?

David Klemm
11 PRO Max


From: [email protected] <[email protected]> on behalf of John Cornell <dr.jc.cornell@...>
Sent: Monday, October 28, 2019 11:47:11 AM
To: [email protected] <[email protected]>
Subject: Re: [jmriusers] Problem migrating Panelpro from Windows XP with MS100 to a laptop with PR3 connection
?
(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,

I recommend that you solve one problem at a time.

  1. Stop JMRI if it is running.
  2. Rename C:\Users\Lucas\JMRI to C:\Users\Lucus\JMRI-original or whatever makes sense to you.
  3. Start PanelPro. ?You will be prompted to configure the LocoNet connection.
  4. Save the connection settings and re-start.
  5. Verify that Preferences >> Defaults shows everything set for the LocoNet connection, not Internal.
  6. You will now have an empty My_JMRI_Railroad profile.
  7. Send the contents of the JMRI system console.

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?