¿ªÔÆÌåÓý

Date

Locked Re: Program stalls.

 

PJ,

Please also elaborate as much as you can on what you mean when you say 'stalling'. Is it slowing down? If so: WHAT is slowing down? Is it stopping completely? If so: is that sudden or is response (in controlling a train or maybe a panel) getting progressively slower before grinding to a halt?

We must seem a collection of pedants, but, really, getting to grips means getting as clear an idea on what goes on as you can possibly give.

Wouter

On Sat, 8 Feb 2020 at 12:45, Phil in gorgeous Young Harris via Groups.Io <philabernathy=[email protected]> wrote:

PJ, I'm afraid that the description and details are too vague to get a specific answer.? I suspect that troubleshooting will have to involve changing things on that computer such as scripts or panels that are run from the start.?

For example, I suspect that "runaway" scripts with endless loops are the most common issue of a working JMRI that seems to be "stalling" but really, is just too busy to take input from you.? Really bad endless loops can overflow the memory on the computer and actually lock up the computer too.? I have not seen Logix cause that issue, but I have not seen it all, and am not an expert in that.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: RPI 4 and SPROG IIv3 loosing comms #sprog #rpi

 

What version (exactly) of JMRI?


Locked RPI 4 and SPROG IIv3 loosing comms #sprog #rpi

 

Hi all,

I gave been successfully working with a SPROG IIv3 and a new RPI 4 (running Raspbian) as a programming station, but am now finding that the USB comms seems to stop working after a bit and JMRI then always shows the Status us UNKNOWN.? If I unplug and restart the SPROG it will work ok for a while and then stop again.

So far I have not seen this discussed anywhere, so any ideas?

Thanks,
Ralph


Locked Re: New JMRI Version breaks my panels #4-18

 


Locked Can't load JMRI4.18 on Windows 10 Laptop #windows10 #4-18

 

When I try to load 4.18 on a windows 10 machine I get the error message:

Error opening file for writing:

C:\Program Files (X86)\JMRI\LaunchJMRI.exe

If I ignore this and complete the install, JMRI crashes when it is opened.

I have turned of Windows Defender firewall and tried running the installation as an administrator.

Any thoughts are appreciated!

Thanks,

Jack Varadi


Locked Re: Program stalls.

 

PJ, I'm afraid that the description and details are too vague to get a specific answer.? I suspect that troubleshooting will have to involve changing things on that computer such as scripts or panels that are run from the start.?

For example, I suspect that "runaway" scripts with endless loops are the most common issue of a working JMRI that seems to be "stalling" but really, is just too busy to take input from you.? Really bad endless loops can overflow the memory on the computer and actually lock up the computer too.? I have not seen Logix cause that issue, but I have not seen it all, and am not an expert in that.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: Program stalls.

 

The problem could be any of a large number of things. But you have given absolutely nothing upon which we can base our guesses.

Please see /g/jmriusers/topic/admin_how_to_ask_your/24915998?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,24915998 for a description of the basic information we will need to begin answering your question.

Regards,
Billybob


Locked Re: Operations manifest printing #operationspro

 

Irvin, what computer are you using, and what OS?? That will help narrow down the issue.

If Windows, the "default printer" is probably being sent all of the print jobs.? I believe that when previewing, the extra step of printer selection has to be done which lets the correct printer/printer driver to be chosen.? Check to see what the default printer is, and maybe it is as simple as changing to where you want the print to go.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: CATS opens but not Designer #cats

Randall Wood
 

Note that Bob¡¯s suggested fix will need to be redone every time you upgrade JMRI. A better fix may be to keep jdom.jar outside of lib and add ¡®--cp:p=¡°C:\path\to\jdom.jar¡±¡¯ to the launcher for Designer since this will survive upgrades of JMRI. See for more information on that.


Locked Re: Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor

 

Bob, Cliff,

I believe I have found the bug that causes the lack of image icons for signal heads. ?Since I rarely work in the Control Panel Editor code, I need to do more research to confirm my findings.

Dave Sand


----- Original message -----
From: Bob England <rje.bob@...>
Subject: Re: [jmriusers] Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor
Date: Friday, February 07, 2020 10:16 PM

