开云体育

Locked Cannot manually move cars in Operations #operationspro


 

If the train is not terminated after building, cars appear in the previous (starting) locations when JMRI is restarted or restored.? I did not see the word "terminate" in any discussion.
?
Phil?


 

Just wanted to post a note of thanks to the group, especially Dan Boudreau for helping me to resolve this issue.
Thanks again.
?
Gord


 

On Wed, Sep 11, 2024 at 03:42 PM, Gord King wrote:
When I 'restore'? an auto backup file, and restart, my problem reappears.
Can you please send me the six operations files from the auto backup directory so I can see what is going on?
?
Dan


 

Dan,
?
Sorry, I left out that when I "reset", train status becomes "Train reset" as it should.
?
I uninstalled Version 5.6, and installed version 5.8.? When I ran the "demo", the program functions properly, ie when I 'reset' under "action", 'reset' appears under "status", then when I 'build' under "function", 'partial x/y cars' appears under status, and "preview" appears under function, and when I preview, the train manifest is displayed.? When I 'restore'? an auto backup file, and restart, my problem reappears.
?
What about the System Console error in my Sept 9 email, could this be part of the problem?
ERROR StatusConsoleListener Unable to copy file C:\Users\Gord\JMRI\log\messages.log to C:\Program Files (x86)\JMRI\${jmri.log.path}messages.1.log: java.nio.file.AccessDeniedException
Thanks,
?
Gord
?


 

On Mon, Sep 9, 2024 at 12:59 PM, Gord King wrote:
but I have two trains which show "Build", under Function, and show "Partial X/Y cars" under Status.? Both are trains which I have "Reset".
Strange.? When you "reset" a train, the status should become "Train reset".


 

This might be a stab in the dark, but try upgrading to the latest production of JMRI 5.8 to see if that fixes things.
?
Dan


 

Hi Dan,
?
I agree with your statement.
? ? ? ? That isn't right, function should change to "Preview" or "Print" if the build was successful. ?I'd like a screen shot of the Trains window when the status is "partial x/y cars" for a train, and a copy of the system console.
?
In my case it doesn't change to "Preview" or "Print" as expected.?? It does however show "partial X/Y car" for the train.? I verified the car count by checking the cars in "Cars".? The * displayed after the train number before "building" has disappeared after the train number which is normal when building a train.
?
I cannot get a screenshot of the Trains window, but I have two trains which show "Build", under Function, and show "Partial X/Y cars" under Status.? Both are trains which I have "Reset".
?
Below is copy of System Console..
?
12:33:51,076 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- * JMRI log ** [main]
ERROR StatusConsoleListener Unable to copy file C:\Users\Gord\JMRI\log\messages.log to C:\Program Files (x86)\JMRI\${jmri.log.path}messages.1.log: java.nio.file.AccessDeniedException C:\Users\Gord\JMRI\log\messages.log -> C:\Program Files (x86)\JMRI\${jmri.log.path}messages.1.log
12:33:51,171 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is stored in file: C:\\Users\\Gord\JMRI\log\session.log [main]
12:33:51,176 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is appended to file: C:\\Users\\Gord\JMRI\log\messages.log [main]
12:33:51,216 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- PanelPro version 5.6+R89a87446cb starts under Java 11.0.20 on Windows 10 amd64 v10.0 at Mon Sep 09 12:33:51 EDT 2024 [main]
12:33:51,406 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile SLN_RR_2.3ed8cb55 [main]
12:33:51,966 jmri.util.node.NodeIdentity ? ? ? ? ? INFO ?- Using e517c1e0-8aa0-11e8-8000-00ff5a3b9884 as the JMRI storage identity for profile id 3ed8cb55 [AWT-EventQueue-0]
12:33:52,926 jmri.jmrit.roster.Roster ? ? ? ? ? ? ?INFO ?- Reading roster file with rootFromName(D:\Users\Gord\Documents\JMRI GUI\roster.xml) [main]
12:33:53,746 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path program: is C:\Program Files (x86)\JMRI\ [main]
12:33:53,746 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path preference: is D:\Users\Gord\Documents\JMRI GUI\ [main]
12:33:53,746 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path profile: is C:\Users\Gord\JMRI\SLN_RR_2.jmri\ [main]
12:33:53,746 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path settings: is C:\\Users\\Gord\JMRI\ [main]
12:33:53,746 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path home: is C:\\Users\\Gord\ [main]
12:33:53,746 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
12:33:58,179 apps.PanelPro.PanelPro ? ? ? ? ? ? ? ?INFO ?- Main initialization done [main]
12:34:11,016 mri.jmrit.operations.setup.BackupBase INFO ?- Saving copy of operations files to: D:\Users\Gord\Documents\JMRI GUI\operations\autoBackups\2024_09_09_00 [AWT-EventQueue-0]


 

Here's an example of what a successful build should look like. Notice under "Function" the build becomes "Print" or "Preview" depending on the function checkbox at the bottom of the Trains window.
?


 

