开云体育


Re: Jython script Error - obj has no attribute 'setIsForward'

 

Thanks for the speedy response Dave. Ok I'll add that but the throttle ID in the IM was 1111. Why is that invalid? It's not part of my roster but im using it or testing.


Re: Jython script Error - obj has no attribute 'setIsForward'

 

Vinny,

You are not checking to see if the throttle is valid.

if self.throttle is not None:
? ? self.throttle.setIsForward(True)
else:
? ? print 'Unable to get throttle for {}'.format(TrainsBreakInLocoIDNum)
? ? # do whatever to handle the error

Dave Sand


----- Original message -----
From: "Vinny DeRobertis via groups.io" <vinny.derobertis=[email protected]>
Subject: [jmriusers] Jython script Error - obj has no attribute 'setIsForward'
Date: Friday, April 11, 2025 2:05 PM

Team, attached snip of script where the error is occurring. Funny thing is that it works fine 90% of the time.
--

Many thanks in advance!

Vinny DeRobertis ~ Apex, NC
New York & Hudson Valley RR

Windows 7 Pro / Java 11 / JMRI v5.10
Command Station: Digikeijs DR5000.
Booster: Digikeijs DR5033
(4) Samsung A7 10.4" Tablets
Fully Kiosk/Engine Driver v2.37.187
DCC/DMX Gateway: Pricom LLS.
LocoNet Input Modules: Digikeijs DR4088LN
DCC Output Modules:
Digikeijs DR4018 / Yamorc YD8116.
Sensors: Model Train Technology: DETECTOR-HO.
Turnout Motors: MTB MP1

Attachments:
  • 20250411_145955.jpg


Re: Jython script Error - obj has no attribute 'setIsForward'

 

...just realized that after this error, now I cannot control Turnouts from the CPE. this happened last night for the first time ever. I rebooted TWICE and got things working again and now it has happened again. Nothing else in the system console other than the setisforward error.


Jython script Error - obj has no attribute 'setIsForward'

 

Team, attached snip of script where the error is occurring. Funny thing is that it works fine 90% of the time.
--

Many thanks in advance!

Vinny DeRobertis ~ Apex, NC
New York & Hudson Valley RR

Windows 7 Pro / Java 11 / JMRI v5.10
Command Station: Digikeijs DR5000.
Booster: Digikeijs DR5033
(4) Samsung A7 10.4" Tablets
Fully Kiosk/Engine Driver v2.37.187
DCC/DMX Gateway: Pricom LLS.
LocoNet Input Modules: Digikeijs DR4088LN
DCC Output Modules:
Digikeijs DR4018 / Yamorc YD8116.
Sensors: Model Train Technology: DETECTOR-HO.
Turnout Motors: MTB MP1


Re: Have a question about having a train pick up a specific car #operationspro

 

Another idea is to add a new "Car Type".? That's done via the Cars window, by selecting the "Add Car" button, getting that window, then clicking the Car Type "Edit" button.
?
?
Type in your new car type, then click Add:
?
?
This does NOT create a 'custom load', and allows you to use the default "L" or "E".??Set the necessary spur(s) to accept that Car Type.??
?
This has worked for me quite well with cars in/out for a steel mill, automobile plant, and grain elevators.
?
Best,
?
CRZ


Re: DecoderPro no loco roster #roster

 

I am having a similar problem.? I've run decoder pro for many years and have a roster of over 100 engines.? Yesterday, I was using it and everything was working fine.? I then shut it down and about a 1/2 hour later restarted it and low an behold no roster.? If I look on my server I can see the directory and all of my engine files but I've tried rebuild roster and it didn't work.? Can someone walk me thru the steps to recover my roster?
Thanks, John Moonan


Re: DecoderPro no loco roster #roster

 

You must have changed something for this to happen.? Can you recall any changes at all you made to JMRI or your computer setup between when everything worked and you noticed your issues?
--
Tom


Re: Startup Gets Stuck #startup

 

Dick,

I read it differently. I quote: "It became necessary to RE-install". That implies an existing installation, with (who knows?) any of panel files, scripts, roster, profiles, connected hardware. Which is why I stand by what I wrote. If there was nothing on the old machine/installation that needs salvaging, you are, of course, totally correct.

Wouter

On Fri, 11 Apr 2025 at 16:28, dick bronson via <dick=[email protected]> wrote:

Wouter,

He is not trying to get something that was working working again. He has upgraded to a completely new machine and installed from scratch. What I am suggesting is that he shouldn't try to duplicate his old setup on a new machine, but rather to use current software versions on a new setup. There is no reason that I am aware of that JMRI 4.26 shouldn't be able to run on Java 17.

Dick :)

On 4/11/2025 9:50 AM, whmvd via wrote:
I could not disagree more. Much better to get working what was once working (albeit on other hardware), than to try to upgrade from something that does not work, in the (guaranteed vain) hope of a magic fix happening along the way. It's just not good fault-finding procedure.

Only add an upgrade into the mix once 4.26 works again. Java 8 plus jmri 4.26 is a perfectly feasible combo, and there's no reason for a knee-jerk upgrade just because newer stuff exists.

Wouter?

On Fri, 11 Apr 2025, 13:41 dick bronson via , <dick=[email protected]> wrote:

Richard,

You have a modern computer, but are running very old software.

Uninstall Java 8. It is a decade old now and no longer supported. Go to to download Java 17 JRE. Once that is done, then follow the JMRI release notes to upgrade JMRI to a current version. Once that is done, then see if you still have the issue. If so ask your question again.

Dick :)

On 4/10/2025 8:56 PM, rprdds24 via wrote:
Recently it became necessary to reinstall Java and JMRI. First, I checked that both programs were uninstalled. I then installed Java? Version 8 Update 441 and JMRI Version 4.26+R381. Both were problem free installs. I then tried to start JMRI so I could load my roster. The Java icon and the DecoderPro icon appeared in the taskbar and the small JMRI splash screen appeared in the middle of my screen. That's as far as the startup got. I've listed my equipment below. What am I missing? I'd appreciate any help in getting started.?
--
Richard Richter
?
Dell Lattude 3190 2-in-1 Laptop Computer
Microsoft Windows? 11 Pro
RR-CirKits LocoBuffer-NG Rev-a
Digitrax ZephyrXtra DCS 51 Command Station


Test release 5.11.5 of JMRI/DecoderPro is available for download #announcement

 

Test release 5.11.5 of JMRI/DecoderPro is available for download.

This is the next in a series of test releases that will culminate in a production release, hopefully in June 2025. It's really helpful when people download, install and use these test releases so we can find and fix any inadvertent new problems early.

If you are currently using JMRI 4.99.10 or earlier, there is an update process that we strongly recommend. See the release note section on updates:
<>

For more information on the issues, new features and bug fixes in 5.11.5 please see the release note:
<>

Note that JMRI is made available under the GNU General Public License. For more information, please see our copyright and licensing page.
<>

The download links, along with lots of other information which we hope you'll read, can be found on the release note page:
<>

Bob

Bob Jacobsen
rgj1927@...


Re: jmri 5.10 automation no longer functions

 

开云体育

Still need where speed can be controlled when using automation
Tony



On Apr 10, 2025, at 6:21?PM, AD <bklyns_baseball_club@...> wrote:

?Any info on how to find any other variables controlling speed during automation.
The engines ,3 of them, ?dont run very fast even at 100% speed by ?throttle but the automation is running them at a hardly moving speed when i set speed to max in blocks and 200% in creation. ?Thus they stop when going over switches as they have no momentum to get them past the 1.5 inch throwing mechanism which does not have power.

Tony


On Apr 10, 2025, at 1:42?PM, AD <bklyns_baseball_club@...> wrote:

?Dear Steve

Some of my engines run extremely slow in automation ?and run faster with throttle control. ?My speed in the block table is maximum and my speed in create train is 200% maximum.

Where else is speed during automation controlled?

Also i noticed the last table in the list of tables was something like warrants but it’s no longer there. ?Why was that page eliminated and if it was warrents where are the warrents settings now

Tony



On Apr 8, 2025, at 10:10?PM, Steve_G via groups.io <RailRodder22@...> wrote:

?
Tony
What you describe sounds like you are using "head only". Try loco by itself with the correct length and "full trian" detection.
Steve G.
?


Re: Startup Gets Stuck #startup

 

开云体育

Wouter,

He is not trying to get something that was working working again. He has upgraded to a completely new machine and installed from scratch. What I am suggesting is that he shouldn't try to duplicate his old setup on a new machine, but rather to use current software versions on a new setup. There is no reason that I am aware of that JMRI 4.26 shouldn't be able to run on Java 17.