DaveS / DaveH

Thanks very much for your comments.? Between your thoughts and CliffA's comments, I was able to migrate the icons.? The "Preferences" option did not show up previously, but when I physically deleted from the program directory the icon files, it showed up when JMRI asked what icon file to point to when it could not find the old file.? I've restructured the layout file with the icons on my J: directory.

Signal head icons are all still wonky, but at least now I?have the icon files in the proper place.

Thnks guys!

BobE


Locked Program stalls.

 

I dispatch on a fiends layout using Panel Pro. Every session the program stalls 2 to 3 time. He just told me tonight that when he does his restaging it stall also. Is there some setting that needs to be fixed? Or what can be the problem?

PJ


Locked Re: Operations Feature Request #operationspro

 

Well those train IDs sure sound like the good old Espee to me...
All my years of listenng to the scanner as trains left Taylor Yard, the crew would report to the DS train length, MTs, and Loads (as well as lead unit and HPPT). I get it, the more info the better, but here we try to reproduce how the big boys did it anyhow (for those that want to play that way at least).?
On the layout here (SP), crew paperwork informs them to notify DS if they have any work enroute. The DS needs to ask and hold trains until he gets the info he needs... ? ?:)
Its your RR, so do it like you want, and Happy RRing!

jeff


Locked Re: Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor

Bob England
 

DaveS / DaveH

Thanks very much for your comments.? Between your thoughts and CliffA's comments, I was able to migrate the icons.? The "Preferences" option did not show up previously, but when I physically deleted from the program directory the icon files, it showed up when JMRI asked what icon file to point to when it could not find the old file.? I've restructured the layout file with the icons on my J: directory.

Signal head icons are all still wonky, but at least now I?have the icon files in the proper place.

Thnks guys!

BobE


Locked Re: Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor

Bob England
 

I should add that I do not have this problem with turnout or sensor icons.

BobE


Locked Re: Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor

Bob England
 

Cliff

I definitely think we are on the same page.? When I drag-and-drop from ADD ITEMS - ITEM PALETTE - SIGNAL HEAD, this is exactly what I get - an empty list of icons in the XML file and an "X" on the Panel.? Signal heads inserted some while back are fine, and can be copied/relocated and work fine.

Also, I cannot change a signal?head icon set when I right click on an "X" icon and go to "Edit Signal Head Icon ...".? When I do this, I get the following in the System Console:

2020-02-07 21:43:17,497 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]
java.lang.IndexOutOfBoundsException: Invalid index
?at javax.swing.DefaultRowSorter.convertRowIndexToModel(Unknown Source)
?at javax.swing.JTable.convertRowIndexToModel(Unknown Source)
?at javax.swing.JTable.getValueAt(Unknown Source)
?at jmri.jmrit.display.palette.SignalHeadItemPanel.valueChanged(SignalHeadItemPanel.java:82)
?at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
?at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
?at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
?at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
?at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
?at javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(Unknown Source)
?at javax.swing.DefaultListSelectionModel.clearSelection(Unknown Source)
?at javax.swing.JTable.clearSelection(Unknown Source)
?at jmri.jmrit.display.palette.TableItemPanel.getTableSelection(TableItemPanel.java:208)
?at jmri.jmrit.display.SignalHeadIcon.updateItem(SignalHeadIcon.java:413)
?at jmri.jmrit.display.SignalHeadIcon$9.actionPerformed(SignalHeadIcon.java:389)
?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.plaf.basic.BasicButtonListener.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)

BobE


Locked Re: Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor

 

Bob,

From the comparison of your uploaded screenshot with what is shown on the screen of this computer, it now seems likely that we are working on the same page of the same choir book.

First, to answer your questions, then some more of mine:

And if I am correct, the only changes as you suggest were done to the XML file was?to the URL pointers.? For example:

url="program:resources/icons/_RJE/Signals/SearchErrorFlash.gif"

gets changed to:

url="preference:resources/icons/Signals/SearchErrorFlash.gif"

Am I correct??

That is correct.

If so, how did you do that?? I assume it was something other than manually adjusting the XML coding.

