开云体育

Locked Preferences are not saving under PR3 mode


Jay
 

I was trying to program some engines tonight.
It didn't work.
My setup is Win 10 Pro box hooked to a PR4, JMRI 13.4, & Java 8
I looked under prefs, defaults. They were all on internal.
I changed them back & JMRI restarted. They were still on internal.
4 times that was tried to no avail.
I changed it over to my DCS240, no issues.
What is going on?

Jay


 

What's the error log say?? Where are you trying to write to?


On Sun, Aug 19, 2018, 20:31 Jay <[email protected]> wrote:
I was trying to program some engines tonight.
It didn't work.
My setup is Win 10 Pro box hooked to a PR4, JMRI 13.4, & Java 8
I looked under prefs, defaults. They were all on internal.
I changed them back & JMRI restarted. They were still on internal.
4 times that was tried to no avail.
I changed it over to my DCS240, no issues.
What is going on?

Jay


 

Hi Jay,?
It's possible that your Preferences are being saved, but then changed agi


 

Sorry, hit Reply too soon.
Jay,
It's possible that your Preferences are being saved, but then changed again on startup. Same result to you, but it would be helpful to know which is happening, to help find a solution.
Those settings are saved in a file called profile.properties, in a folder called profile, inside your "Profile Location". You can find "Profile Location" using the Help, Locations menu item.
Look in that file for several lines starting with "jmri-managers.defaults.". Those lines should end with "LocoNet", not "Internal".
Save your changes, close JMRI and look at the file. That'll tell you how the Preferences were set when saved.
If you then open JMRI and the Defaults have changed, we'll know it's happening on startup, and not the save. That may help us debug the problem.
--SteveT


 

Jay,
I'm puzzled by your JMRI version number. It doesn't match anything I have seen.

Dick :)

On 08/19/2018 11:31 PM, Jay wrote:
I was trying to program some engines tonight.
It didn't work.
My setup is Win 10 Pro box hooked to a PR4, JMRI 13.4, & Java 8
I looked under prefs, defaults. They were all on internal.
I changed them back & JMRI restarted. They were still on internal.
4 times that was tried to no avail.
I changed it over to my DCS240, no issues.
What is going on?

Jay


 

You’ve probably already done this, but I had a similar issue yesterday setting up my PR3. Check to make sure that the PR4 is on the right COM port on the PC. Go into Device Manager, Ports on the PC and see what COM port it’s connected to, then check Connections in DecoderPro and make sure it’s the same.?


 

? ? Jay didnt say he used the SAVE button in preferences.? Maybe this is his problem.

Roger


Jay
 

Hi Steve,
In the JMRI Pref's the jmri-managers.defaults are set to Loconet.
It is set to Loconet, PR3 Standalone, Com15.
If I change the prefs to Loconet to internal & save & restart, they reset to internal.
If I do not restart it stays at Loconet, but I can't program anything.
Dick, sorry, it is the latest at 4.13.2 Java 1.8.0_161.
Like stated earlier, when I change it to my DCS240, it works fine.
My computer is on the other side of a wall from my layout.
Hence the PR4.
Jay


 

开云体育

Jay,

Everything you say below is working as designed.?

When you set the preferences to internal, whether you save them or not, that is telling JMRI to only communicate with itself. There is no communication outside the PC. This setting lets me for example test things when I am away from the layout. What I ‘send’ is played back by JMRI.?

David Klemm
8 Plus
?


From: 32501057420n behalf of
Sent: Monday, August 20, 2018 12:54
To: [email protected]
Subject: Re: [jmriusers] Preferences are not saving under PR3 mode
?
Hi Steve,
In the JMRI Pref's the jmri-managers.defaults are set to Loconet.
It is set to Loconet, PR3 Standalone, Com15.
If I change the prefs to Loconet to internal & save & restart, they reset to internal.
If I do not restart it stays at Loconet, but I can't program anything.
Dick, sorry, it is the latest at 4.13.2 Java 1.8.0_161.
Like stated earlier, when I change it to my DCS240, it works fine.
My computer is on the other side of a wall from my layout.
Hence the PR4.
Jay


 

Don't you mean PR3 standalone programmer?

---------- Original Message ----------
From: Jay <[email protected]>
Date: August 20, 2018 at 1:53 PM