Here's an example of a true "Build Failure" in the Trains window for train "BLX".? Notice under status that the train has failed to build.
?


 

On Sun, Sep 8, 2024 at 12:26 PM, Gord King wrote:
I do not get "report" window under 'action'.
That only happens if the status for the train is "Build Failed".? Do not use the term build failed unless the program states build failed.


 

On Sun, Sep 8, 2024 at 12:26 PM, Gord King wrote:
Using the above window, when I 'reset' the train in Train Edit, 'status' changes to "reset"as expected.? When I select the "build" function, 'status' changes to 'partial 2/52 cars' the number of cars that I have 'set' for the train.? But 'function' remains "build".?
That isn't right, function should change to "Preview" or "Print" if the build was successful.? I'd like a screen shot of the Trains window when the status is "partial x/y cars" for a train, and a copy of the system console.


 

Hi Dan,
?
Using the above window, when I 'reset' the train in Train Edit, 'status' changes to "reset"as expected.? When I select the "build" function, 'status' changes to 'partial 2/52 cars' the number of cars that I have 'set' for the train.? But 'function' remains "build".? I do not get "report" window under 'action'.? When I go back to 'edit' the train and I call up the "preview build report" under 'tools', I get the "Build Report for train (18) built on 2024-06-01, 2:08 p.m" which is the.same build report I sent you previously.
Note, when I 'reset' another train the same happens, it will not 'build'.? Occasionally I will get a window requesting a locomotive, even though I have 'set' a locomotive for the train.
?
Gord


 

To get a build report for a train that has failed to build, just press the "Report" button for that train.
?


 

Gord,
?
You've attached the same build report from your previous post.? No build failure.? However, the date the train was built is back in June.? You're not retrieving the latest build report for the train 18.
?
Build Report for train (18) built on 2024-06-01, 2:08 p.m.
?
Dan


 

Hi Dan,
?
Attached 'build' report.
This problem is not specific to this train only.? When I 'reset' another train, the same situation occurs, train won't build, and "current location" of train does not appear on the "Trains" window..
?
Gord


 

On Thu, Sep 5, 2024 at 01:47 PM, Gord King wrote:
When I go to "edit train" and 'reset' a train, then check "edit route" for correctness, then 'save' the train, then set cars, and locos for the train, then 'build' on the "Trains" window, the train does not 'build'. ? It tells me 'build failed'.
Again, provide the train build report in very detailed mode for the train that failed to build and we'll look at it if you can't figure out why.??
?
Dan


 

Hi Dan,
?
In my OperationPro 'settings', both 'auto save', and 'auto backup' have been selected.
?
I 'restored' an 'auto backup' file previous to 24-07-30.? Now I can make changes in Car, Routes, Locos, and Locations, and they are saved - progress.? I have repeatedly made changes, and they continue to save.? I check in my date files and the 'date modified' are also updating in all files as I make the changes.
?
I currently remain with one apparent problem.? When I go to "edit train" and 'reset' a train, then check "edit route" for correctness, then 'save' the train, then set cars, and locos for the train, then 'build' on the "Trains" window, the train does not 'build'. ? It tells me 'build failed'.? When I check in Cars and Loco the assigned cars, and loco have been added to the train.? Another oddity is the when I reset and save the train it doesn't displace 'current location' on the 'Trains' window.? Any suggestions??
?
Gord


 

On Wed, Sep 4, 2024 at 01:49 PM, Gord King wrote:
but the roster files in the backup still haven't been modified since 24-07-30.?
There's a directory under operations called "backups" not "backup".? Is that the directory you are searching?? Note that the "backups" directory is only updated when you press the "Backup" button in the Settings window.??
?
When you start OperationsPro it automatically loads the last set of files saved by you.? You don't need to do a "Restore" or a load.
?
Under the "operations" directory, you should find the six operation files with an "Date Modified" the last time you did a save.

Dan


 

Hi Dan,
?
I have to go back to the email I sent on Aug 30th.
?
I completed your instructions setting up a new config and data file, but contrary to my previous response, the program is not performing properly.? Here's what is happening.? I will 'set' a car or a locomotive, and the new 'set' appears to be accepted, and they appear on the 'preview' as expected.? However when I 'save' and exit the program, then restart, the new settings have reverted to the previous settings, yet the 'new' setting still appear on the 'preview' until I make another change in settings.
?
When I go into my data file, none of? car, engine, location, or route rosters files have been modified since 24-07-30 which is when my problem appeared.? The program auto backups are up to date, but the roster files in the backup still haven't been modified since 24-07-30.? It appears the program is not saving changes made.? Any ideas???
?
Gord


 

On Sat, Aug 31, 2024 at 12:15 PM, Gord King wrote:
I went through it but couldn't identify the problem.
According to the build report, there isn't a problem.? Exactly what is the issue that you're not happy with?
?
Dan