The include several that have free downloads. Notepad++ has been one that I have used for scripts, Arduino sketches, profile & xml files, and lots of others. Replacing all occurrences of program:resources/icons/_RJE with preference:resources/icons was the easy part.

Figuring out what to change and what to leave alone was the puzzler.

You also moved the icon files to the user resource folder (?)

Constructing an artificial "DISK J:" or copying your icons into my "program:" folder both seemed counterproductive.

How you chose to manage your custom made icons is still up to you and your needs. What I needed was a self contained package.

As was stated earlier, my personal programming and management style came into play. It is my habit to keep panels, jython, and resources subfolders within the confiig profile subfolder where they are used. In part this habit is due to numerous actions to help members on this list with problems and it would be unmanageable if I were to intermix your icons with everyone else's that I have downloaded in exercises like this one.

I opened your file with your configuration (have never tried the loconet simulator before so it took a second to get oriented.?

Without a connection to your layout hardware, as was noted, the simulator was the best tool available to me. It was expected that you would quickly modify the connection to undo that choice. It was also expected that occasionally there could be a discrepancy when you make that change.

I tried to place a edit the "X" signalhead with no luck, and also tried to place a new signalhead, and it again only placed an "X" no matter which iconset was selected.

I've placed a screenshot file at:

/g/jmriusers/files/ProblemsBeingWorkedOn/RJE/200207%20-%20Screen%20Shot%20-%20Panel%20Editor%20-%20Coombe%20Junction.zip

To show what I am seeing in case it might be different than what you see.?

We are getting the same kind of images.

Note the "X" on the UPPER BRIDGEBURY part of the panel.? This is a signal head icon, placed using ADD ITEMS, that I can't change to a working icon set.

Now we get to what I think might be the essence of your original posting on another thread and to the limits of my understanding of what you have done:

How does one define an iconmaps family within JMRI PanelPro????

In particular, how did you define:

      <iconmaps family="RJE_SHicon_Searchlight" />

That line is copied 34 time in the "BOBsControlPanel 10r.xml" file and once in the "Test01.xml" but starting at line #12897 in BOBsControlPanel 10r we find:

    <signalheadicon signalhead="SH_1A3.N" x="921" y="312" level="9" forcecontroloff="false" hidden="no" positionable="true" showtooltip="true" editable="true" clickmode="3" litmode="false" class="jmri.jmrit.display.configurexml.SignalHeadIconXml">
      <tooltip>TEST SH_1A3.N</tooltip>
      <icons />
      <iconmaps family="RJE_SHicon_Searchlight" />
    </signalheadicon>

it is noticeable that the <icons /> provides an empty list of icons for that signalhead but not for the other occurrences in BOBsControlPanel 10r!

I do not understand this, nor do I know if this is causing your problem! I do not believe in coincidences!

At a minimum, it seems important to figure out if this is just noise or if it is a clue.

Cliff in Baja SoCal


Locked Operations manifest printing #operationspro

 

JMRI
Panel Pro
Version 4.14 +Rd060e0b

JAVA
Version 1.8.0_241(en)

PRINTER
Canon TS6120? -? Wireless

Have searched the problem below with no results.

Cannot print manifest when ¡°Preview¡± is unchecked.

Run build ¨C press print ¨C print window comes up ¨C press properties ¨C check ¡°preview before printing¡±

OK my way out and ¡°Canon Preview window¡± shows.?? The window shows the Manifest page.
Press ¡°Start Printing¡±????? Window disappears and nothing happens, computer just sits there with no error messages.

Note ¨C
1? -? ¡°Use text editor¡± is checked in Manifest print options.
2? -? Print Queue shows that the printer is online and that ¡°it is printing¡±.
3? -? I can print the manifest if I check ¡°show preview¡± then go to preview and print it from there.
4? -? I am able to print all other pages.

This seems very strange that having preview unchecked is the only place that causes this problem.
Also strange that no errors are appearing and the computer is just sitting doing nothing.

Anyone have any ideas.?

Irvin


Locked Re: Econami and Tsunami2 Programming issue #nce #soundtraxx

 

Does any of this carry over to CV writing and reading with PowerCab system. I use my PowerCab for only Program Track and the Pro system in the layout <<<<
No, it doesn't. The bug in the firmware applies only to the Power Pro system. The heading in Dave's post specifically states: "Power Pro CV Limitations".

Best regards,

Steve

Steve Haas
Snoqualmie, WA


Locked Re: NCE Power Cab - USB Interface to JMRI #nce #powercab

 

¿ªÔÆÌåÓý

tylergrote,

On 7 Feb 2020, at 4:16 PM, tylergrote@... wrote:

Seems like this is a newly common problem, but I cannot figure out what I'm doing. Help is appreciated!

It is, and I'm afraid it's possibly a hardware problem.

COM3 port is confirmed at 9600 baud in device manager (Windows 10). Confirmed same settings in DecoderPro Preferences.?

The baud rate settings in Device Manager are irrelevant. They are overridden by JMRI.

What matters is that the JMRI baud rate and the NCE USB Jumper settings match.


Service Mode Programmer NCE Is Online. Operations Mode Programmer NCE Is Online.?

That indicates you've got matching baud rates and JMRI has been able to talk to the NCE USB.

Every time I try to communicate with PowerCab from computer/JMRI via the identify function,? I time out and nothing occurs.? It also says "Unknown Programming Mode" at the top of the screen.?

See below. I'll explain the log.

2020-02-06 23:13:29,893 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2020-02-06 23:13:29,901 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\tyler\JMRI\log\messages.log [main]
2020-02-06 23:13:29,901 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\tyler\JMRI\log\session.log [main]
2020-02-06 23:13:29,905 apps.AppsBase? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - DecoderPro version 4.18+R37ad3d0 starts under Java 1.8.0_241 on Windows 10 x86 v10.0 at Thu Feb 06 23:13:29 CST 2020 [main]
2020-02-06 23:13:30,041 gui3.Apps3? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO? - Starting with profile My_JMRI_Railroad.3e2624fc [main]
2020-02-06 23:13:30,164 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using 97c2d6e1-b0b9-4e73-bad0-4c798080bcc3 as the JMRI storage identity for profile id 3e2624fc [AWT-EventQueue-0]
2020-02-06 23:13:30,257 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]
2020-02-06 23:13:30,530 usbdriver.UsbDriverAdapter? ? ? ? ? ? INFO? - NCE USB COM3? port opened at 9600 baud [main]
2020-02-06 23:13:30,639 nce.NceConnectionStatus? ? ? ? ? ? ? ?INFO? - NCE EPROM revision = 7.3.0 [AWT-EventQueue-0]

