¿ªÔÆÌåÓý

Date

Locked Re: Layout Portability

 

¿ªÔÆÌåÓý

Robert,

See below:

On 4 Dec 2018, at 1:30 AM, "harr6817@..." <harr6817@...> wrote:

Tried to understand Dave's scripts... but I'm not a programmer so scripts are not of much use.

I didn't give you any scripts.

I gave you very clear instructions to follow, not scripts.

Instead, you did your own thing, made up your own instructions...


First off.. Connection Prefix is "L" for Digitrax on both computers.

Good.

I have modified both computers to have only the default settings by completely uninstalling 4.12, deleting all JMRI folders "everywhere" except registry and then reinstalling the program on both.

That wasn't necessary.

(I did keep my 'layout'.xml files and selected the c:\program files directory on the Win7 to keep that variable the same.)

That was a bad idea. Changing installation defaults is bound to get you into trouble later.

I already stated very clearly that ?the installation directory is irrelevant. How many times do I have to tell you before that sinks in!!!!

Uninstall JMRI on that machine using the Uninstall option provided in the Start Menu . Don't manually fiddle around deleting things.

Reinstall JMRI leaving every install option at defaults.

The log you have posted is much appreciated. It clearly indicates the problem is in your layout file, not the choice of directory names.

Please follow Bob's instructions to fix your layout file.

Dave in Australia


Locked Re: Operational concept for a single operator #operationspro

 

Ooops...my bad. I was not thinking clearly about spur visits. OpsPro will automatically include all the spurs at City-C thus Train-B will make the stop at City-C and then make a single "move" to leave while the City-C switcher makes all the car exchanges for Train-B at City-C.
Paul D


Locked Re: Operational concept for a single operator #operationspro

 

Scott....I like it but I have some questions...
1) When Train-B visits City-C, it seem like Train-B must include each City-C spur in the Train-B route to ensure that cars are placed properly in the OpsPro data base. Otherwise, OpsPro would lose track of where cars are located. I am assuming that this would be a spur visit by Train-B in theory only rather than physically while the City-C switcher (as a stand in for the Train-B loco) would be making the physical visit to the City-C spurs.
2) I am assuming that when multiple trains make pick up & drop off, they must make their visits in the same order they were built since the second train is assuming that all the first train exchanges were made before the second train arrived.?
3) It appears that your approach puts the City-C switcher in a "just-in-time" mode.? When Train-B arrives at City-C, the switcher operator must step into action and make all the spur visits while the Train-B "moves" as each switcher spur action is completed. When the switcher makes the final City-C move, Train-B is free to move to his next destination.

If I am correct on 1, 2 and 3, your suggestion is really good. It means fewer trains to build to get the same job done. It also means I do not need a bunch of sidings as a named location for Train-B to visit.

I can see where this approach will also help me in exchanging cars (via my 0-5-0 switcher) that are logically part of my layout but are physically in off-layout storage racks. I have a lot of off-layout spurs with industries that I need as a companion to some on-layout industries.

Thanks.
Paul D


Locked Re: Unable to launch JMRI version 4.12

 

Roger,

It is possible that the JMRI installer did not remove old versions of some components.

Try doing a clean install: Use the Windows Control Panel to remove any JMRI versions. Manually check C:\Program Files and C:\Program Files (x86) for residual JMRI directories and delete them. Your data is at C:\Users\<username>\JMRI. It will not be affected. A good backup is always recommended.

Dave Sand

On Dec 3, 2018, at 5:22 AM, rlloyd1941@... wrote:

I am unable to launch this latest version of JMRI Decoder Pro.
I downloaded the latest version and it seems to install OK. I have also installed the latest version of Java. I am running Windows 10 on a 64 bit system.
When I launch Decoder pro, I get the following error response.
"Unrecoverable error encountered.
This application will quit.