Dick :)

On 4/11/2025 9:50 AM, whmvd via groups.io wrote:

I could not disagree more. Much better to get working what was once working (albeit on other hardware), than to try to upgrade from something that does not work, in the (guaranteed vain) hope of a magic fix happening along the way. It's just not good fault-finding procedure.

Only add an upgrade into the mix once 4.26 works again. Java 8 plus jmri 4.26 is a perfectly feasible combo, and there's no reason for a knee-jerk upgrade just because newer stuff exists.

Wouter?

On Fri, 11 Apr 2025, 13:41 dick bronson via , <dick=[email protected]> wrote:

Richard,

You have a modern computer, but are running very old software.

Uninstall Java 8. It is a decade old now and no longer supported. Go to to download Java 17 JRE. Once that is done, then follow the JMRI release notes to upgrade JMRI to a current version. Once that is done, then see if you still have the issue. If so ask your question again.

Dick :)

On 4/10/2025 8:56 PM, rprdds24 via wrote:
Recently it became necessary to reinstall Java and JMRI. First, I checked that both programs were uninstalled. I then installed Java? Version 8 Update 441 and JMRI Version 4.26+R381. Both were problem free installs. I then tried to start JMRI so I could load my roster. The Java icon and the DecoderPro icon appeared in the taskbar and the small JMRI splash screen appeared in the middle of my screen. That's as far as the startup got. I've listed my equipment below. What am I missing? I'd appreciate any help in getting started.?
--
Richard Richter
?
Dell Lattude 3190 2-in-1 Laptop Computer
Microsoft Windows? 11 Pro
RR-CirKits LocoBuffer-NG Rev-a
Digitrax ZephyrXtra DCS 51 Command Station


Re: Paragon4 (400a) Decoder Programming issues

 

开云体育

Don:

?

True, everything seem to be working now.

?

Thanks,

?

Joe

?

From: [email protected] [mailto:[email protected]] On Behalf Of Don Shroyer via groups.io
Sent: Friday, April 11, 2025 6:55 AM
To: [email protected]
Subject: Re: [jmriusers] Paragon4 (400a) Decoder Programming issues

?

Joe,

?

I've also posted before about my own experience with CV 217 and Paragon3s. I've mentioned the values that have worked for me with various models (20-70), and that the trick on the programming track seems to be to write the new value, and then read it back to confirm. If the the new value did write, you've found your setting.

?

Regards


Re: Signal Mast Logic Translation Latency #sml

 

So, what type of turnout are you using? -
?
All signal masts are controlled by CT turnouts (CMRI Network). All signals correspond to their CT values as intended and function as intended when the system is not acting up.?
?
- Hunter


Re: Startup Gets Stuck #startup

 

I could not disagree more. Much better to get working what was once working (albeit on other hardware), than to try to upgrade from something that does not work, in the (guaranteed vain) hope of a magic fix happening along the way. It's just not good fault-finding procedure.

Only add an upgrade into the mix once 4.26 works again. Java 8 plus jmri 4.26 is a perfectly feasible combo, and there's no reason for a knee-jerk upgrade just because newer stuff exists.

Wouter?


On Fri, 11 Apr 2025, 13:41 dick bronson via , <dick=[email protected]> wrote:

Richard,

You have a modern computer, but are running very old software.

Uninstall Java 8. It is a decade old now and no longer supported. Go to to download Java 17 JRE. Once that is done, then follow the JMRI release notes to upgrade JMRI to a current version. Once that is done, then see if you still have the issue. If so ask your question again.

Dick :)

On 4/10/2025 8:56 PM, rprdds24 via wrote:
Recently it became necessary to reinstall Java and JMRI. First, I checked that both programs were uninstalled. I then installed Java? Version 8 Update 441 and JMRI Version 4.26+R381. Both were problem free installs. I then tried to start JMRI so I could load my roster. The Java icon and the DecoderPro icon appeared in the taskbar and the small JMRI splash screen appeared in the middle of my screen. That's as far as the startup got. I've listed my equipment below. What am I missing? I'd appreciate any help in getting started.?
--
Richard Richter
?
Dell Lattude 3190 2-in-1 Laptop Computer
Microsoft Windows? 11 Pro
RR-CirKits LocoBuffer-NG Rev-a
Digitrax ZephyrXtra DCS 51 Command Station


