Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
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.? |
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 |
Dave
Uploaded systemConsole.txt to?/g/jmriusers/files/ProblemsBeingWorkedOn/Block%20Error%20Issue/systemConsole.txt Bob Z |
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: 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:
That is correct.
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 Figuring out what to change and what to leave alone was the puzzler.
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.
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.
We are getting the same kind of images.
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:
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:
it is noticeable that the 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
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".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 <<<< Best regards, Steve Steve Haas Snoqualmie, WA |
¿ªÔÆÌåÓýtylergrote, Seems like this is a newly common problem, but I cannot figure out what I'm doing. Help is appreciated! COM3 port is confirmed at 9600 baud in device manager (Windows 10). Confirmed same settings in DecoderPro Preferences.? What matters is that the JMRI baud rate and the NCE USB Jumper settings match.
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.
You seem to have tried the Power button. The Power Cab does not support that command so JMRI has blocked it.
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 |