¿ªÔÆÌåÓý

Date

Locked Re: Import complete Roster

 

Spyder W,

The roster file only contains the index of the locos in the roster
directory. The roster directory has a file for each loco with the settings.

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


Locked Re: Import complete Roster

 

¿ªÔÆÌåÓý

Let's get a few things clear:

1) The "roster.xml" file in your Roster Location (the Help Menu has a Locations item) does not contain your roster. It is a replaceable cache index file. Ignore it completely.

2) The "Export Complete Roster" item creates a ZIP file that can be used with??"Import Complete Roster". But as you have found, it prompts for each entry so is impractical with a large roster.

3) The "roster" folder in your Roster Location (the Help Menu has a Locations item) contains?your entire roster as individual XML files, plus any associated icons etc. Copy it from your old computer to the Roster Location of your new computer, use the "Rebuild Roster Index" option and wait some time for it to finish. Next time you start JMRI, you should see your roster.

4) The Dropbox option for sharing rosters between computers works well. Illustrated instructions at <>

--?
Dave in Australia


On 20 Dec 2018, at 1:31 PM, Richard Knight <enginman@...> wrote:

Stefan and Ross, Thanks, will try later. My brain has been turned to mush. Something that should be so simple is evading me.!! Actually three computers all on line, one old, two new. New usb stick and? remote hard drive. But no? Joy.


Locked Re: Import complete Roster

 

¿ªÔÆÌåÓý

Stefan,

?