java.lang.NoSuchMethodError: javax.help.SwingHelpUtilities.setContentViewerUI(Ljava/lang/String:v
at apps.jui3.Apps3.initialiazerHelpSytem(Apps3.java:141
at apps.jui3.Apps3.<init>(Apps3.java98)
at apps.jui3.dp3.DecoderPro3.<init>(DecoderPro3.java:27)
at apps.jui3.dp3.DecoderPro3.main(DecoderPro3.java:96)"

So this seems like a Java problem. I had previously installed Decoder Pro version 4.6 and this worked OK. Can anyone help?
Roger Lloyd


Locked Re: Defining a Departure Track

 

Dan and Martin,


On Mon, Dec 3, 2018 at 11:16 AM, Dan Boudreau wrote:
Most would agree that you and your operators should decide which arrival and departure tracks to use rather than the program.?
... unless the A/D tracks are staging.? I have three westbound passenger trains all departing from the same staging Location, with similar consists and train lengths.? I want to know that when I build 'Train 10,' the program selects the correct one.? Is there a way to do this, other than have it prompt for departure track??

Thanks in advance,
Chris


Locked Re: Connecting a JMRI throttle to Sound Decoder

 

Ok Klaus. Thanks. Mario


Locked Re: Packet Delays and Timeout - SPROG3 and JMRI 4.12

 

I have noticed that after a fresh start.. with or without reboot of Pi.. I have to switch track power off/on at least once before any throttle data is actually at the rails.. even though power is on at startup configuration.?

Thinking all this might be endemic to some of the other warnings and things we see with SPROG-Pi and SPROG-1. Our SPROG3''s might also be affected.


--
RockPro - San Diego, CA
Raspi2 B+,?SPROG3, LocoBuffer USB, BDL168 & 10 switches on a 4x8


Locked Re: Defining a Departure Track

 

that's kinda what I gathered from reading the manual. So an operator builds a train from the switch list, hands it over to the nest operator that takes it to the next city and drops the train off on the arrival track where the local switcher delivers the cars.


Locked Re: Defining a Departure Track

 

Martin,

Most would agree that you and your operators should decide which arrival and departure tracks to use rather than the program.? Here's the link to the help:



Dan


Locked Re: Unable to launch JMRI version 4.12

 

The error message below indicates that there¡¯s a problem accessing a library that JMRI needs. It¡¯s usually part of the JMRI distribution, and lives in the ¡°lib¡± directory within JMRI.

Not sure what caused the problem, but this might be one of those rare cases where a reinstall of JMRI can actually fix something!

Bob

On Dec 3, 2018, at 3:22 AM, rlloyd1941@... wrote:

java.lang.NoSuchMethodError: javax.help.SwingHelpUtilities.setContentViewerUI(Ljava/lang/String:v
at apps.jui3.Apps3.initialiazerHelpSytem(Apps3.java:141
at apps.jui3.Apps3.<init>(Apps3.java98)
at apps.jui3.dp3.DecoderPro3.<init>(DecoderPro3.java:27)
at apps.jui3.dp3.DecoderPro3.main(DecoderPro3.java:96)"


Locked Re: Layout Portability

 

The error message below says that the "Roberts Layout31.xml¡± file in the "D:Layouts JMRI¡± directory could not be read because the name ¡°LT11 DS TR¡± was defined for two different things. One is near line 2801 (but the line counts can be wrong in some cases). Mostly likely, you have somehow gotten the Simple Signal Logic for something defined twice.

You can _temporarily_ bypass this, which will let you load/fix/save the file, by setting your preferences to run the jython/TurnOffXmlValidation.py _before_ loading the file. (Or, if you¡¯re loading it from the menu, i.e. manually, first run that script)

Bob

On Dec 3, 2018, at 6:30 AM, harr6817@... wrote:

2018-12-03 17:16:53,181 configurexml.ErrorHandler ERROR - Parse error while parsing file /D:/Layouts%20JMRI/Roberts%20Layout31.xml Exception: org.jdom2.input.JDOMParseException: Error on line 2801: cvc-identity-constraint.4.2.2: Duplicate key value [LT11 DS TR] declared for identity constraint "signalElementName" of element "signalelements".
See for possibly more information. [AWT-EventQueue-0]
org.jdom2.input.JDOMParseException: Error on line 2801: cvc-identity-constraint.4.2.2: Duplicate key value [LT11 DS TR] declared for identity constraint "signalElementName" of element "signalelements".


Locked Re: Double crossover needed in Control Panel Editor

 

Ken,
Will not work in PE mode. I can add a regular turnout in PE with no problem and I can get the double cross icon window to show up but the "Add to Panel" button is grayed out and will not do anything.? I am running 4.13.5.
Side note....I was told earlier that an icon supported in PE but not in CPE will not convert to CPE. I hope that is wrong.
Paul D


Locked Unable to launch JMRI version 4.12

 

I am unable to launch this latest version of JMRI Decoder Pro.
I downloaded the latest version and it seems to install OK. I have also installed the latest version of Java. I am running Windows 10 on a 64 bit system.
When I launch Decoder pro, I get the following error response.
"Unrecoverable error encountered.
This application will quit.

java.lang.NoSuchMethodError: javax.help.SwingHelpUtilities.setContentViewerUI(Ljava/lang/String:v
at apps.jui3.Apps3.initialiazerHelpSytem(Apps3.java:141
at apps.jui3.Apps3.<init>(Apps3.java98)
at apps.jui3.dp3.DecoderPro3.<init>(DecoderPro3.java:27)
at apps.jui3.dp3.DecoderPro3.main(DecoderPro3.java:96)"

So this seems like a Java problem. I had previously installed Decoder Pro version 4.6 and this worked OK. Can anyone help?
Roger Lloyd


Locked Throttle freeze

Graham Orriss
 

Hi JMRI friends,

Does anyone know why the throttles freeze for a short period and then come back.? I am using JMRI 4.10 on a new dedicated motherboard and SSD with 8 Gb of memory.? JMRI links to an Hornby Elite controller.?

Thank you

Graham Orriss


Locked Re: Layout Portability

 

Hi Dave & Cliff

Tried to understand Dave's scripts... but I'm not a programmer so scripts are not of much use.

First off.. Connection Prefix is "L" for Digitrax on both computers.
I have modified both computers to have only the default settings by completely uninstalling 4.12, deleting all JMRI folders "everywhere" except registry and then reinstalling the program on both. (I did keep my 'layout'.xml files and selected the c:\program files directory on the Win7 to keep that variable the same.)

The application works perfectly using simulate on both. I have not connected the LocoBuffer-USB at all.

The file D:\Layouts JMRI\Roberts Layout31.xml loads on the Win7 without errors [debug xml reports OK too]. The Signal Table is fully populated.

I noticed one signal head was missing in the table so I added it. I used the correct user name [D Main B CCW], SEC8 4 Aspect and the correct turnout codes for the aspects [919 & 920]. Then I saved the entry. It was correctly processed.

I then closed the table and saved the configuration & panel. Shut down the program to restart PanelPro. I came up OK. When I loaded the layout again, the program reported an error and when I clicked on OK, it closed down.

Here is the log:

2018-12-03 17:16:33,135 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2018-12-03 17:16:33,166 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\Robert\JMRI\log\messages.log [main]
2018-12-03 17:16:33,166 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\Robert\JMRI\log\session.log [main]
2018-12-03 17:16:33,198 apps.Apps???????????????????????????? INFO? - PanelPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_151 on Windows 7 amd64 v6.1 at Mon Dec 03 17:16:33 SGT 2018 [main]
2018-12-03 17:16:34,088 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3f2ad5f8 [main]
2018-12-03 17:16:34,713 node.NodeIdentity???????????????????? INFO? - Using jmri-flM1ndZMrhNiaa5aGQeR91-3f2ad5f8 as the JMRI Node identity [AWT-EventQueue-0]
2018-12-03 17:16:36,432 loconet.LnPacketizer????????????????? INFO? - lnPacketizer Started [main]
2018-12-03 17:16:36,573 hexfile.LnHexFilePort???????????????? INFO? - LocoNet Simulator Started [LocoNet HexFileFrame]
2018-12-03 17:16:37,083 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main]
2018-12-03 17:16:37,085 util.FileUtilSupport????????????????? INFO? - File path preference: is D:\Layouts JMRI\ [main]
2018-12-03 17:16:37,086 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Robert\JMRI\My_JMRI_Railroad\ [main]
2018-12-03 17:16:37,086 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Robert\JMRI\ [main]
2018-12-03 17:16:37,087 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Robert\ [main]
2018-12-03 17:16:37,087 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files\JMRI\jython\ [main]
2018-12-03 17:16:39,133 PanelPro.PanelPro???????????????????? INFO? - Main initialization done [main]
2018-12-03 17:16:53,181 configurexml.ErrorHandler???????????? ERROR - Parse error while parsing file /D:/Layouts%20JMRI/Roberts%20Layout31.xml Exception: org.jdom2.input.JDOMParseException: Error on line 2801: cvc-identity-constraint.4.2.2: Duplicate key value [LT11 DS TR] declared for identity constraint "signalElementName" of element "signalelements".
See for possibly more information. [AWT-EventQueue-0]
org.jdom2.input.JDOMParseException: Error on line 2801: cvc-identity-constraint.4.2.2: Duplicate key value [LT11 DS TR] declared for identity constraint "signalElementName" of element "signalelements".
?at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:232)
?at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:253)
?at org.jdom2.input.SAXBuilder.build(SAXBuilder.java:1091)
?at jmri.jmrit.XmlFile.getRoot(XmlFile.java:197)
?at jmri.jmrit.XmlFile.rootFromURL(XmlFile.java:182)
?at jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:646)
?at jmri.configurexml.ConfigXmlManager.lambda$1(ConfigXmlManager.java:604)
?at jmri.util.ThreadingUtil.runOnGUIwithReturn(ThreadingUtil.java:152)
?at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:602)
?at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:231)
?at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:170)
?at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:160)
?at jmri.configurexml.LoadXmlConfigAction.loadFile(LoadXmlConfigAction.java:52)
?at jmri.configurexml.LoadXmlUserAction.actionPerformed(LoadXmlUserAction.java:44)
?at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
?at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
?at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
?at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
?at javax.swing.AbstractButton.doClick(Unknown Source)
?at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
?at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
?at java.awt.Component.processMouseEvent(Unknown Source)
?at javax.swing.JComponent.processMouseEvent(Unknown Source)
?at java.awt.Component.processEvent(Unknown Source)
?at java.awt.Container.processEvent(Unknown Source)
?at java.awt.Component.dispatchEventImpl(Unknown Source)
?at java.awt.Container.dispatchEventImpl(Unknown Source)
?at java.awt.Component.dispatchEvent(Unknown Source)
?at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
?at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
?at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
?at java.awt.Container.dispatchEventImpl(Unknown Source)
?at java.awt.Window.dispatchEventImpl(Unknown Source)
?at java.awt.Component.dispatchEvent(Unknown Source)
?at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
?at java.awt.EventQueue.access$500(Unknown Source)
?at java.awt.EventQueue$3.run(Unknown Source)
?at java.awt.EventQueue$3.run(Unknown Source)
?at java.security.AccessController.doPrivileged(Native Method)
?at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
?at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
?at java.awt.EventQueue$4.run(Unknown Source)
?at java.awt.EventQueue$4.run(Unknown Source)
?at java.security.AccessController.doPrivileged(Native Method)
?at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
?at java.awt.EventQueue.dispatchEvent(Unknown Source)
?at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
?at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
?at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
?at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
?at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
?at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 2801; columnNumber: 249; cvc-identity-constraint.4.2.2:

Layout 31 is a copy of layout 11 which I have not opened or modified so to have a clean file to copy from.

Working on signing up and downloading Dropbox.

Robert


Locked Defining a Departure Track

 

This is my first go at JMRI. I have loaded all my cars, locations, made 2 train and 2 routes. The build works just fine. I have departure and arrival tracks at 3 of my main terminals. I am wondering how I define them in the program. The switch list has my train switching at those teminals also. I live in Bloomington Mn.


Locked Re: Can't edit crossovers. Right click not working

 

Perfect Dave.? Thanks so much.


Locked Massoth mobile decoder definition files

 

hi there
is there a decoder pro definition file for massoth decoders
thanks?
keith


Locked Re: Double crossover needed in Control Panel Editor

 

Paul,

You can flip between PE and CPE. So flip to PE mode and add your double
crossover. Then flip back to CPE.

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


Locked Re: Panel Pro - Layout Editor - looking for up to date Tutorial

 

¿ªÔÆÌåÓý

This needs to be in an FAQ somewhere. Thanks to Dick for a clear definition of the differences.

?

From: [email protected] <[email protected]> On Behalf Of dick bronson
Sent: 02 December 2018 23:47
To: [email protected]
Subject: Re: [jmriusers] Panel Pro - Layout Editor - looking for up to date Tutorial