Re: Virtual Signal Masts for End-Blocks

 

A signal mast that is only a SML destination mast will automatically display Stop.

Dave Sand


----- Original message -----
From: "Ken Heywood via groups.io" <kheywood=[email protected]>
Subject: Re: [jmriusers] Virtual Signal Masts for End-Blocks
Date: Friday, April 11, 2025 3:13 AM

All my spurs are terminated with virtual dwarf masts. All are set to stop and saved. My SML is auto-generated. The mast at the turnout throat rightly displays approach when the turnout is aligned to the ?spur.
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.4 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


Re: Signal Mast Logic Translation Latency #sml

 

On 4/11/2025 8:35 AM, Hunter via groups.io wrote:
*"you would be using turnout driven signal heads which are then on a signal mast using signal heads, correct?" - *
I setup the signals as "signal masts" with no "signal heads" using the output mast matrix setup.
So, "No, but yes". "No", because you are not uning "signal heads". But "YES", because you are using "Output Matrix Mast" signals which each can use multiple "Turnouts".

So, what type of turnout are you using? If "LT*" Turnouts, that's probably your problem - see /g/jmriusers/message/241217 , where I provided a link that (usually) provides the cause of the problem, and provides a BUNCH of potential solutions...


Re: Startup Gets Stuck #startup

 

开云体育

Richard,

You have a modern computer, but are running very old software.

Uninstall Java 8. It is a decade old now and no longer supported. Go to to download Java 17 JRE. Once that is done, then follow the JMRI release notes to upgrade JMRI to a current version. Once that is done, then see if you still have the issue. If so ask your question again.

Dick :)

On 4/10/2025 8:56 PM, rprdds24 via groups.io wrote:

Recently it became necessary to reinstall Java and JMRI. First, I checked that both programs were uninstalled. I then installed Java? Version 8 Update 441 and JMRI Version 4.26+R381. Both were problem free installs. I then tried to start JMRI so I could load my roster. The Java icon and the DecoderPro icon appeared in the taskbar and the small JMRI splash screen appeared in the middle of my screen. That's as far as the startup got. I've listed my equipment below. What am I missing? I'd appreciate any help in getting started.?
--
Richard Richter
?
Dell Lattude 3190 2-in-1 Laptop Computer
Microsoft Windows? 11 Pro
RR-CirKits LocoBuffer-NG Rev-a
Digitrax ZephyrXtra DCS 51 Command Station


Re: Signal Mast Logic Translation Latency #sml

 

"Are you using flashing aspects?" -
?
We do not use any flashing aspects.
?
"you would be using turnout driven signal heads which are then on a signal mast using signal heads, correct?" -?
?
I setup the signals as "signal masts" with no "signal heads" using the output mast matrix setup.

"Does it seem to mater if only one train it out there vs a number of trains?" -?
?
It seems to starts to fall behind when there is around 4-5+ trains (Not uncommon for us) it starts as lag then just becomes frozen with occasional alternating colors. We use resistance based block detection with a 15 second debounce and I am getting all of that data as usual with no noticeable lag in on my panel even while the signals go crazy.?


Re: Signal Mast Logic Translation Latency #sml

 

1). I am seeing this with all signal masts on the layout.
2). It seems to be present on startup and then come and go after I let it settle for several minutes after startup. It seems like it chokes under higher load with several trains running knocking down signals.
3). Everything as for the JMRI interface, WIThrottles, (I use a TCS-UWT50) all run as usual with no issues.
4). Agree, only interaction is an indirect correlation with the signal mast logic.?
5). Same result after startup, everything is stalled. ~10 Minutes to clear up and start reflecting changes in the turnout tables.
6). In logix disabled mode: Update- [ 219.086, 208.914, 428.000 ] Collect Memory - [ 103.949, 284.051, 388.000 ]


Re: Signal Mast Logic Translation Latency #sml

 

开云体育

Hunter,

?

Are you using flashing aspects?

?

Now with the masts being on CMRI, that means you would be using turnout driven signal heads which are then on a signal mast using signal heads, correct?

?

Since the physical turnouts and the lamps are also turnouts, they go to the node all at one time. You don’t see any latency with the physical turnouts but the signals seem the problem. Does it seem to mater if only one train it out there vs a number of trains?

?

-Ken Cameron, Member JMRI Dev Team

?

?