We run 2 computers simultaneously at our club without issues.? One is for programming on the railroad; the other is at a programming bench with a separate DCC System.? Each time a file is saved it immediately synchs to the cloud and other computer.

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of Stefan ` Bartelski
Sent: Wednesday, December 19, 2018 9:39 PM
To: [email protected]
Subject: Re: [jmriusers] Import complete Roster

?

Ross is right, if you are going to be running JMRI on more than one
computer then Dropbox (or G Drive or One Drive, etc.) Is the way to go. Just be careful and try to avoid running JMRI on both at once. The program is not designed to be "multi-insurance". But if you only user it on one computer at any given moment, data in the cloud works great.

Stefan

Stefan Bartelski
Sent from my mobile, so please excuse any necessary brevity or inadvertent typos

?

On Wed, Dec 19, 2018, 21:31 Richard Knight <enginman@... wrote:

Stefan and Ross, Thanks, will try later. My brain has been turned to mush. Something that should be so simple is evading me.!! Actually three computers all on line, one old, two new. New usb stick and? remote hard drive. But no? Joy.

??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? Rick.

?

On 12/19/2018 9:05 PM, Ross Kudlick wrote:

Rick,

?

Will both computers connect to the internet?? If yes, your solution may be Drobox.

?

Set up the old computer to use Drobox for your roster.? Then set up the new computer to use Drobox; the roster will download from the cloud.

?

I¡¯ve used Drobox for some time to keep my roster synchronized between computers.? I just replaced my work bench computer letting my roster download.? An additional advantage is always having an off-site backup with a 30-day lookback if I want an old file.

?

< >

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of Richard Knight
Sent: Wednesday, December 19, 2018 8:25 PM
To: [email protected]
Subject: Re: [jmriusers] Import complete Roster

?

Peter, Clearly I am doing something wrong. Decoder pro>Export complete Roster>USB stick >move stick to new computer > no matter where I save the file to i cannot open it or Rebuild roster. I can Do Import complete roster but I have to hit OK for each loco which I am trying to avoid. !!! Thanks ?Rick.

?


Locked Re: Import complete Roster

 

Ross is right, if you are going to be running JMRI on more than one
computer then Dropbox (or G Drive or One Drive, etc.) Is the way to go. Just be careful and try to avoid running JMRI on both at once. The program is not designed to be "multi-insurance". But if you only user it on one computer at any given moment, data in the cloud works great.
Stefan
Stefan Bartelski
Sent from my mobile, so please excuse any necessary brevity or inadvertent typos


On Wed, Dec 19, 2018, 21:31 Richard Knight <enginman@... wrote:

Stefan and Ross, Thanks, will try later. My brain has been turned to mush. Something that should be so simple is evading me.!! Actually three computers all on line, one old, two new. New usb stick and? remote hard drive. But no? Joy.

??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? Rick.


On 12/19/2018 9:05 PM, Ross Kudlick wrote:

Rick,

?

Will both computers connect to the internet?? If yes, your solution may be Drobox.

?

Set up the old computer to use Drobox for your roster.? Then set up the new computer to use Drobox; the roster will download from the cloud.

?

I¡¯ve used Drobox for some time to keep my roster synchronized between computers.? I just replaced my work bench computer letting my roster download.? An additional advantage is always having an off-site backup with a 30-day lookback if I want an old file.

?

< >

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of Richard Knight
Sent: Wednesday, December 19, 2018 8:25 PM
To: [email protected]
Subject: Re: [jmriusers] Import complete Roster

?

Peter, Clearly I am doing something wrong. Decoder pro>Export complete Roster>USB stick >move stick to new computer > no matter where I save the file to i cannot open it or Rebuild roster. I can Do Import complete roster but I have to hit OK for each loco which I am trying to avoid. !!! Thanks ?Rick.



Locked Re: Import complete Roster

 

¿ªÔÆÌåÓý

Stefan and Ross, Thanks, will try later. My brain has been turned to mush. Something that should be so simple is evading me.!! Actually three computers all on line, one old, two new. New usb stick and? remote hard drive. But no? Joy.

??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? Rick.


On 12/19/2018 9:05 PM, Ross Kudlick wrote:

Rick,

?

Will both computers connect to the internet?? If yes, your solution may be Drobox.

?

Set up the old computer to use Drobox for your roster.? Then set up the new computer to use Drobox; the roster will download from the cloud.

?

I¡¯ve used Drobox for some time to keep my roster synchronized between computers.? I just replaced my work bench computer letting my roster download.? An additional advantage is always having an off-site backup with a 30-day lookback if I want an old file.

?

< >

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of Richard Knight
Sent: Wednesday, December 19, 2018 8:25 PM
To: [email protected]
Subject: Re: [jmriusers] Import complete Roster

?

Peter, Clearly I am doing something wrong. Decoder pro>Export complete Roster>USB stick >move stick to new computer > no matter where I save the file to i cannot open it or Rebuild roster. I can Do Import complete roster but I have to hit OK for each loco which I am trying to avoid. !!! Thanks ?Rick.



Locked Re: Import complete Roster

 

¿ªÔÆÌåÓý

Rick,

?

Will both computers connect to the internet?? If yes, your solution may be Drobox.

?

Set up the old computer to use Drobox for your roster.? Then set up the new computer to use Drobox; the roster will download from the cloud.

?

I¡¯ve used Drobox for some time to keep my roster synchronized between computers.? I just replaced my work bench computer letting my roster download.? An additional advantage is always having an off-site backup with a 30-day lookback if I want an old file.

?

< >

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of Richard Knight
Sent: Wednesday, December 19, 2018 8:25 PM
To: [email protected]
Subject: Re: [jmriusers] Import complete Roster

?

Peter, Clearly I am doing something wrong. Decoder pro>Export complete Roster>USB stick >move stick to new computer > no matter where I save the file to i cannot open it or Rebuild roster. I can Do Import complete roster but I have to hit OK for each loco which I am trying to avoid. !!! Thanks ?Rick.


Locked Re: Import complete Roster

 

Oops, I meant ignore the roster.xml FILE. You do copy the roster folder.
Stefan


Locked Re: Import complete Roster

 

Richard,?
Try this, I just did it to move my roster from a Windows environment to a Raspberry Pi.

On your "old" computer find the JMRI folder, in there look for the My Railroad folder, or whatever you named your profile. In there your will see the roster.xml folder. IGNORE it, instead copy the roster folder to your USB stick.?

On the "new" computer find the My Railroad folder in the same way and copy the rosterrfolder from the USB stick there. Then run JMRI and do the Roster Rebuild. That should do it

Merry Christmas
Stefan


Locked Re: Import complete Roster

 

Peter, Clearly I am doing something wrong. Decoder pro>Export complete Roster>USB stick >move stick to new computer > no matter where I save the file to i cannot open it or Rebuild roster. I can Do Import complete roster but I have to hit OK for each loco which I am trying to avoid. !!! Thanks ?Rick.


Locked Re: Changing Decoder Selection

 

On Dec 19, 2018, at 8:13 AM, Bob Potter <rnp@...> wrote:

However, is there a way to change the selected decoder without having to create a new roster entry?
No.

There¡¯s no way the program could figure out what to do about the various possible differences.

The best thing you can do is to create a new roster entry with the new type and then read the contents of the decoder into it via the program track.

Bob
--
Bob Jacobsen
rgj1927@...


Locked Re: Import complete Roster

 

I just copy the roster file over

Sent from mobile device.

On Dec 19, 2018, at 6:48 PM, Peter Ulvestad <ulvestad@...> wrote:

Find your roster folder (not the roster.xml) on your old computer. Copy that folder to your new computer put in your preference folder replacing the one that is there.
Then, run the command ¡°rebuild roster¡± from one of the menus.

--
Peter Ulvestad

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



Locked Re: Import complete Roster

 

Find your roster folder (not the roster.xml) on your old computer. Copy that folder to your new computer put in your preference folder replacing the one that is there.
Then, run the command ¡°rebuild roster¡± from one of the menus.

--
Peter Ulvestad

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


Locked Re: Import complete Roster

 

There must be a better way. I need to move 600 plus loco's. I did the OK, OK, OK.thing for the first new computer. I just want to move the whole roster in one group. Thanks, Rick.


Locked Re: EDGE CONNECTORS BETWEEN PANELS

 

Dave,

Upload the file to the group¡¯s ProblemsBeingWorkedOn folder. There is already a proposed fix being developed so your file could be a good test case.

Dave Sand

On Dec 19, 2018, at 2:49 PM, Dave Roberts <dccdaveroberts@...> wrote:

Dave,
Where do you want me to send a copy of the file to?

I read the comments regarding the error but try as I might I cannot find the connecting blocks in the draw down list despite moving the connector and block all over the panel trying to get it to reverse.
The only error I have come across is EC9 is connected to EC10 but it is saying that it is EC1 on the track plan and that connection - 1 to 2 was the first connection which worked as expected.
I have been looking and checking for any errors but so far I have not found any more.
I am going to try to connect as many as possible in order and skip those that will not connect.

Dave
Sent from my iPhone - Dave

On 19 Dec 2018, at 17:06, Dave Sand <ds@...> wrote:

Dave,

The problem from a year ago was fixed. It is possible that your configuration either introduces a new error situation or highlights that the original fix was incomplete.

In either case, we will need a copy of your panel xml file as a test case.


Dave Sand



On Dec 19, 2018, at 4:06 AM, Dave Roberts <dccdaveroberts@...> wrote:

JMRI 4.12 on an iMac under Parallels and Windows 10

I have successfully broken down my whole layout into eight location panels, each of which is a separate Power District.
I have run into the problem highlighted in github issues 4729 and 4730 back in January. The required Blocks that connect Panel to Panel/Board to Board appear to be all there but I cannot access some of them. I am aware of the "One Direction" criteria and have tried the 'Workaround' suggested in 4730 but this does not work for me.

Has there been any resolution to correct the problem? Has anyone managed to get them to work with multiple connectors on each board?. The first EC works perfectly but the subsequent connections do not. I will re-check for any Name differences between the 'Whole Layout' plan and the individual Power District Panels because that is all that comes to mind right now.
I am keeping it such that connectors on the LHS of a panel connect to the RHS of another panel and vice versa but I do have multiple panels with multiple EC's on many sides with bi-directional single line working and multiple main lines crossing the boards.

Dave



Locked Re: JMRI Operations - Print comments on Manifest

 

Ron,

Can I assume that you don't allow the program to assign engines to your trains?? The route comment should appear if there's an engine to park at the end of the route.

Dan


Locked Re: EDGE CONNECTORS BETWEEN PANELS

 

Dave,
Where do you want me to send a copy of the file to?

I read the comments regarding the error but try as I might I cannot find the connecting blocks in the draw down list despite moving the connector and block all over the panel trying to get it to reverse.
The only error I have come across is EC9 is connected to EC10 but it is saying that it is EC1 on the track plan and that connection - 1 to 2 was the first connection which worked as expected.
I have been looking and checking for any errors but so far I have not found any more.
I am going to try to connect as many as possible in order and skip those that will not connect.

Dave
Sent from my iPhone - Dave

On 19 Dec 2018, at 17:06, Dave Sand <ds@...> wrote:

Dave,

The problem from a year ago was fixed. It is possible that your configuration either introduces a new error situation or highlights that the original fix was incomplete.

In either case, we will need a copy of your panel xml file as a test case.


Dave Sand



On Dec 19, 2018, at 4:06 AM, Dave Roberts <dccdaveroberts@...> wrote:

JMRI 4.12 on an iMac under Parallels and Windows 10

I have successfully broken down my whole layout into eight location panels, each of which is a separate Power District.
I have run into the problem highlighted in github issues 4729 and 4730 back in January. The required Blocks that connect Panel to Panel/Board to Board appear to be all there but I cannot access some of them. I am aware of the "One Direction" criteria and have tried the 'Workaround' suggested in 4730 but this does not work for me.

Has there been any resolution to correct the problem? Has anyone managed to get them to work with multiple connectors on each board?. The first EC works perfectly but the subsequent connections do not. I will re-check for any Name differences between the 'Whole Layout' plan and the individual Power District Panels because that is all that comes to mind right now.
I am keeping it such that connectors on the LHS of a panel connect to the RHS of another panel and vice versa but I do have multiple panels with multiple EC's on many sides with bi-directional single line working and multiple main lines crossing the boards.

Dave



Locked Re: Jim Thompson

frankjoanw
 

No this is the Jim Thompson that lives in Tomball Texas. A dear friend and great model railroader. We sure miss him.?


Locked Re: JMRI Locking up

 

Thanks Dave. One of these days I'll get it right.
Chris


Locked Re: Jython Script output problem #timetable-tool

 

Well, I'm having a lot of fun - so if it isn't driving you nuts I'll Keep going which is bound to throw up more issues, but may help with other of your ideas..

The changes I will be setting about now are:
1) add third entry numberofstops (len(trainStops)) to trainMap
2) if a through train (arrive and depart at same time) only put an entry on the arrive line
3) if the first stop??(stops == 0)??and an "Up" train only put an entry of the up depart line else put an entry only in the down depart line (as I understand it, a train coming onto this branch should have its dwell time in its arrival at the junction.
4) if the last stop (stops == numberofstops) and the departure time is the same as arrival time, only put entry on the arrive line, put the departure in the appropriate up or down departure line


Locked Re: Jython Script output problem #timetable-tool

 

Iain,

I did not look at the compare issue.

Comparing arrive and depart time does not define direction. You would need to compare the arrive time for two different stops to determine direction. The logic that I provided compares the station distance for the first and second stop. This assumes that a train does not change direction. This approach would not work for an out and back turn.

I spent a lot of time getting the graph process correct because it deals with the exact same issues: direction, turns, arrive and depart times, etc. It also has to support a train transitioning between segments.

This python exercise is providing a lot of insights into the issues of exporting the data as a CSV file. This will be very helpful when I do the Java based export. Thank you.


Dave Sand

On Dec 19, 2018, at 12:13 PM, Iain <iain@...> wrote:

Oh thank you so much. As I am retired I don't have anything better to do - so I do appreciate your time and help when you do. I shall move it on again now.

I had thought of something like you have done - but I was not sure how to manipulate Maps. I don't know if you do this, but old habits mean I keep a "Lab Book" and all these hints and tips do get analysed and written up so I ask less questions in future!

I like your way much better than mine - but why did mine not work? What WAS the problem with the comparison? I tried umpteen ways of coercing the values of getArriveTime and getDepartTime to be the same but nothing worked. Where there was equality it "worked" but not difference in any way.

I will sort out my files problem for next time.