?

John,

I'll make some (many) comments based on my personal opinions.

a) Layout editor (LE) is a vector view of your layout. I.e. the toe bone connects to the foot bone, the foot bone, connects to the ankle bone, .... It is designed to document and edit the connectedness of the layout. It only allow for one definition of each chunk of the layout. (vector) As soon as you have two turnouts that operate as one (e.g. crossover) or two detectors that operate as one you need to fight the system to figure out how to defeat its basic nature. (typically by making an internal shadow to define the duplicate item) It was never designed to make a CTC panel drawing in the first place. Doing so is sort of like trying to use a CAD program to paint a landscape.

b) The Control Panel Editor (CPE) is designed to create a pictorial CTC machine (Control Panel) view of your layout. It consists of various icons and images that allow you to recreate either a classic or modern CTC panel with surprising fidelity. It neither knows nor cares how one image or icon connects to another. The disadvantage of that of course is that you need to manual define the items and how they fit together or what they control. The advantage of that is that it will not try to force you into its own way of doing things.

c) The Panel Editor (PE) is the original JMRI panel editor which has been superseded by the Control Panel Editor which has many new features and ease of use advantages over the original. PE should have been depreciated years ago, but JMRI seldom does that for anything.

d) Signal heads refers to the class of hardware that can only control a signal one set of lights at a time. Typically it controls R, Y, and G lamps.