This tells us that JMRI has been able to communicate with the NCE USB and it has reported that it is a V7 and all jumpers are off.

These are correct settings. Do not change them under any circumstances. If you do, you will just make troubleshooting extremely difficult.

2020-02-06 23:15:03,285 nce.NceMessage? ? ? ? ? ? ? ? ? ? ? ? ERROR - attempt to send unsupported binary command KILL_MAIN_CMD to NCE USB [AWT-EventQueue-0]
2020-02-06 23:15:04,765 nce.NceMessage? ? ? ? ? ? ? ? ? ? ? ? ERROR - attempt to send unsupported binary command KILL_MAIN_CMD to NCE USB [AWT-EventQueue-0]

You seem to have tried the Power button. The Power Cab does not support that command so JMRI has blocked it.

2020-02-06 23:15:21,693 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on reply to message: A9 00 1D consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2020-02-06 23:15:23,951 jmrix.AbstractMRTrafficController? ? ?WARN? - timeout flushes receive buffer: 30 [nce.NceTrafficController Receive thread]

JMRI has now told the NCE USB to pass a "Read CV 29 in Direct Mode" on to the Power Cab and the NCE USB has reported back that the communication with the Power Cab failed.

The communication takes place on wires 3 & 4 of the Cab Bus cable. So check your connectors sockets and cables, try the NCE USB in the other available socket (rear or front right. If you have any spare cables, try swapping out cables.

Let us know what you find.

Dave in Australia


Locked Re: Two trains on Main line #automation

 

Okay might have part of my problem solved. Managed to get the trains moving and one even stopped where I think it should have. Still need to figure out how to stop them from running in each?other.

Phil