Hi Steve,
In the JMRI Pref's the jmri-managers.defaults are set to Loconet.
It is set to Loconet, PR3 Standalone, Com15.
If I change the prefs to Loconet to internal & save & restart, they reset to
internal.
If I do not restart it stays at Loconet, but I can't program anything.
Dick, sorry, it is the latest at 4.13.2 Java 1.8.0_161.
Like stated earlier, when I change it to my DCS240, it works fine.
My computer is on the other side of a wall from my layout.
Hence the PR4.
Jay



 

Thats if you are trying to use the programming track on the PR4.
If your trying to use the programming track on the dcs240 then its just the command station type.
Steve G.


Jay
 

Steve, yes, it is PR3 Standalone Programmer.
That is where it is not working.
I DCS240 mode everything works & the prefs are OK after restart.
In PR3 mode, it always goes to internal after restart.

Jay


 

Hi
So does it work when you select "pr3 standalone programmer"? Thats a specific option, different from what you described.
Steve G.

On August 20, 2018 2:51:44 PM EDT, Jay <[email protected]> wrote:
Steve, yes, it is PR3 Standalone Programmer.
That is where it is not working.
I DCS240 mode everything works & the prefs are OK after restart.
In PR3 mode, it always goes to internal after restart.

Jay

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


 

开云体育

Jay,

Do you have a stand alone PR3? ?Or are you referring to the PR3 built in to the DCS240?

David Klemm
8 Plus
?


From: 32461255040n behalf of
Sent: Monday, August 20, 2018 13:51
To: [email protected]
Subject: Re: [jmriusers] Preferences are not saving under PR3 mode
?
Steve, yes, it is PR3 Standalone Programmer.
That is where it is not working.
I DCS240 mode everything works & the prefs are OK after restart.
In PR3 mode, it always goes to internal after restart.

Jay


Jay
 

Hi!
I put pics of my Preference screens in the photo's section.
/g/jmriusers/album?id=68645&p=Taken,,,20,1,0,0
Jay


 

Hi
I cannot recreate your problem.
You have 2 profiles, one for pr3 programmer and another profile for dcs240 correct?
When you plug the usb into the dcs240 verses into the pr4 you get a different com port number correct? Or are you plugging into the pr4 for both?
Steve G.


On August 20, 2018 4:58:26 PM EDT, Jay <[email protected]> wrote:
Hi!
I put pics of my Preference screens in the photo's section.
/g/jmriusers/album?id=68645&p=Taken,,,20,1,0,0
Jay

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Jay
 

Hi Steve,
Right now, I am using the PR4 for both.
I hate it when my layout is powered off, PC on, & the USB is plugged in, my DCS240 beeps at itself.
I will try it on USB & report back.

Jay


 

Jay
Using cable plugged into pr4. Start PanelPro. Create new connection for pr3 programmer, configure and save. Restart. Then if error still exists, I'm sure there's a faint hope clause, post the session file from home dir. Jmri \log.
Steve G.


Jay
 

Hi!
i got back to this tonight.
I verified that the PR4 is connected to the computer.
In the device manager I unplugged & replugged in the PR4 & watched disco & reconnect.
A new connection was made in Panel Pro to no avail.
The same issue still exists.
I did find out that the connection to the DCS240 was through the PR4.
I can't connect to it through USB.
There are USB issues with my computer.
Things were bad enough my computer crashed & had to do a reinstall.
A reinstall of JMRI & it still happens.
A thought just occurred to me, all my prefs are in my Dropbox folder.
Everything except for the base install.
I did that to keep from losing my loco's & pref's through each iteration of JMRI.
Could the issue be there??

Jay


 

开云体育

>>>> A thought just occurred to me, all my prefs are in my Dropbox folder.? <<<<<
>>>> Everything except for the base install.? <<<<
>>>> I did that to keep from losing my loco's & pref's through each iteration of JMRI. <<<<

?

Not what Dropbox was really designed for.

?

I’ve upgraded JMRI hundreds of times over the last 12 – 15 years and have never lost my dataset.? While taking your own backup before an upgrade is a good idea, the upgrade process is designed to protect your data in place.

?

Best regards,

?

Steve

?

Steve Haas

Snoqualmie, WA