e) Signal Masts refers to an entire signal, be it one head or many heads, 3 lights per head or 7, etc. Typically it operates by sending aspect messages, not individual light commands. However if your hardware doesn't understand aspects, then JMRI can create signal aspects out of multiple heads.

f) SSL stands for Simple Signal Logic. Think 'Simple' as in 'Simple minded', not simple as in 'Easy'. It does basic ABS on single track fairly well. However as soon as you add a crossover or anything more complex you need to cross your eyes and stand on one leg to figure out how to make it work correctly. (mostly done by adding invisible signals and calling them 'distant')

g) SML Signal Mast Logic. IMHO This is the way signal logic should always be done. It treats signaling as aspects (per the prototype). It calculates aspects as they relate to pairs of signals, i.e. the signal you are facing paired with the next signal along the path you will be taking. It has built in rules for a growing number of prototype railroads. This saves you a lot of research into how signaling should be done on your railroad. It takes the most complex trackage in its stride. For each signal pair you simply list the correct turnout positions along that route and list all the blocks between this signal and the next.

h) NEVER mix SSL and SML unless you enjoy cat fights and detective mysteries. They do not play at all nicely with one another and you will be left wondering just why in the world your signals behave the way they do.

i) Crossovers in CTC territory are two blocks. When calculating any block requirements always think about how many different trains can occupy any given area at the same time. That is the number of block detectors required. For single track it is one, unless the track is long, then it may be several so one train can follow another. For a single turnout it is one. For a crossover it is two, one on each side if they are passing. For a yard ladder it is ........ one. (unless you can switch two parts of the ladder at the same time somehow) Of course a yard ladder is not usually signaled, but it makes a nice example. <G>

Dick :)

._,_._,_