¿ªÔÆÌåÓý

Re: Roster Media - Images disappear in one profile - disappear but reappear when roster rebuilt in different profile #rosterimage


 

To verify the path on each machine, look at the system console after starting DecoderPro. ?There will be an INFO message that has the path to the roster.xml file.

INFO? - Reading roster file with rootFromName(C:\Users\xxx\Dropbox\JMRI\SharedRoster\roster.xml) [main]

The path after "C:\Users\<username>\" has to be identical for both machines.


Dave Sand


----- Original message -----
From: "Steve_G via groups.io" <RailRodder22=[email protected]>
Subject: Re: [jmriusers] Roster Media - Images disappear in one profile - disappear but reappear when roster rebuilt in different profile #rosterimage
Date: Saturday, January 11, 2025 10:26 AM

Mark
It's not where the file is that matters it is how the path to it is expressed so it can be accessed from multiple profiles across multiple O/S's and multiple PCs.
It is normally copied to the roster area and then pointed to by home:patheandfilename,?so everyone accessing the files must have the same directory structure off "home:', unfortunately there is no "roster:" URI. which means when resetting the location of the roster it doesn't update the URLs.
?
Bob
We normally fix problems like with "sed" in linux, but any text editor that does search and replace should work. Remember to do backup of the files. It has to be changed in the master record rather than the roster.xml file and then the roster.xml rebuilt (or edited), ultimately though you need to make the path to the roster from "home" the same in all instances.
?
Steve G.

Join [email protected] to automatically receive all group messages.