Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: upgrade to 4.19.2 causes dispatcher failure
#dispatcher
Hi Craig,
What (exactly) were you doing when this error occurred? I see mouse events in the trace, so I assume you were pressing something with the mouse? Does it happen if you wait a bit before taking this action? I've noticed that layout editor seems to take a bit to catch up with the connectivity. --SteveT |
Locked
Re: JMRI 4.18 VSDecoder on Raspberry Pi 3B+
#vsdecoder
#rpi
On Tue, Jan 14, 2020 at 12:52 PM, Klaus Killinger wrote:
Could you please search for the openal package with ...Here are the results: pi@rpi-splrr:~ $ dpkg --get-selections | grep "openal*"
libopenal-data install
libopenal-dev:armhf install
libopenal1:armhf install
pi@rpi-splrr:~ $?
? |
Locked
Re: Arrow keys on laptop
#jmrithrottle
I see what you mean. This would require a DEV team member? to write up the code for the throttle. Option to switch around the left/right arrow keys.
This is all imbeded in the code and not a simple task for non-dev person..? I tried looking for the proper module involved (on GITHUB which contains the original code) ) and it is not simple. No one ever mentioned the fact the left/right arrow keys are inverted logiv.. Guess no one ever bothered with it, Marc |
Locked
Re: JMRI 4.18 VSDecoder on Raspberry Pi 3B+
#vsdecoder
#rpi
On Tue, Jan 14, 2020 at 11:37 AM, Bob Jacobsen wrote:
The line quoted below (probably) indicates the the file at resources/vsdecoder/Alco-244-RS3.vsd within the JMRI program directory has been truncated or otherwise damaged.Bob, You were correct, the file was damaged and I replaced it. Now the System Console shows this: 2020-01-14 13:14:59,873 audio.NullAudioFactory? ? ? ? ? ? ? ? INFO? - Initialised Null audio system - no sounds will be available. [AWT-EventQueue-0]
2020-01-14 13:15:36,610 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [Thread-28]
java.lang.IllegalArgumentException: timeout value is negative
at java.base/java.lang.Thread.sleep(Native Method)
at jmri.jmrit.vsdecoder.Diesel3Sound$D3LoopThread.changeNotch(Diesel3Sound.java:735)
at jmri.jmrit.vsdecoder.Diesel3Sound$D3LoopThread.run(Diesel3Sound.java:667)
2020-01-14 13:16:51,259 vsdecoder.EngineSound? ? ? ? ? ? ? ? ?INFO? - Emergency Stop called! [AWT-EventQueue-0]
2020-01-14 13:45:35,491 vsdecoder.Diesel3Sound? ? ? ? ? ? ? ? WARN? - No Idle Notch Specified! [AWT-EventQueue-0]
2020-01-14 13:45:35,532 vsdecoder.Diesel3Sound? ? ? ? ? ? ? ? INFO? - No Idle Notch Specified.? Choosing Notch 1 to be the Idle Notch. [AWT-EventQueue-0]
2020-01-14 13:46:48,868 vsdecoder.EngineSound? ? ? ? ? ? ? ? ?INFO? - Emergency Stop called! [AWT-EventQueue-0]
The first loco was the RS3, which produced no sound.? I did the Emergency Stop, deleted that VSDecoder entry and created the second which is a NW2, and once again, no sound. Am I trying to do this wrong? I have JMRI PanelPro running with a layout showing and the withrottle server running. I do Debug->Virtual Sound Decoder->VSDecoder Manager, in that window showing "No Active Decoders", I click on "Add Decoder".? A second window pops up and I select a roster entry and confirm that the profile shown is correct for that loco.? I click on "Save to Roster" and the "OK". The window now shows the Loco and the profile with some buttons like Coupler, Horn & Bell.? Engine button shows Engine off since I set preferences to auto-start. I then start a throttle for that loco and start it moving.? Clicking on the Coupler, Horn and Bell buttons in the VSDecoder Manager window does nothing. Am I supposed to change anything else in the roster to make this work? Thanks in advance. -splasher in somd |
Locked
upgrade to 4.19.2 causes dispatcher failure
#dispatcher
OS is Mint 19.3, Java version 11.0.5. Dispatcher runs successfully with JMRI 4.18, but fails with JMRI 4.19.2. The following is the output from the system console:
2020-01-14 11:32:10,168 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0] java.lang.NullPointerException at jmri.jmrit.display.layoutEditor.ConnectivityUtil.getLayoutTurnoutsThisBlock(ConnectivityUtil.java:647) at jmri.Section.placeDirectionSensors(Section.java:1850) at jmri.Transit.checkSignals(Transit.java:491) at jmri.jmrit.dispatcher.DispatcherFrame.createActiveTrain(DispatcherFrame.java:1232) at jmri.jmrit.dispatcher.ActivateTrainFrame.addNewTrain(ActivateTrainFrame.java:765) at jmri.jmrit.dispatcher.ActivateTrainFrame.access$14(ActivateTrainFrame.java:630) at jmri.jmrit.dispatcher.ActivateTrainFrame$16.actionPerformed(ActivateTrainFrame.java:450) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) at java.desktop/java.awt.Component.processEvent(Component.java:6397) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) |
Locked
Re: JMRI 4.18 VSDecoder on Raspberry Pi 3B+
#vsdecoder
#rpi
The version info should be in the session.log. On my RPi the path is /home/pi/.jmri/log/session.log.
toggle quoted message
Show quoted text
Could you please search for the openal package with ... $ dpkg --get-selections | grep "openal*" Klaus Am 14.01.2020 um 17:04 schrieb splasher: On Mon, Jan 13, 2020 at 11:21 AM, Klaus Killinger wrote:Forgot to add in my other response, I do not see any information like your example. |
Locked
Re: JMRI 4.18 VSDecoder on Raspberry Pi 3B+
#vsdecoder
#rpi
The line quoted below (probably) indicates the the file at resources/vsdecoder/Alco-244-RS3.vsd within the JMRI program directory has been truncated or otherwise damaged. Thanks, Bob. splasher, I have also downloaded the file. The files size should be 14.265.519 Bytes. Klaus |
Locked
Re: Cab Signals Icons don't fit
#cabsignals
Hi Chuck,
I'm not familiar with WiThrottle, AFAIK there's no protocol for sending CAN or CabSignal data using it. I can see how it would be a cool feature to have, though this would need to be progressed via a specialist in WiThrottle. Have just submitted a tweak to the JMRI CabSignal Tool, will re-post when available to test, Steve. |
Locked
Re: "Output Matrix Mast" - only 6 lamps
#signalmasts
Was that ever stored? I don¡¯t see any vestige of it in the code.
If it wasn¡¯t there, I¡¯ll add it, but it might take a couple days. Bob On Jan 13, 2020, at 11:54 AM, Eckart Meyer <mey-jmri@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: JMRI 4.18 VSDecoder on Raspberry Pi 3B+
#vsdecoder
#rpi
The line quoted below (probably) indicates the the file at resources/vsdecoder/Alco-244-RS3.vsd within the JMRI program directory has been truncated or otherwise damaged.
Bob On Jan 14, 2020, at 8:02 AM, splasher <steve@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: "Output Matrix Mast" - only 6 lamps
#signalmasts
One of Really Nice feature of model railroading is that there are _lots_ of approaches to building and operating a layout. JMRI is (partly) oriented toward that: If somebody wants to use something in a different way, that¡¯s fine. That lets it be useful, even valuable, to lots of people. Extending it to capture a different way of doing things grows the party.
At the same time, too many options can be confusing. Sometimes telling people how to do things, or maybe two ways of doing things, gets them to a workable solution faster. There¡¯s some tension between these, and different people have different preferences. That¡¯s OK: Even about those things, JMRI tries to allow lots of approaches to discussions. But then some people prefer just one approach, and the cycle repeats¡ With luck and ongoing brilliant work by the moderators, JMRIuses will keep doing this and providing solutions for a long time¡ Bob On Jan 14, 2020, at 4:34 AM, Eckart Meyer <mey-jmri@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: JMRI 4.18 VSDecoder on Raspberry Pi 3B+
#vsdecoder
#rpi
On Mon, Jan 13, 2020 at 11:21 AM, Klaus Killinger wrote:
If you start JMRI and then open the VSD manager window, do you get a version info? Something like ..Forgot to add in my other response, I do not see any information like your example. -splasher in somd |
Locked
Re: JMRI 4.18 VSDecoder on Raspberry Pi 3B+
#vsdecoder
#rpi
Klaus,
Just to be sure, I ran the install that you suggested. This is what the System Console shows after I start VSDecoder Manager: 2020-01-14 10:16:10,260 vsdecoder.LoadVSDFileAction? ? ? ? ? ?ERROR - ZipException opening file /usr/JMRI/resources/vsdecoder/Alco-244-RS3.vsd [AWT-EventQueue-0]
java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1535)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1436)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1443)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1274)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1237)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:727)
at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:844)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:247)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:177)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:148)
at jmri.jmrit.vsdecoder.VSDFile.<init>(VSDFile.java:64)
at jmri.jmrit.vsdecoder.LoadVSDFileAction.loadVSDFile(LoadVSDFileAction.java:114)
at jmri.jmrit.vsdecoder.VSDecoderCreationAction.actionPerformed(VSDecoderCreationAction.java:74)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6397)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
It is all gibberish to me, so I don't know if it tells you anything or not. Following FlightRisk's comment, I have tried this with both analog speaker and the HDMI (hooked to a TV) and there is no sound either method. I don't know if it means anything, but when I start the VSD Manager, I always have to "Add Decode" and select my loco, it does remember which Profile to use for that loco though. |
Locked
Re: Cab Signals Icons don't fit
#cabsignals
Thanks Steve!
Do you know if any work is being done to incorporate can signals into WiThrottle? ?How about a panel element (that could be displayed via WiThrottle)? chuck |
Locked
Re: VSD And Roster Disappearing-Rebuild Roster Brings it Back
#roster
#vsdecoder
Thanks Mike and Phil,
toggle quoted message
Show quoted text
My roster.xml file was not in the Roster folder either. But I noticed two roster.xml files and two roster folders. The Roster Location I had moved one level higher to share it with multiple JMRI profiles. Now I have created a new Settings Location (C:\Users\Klaus\JMRI\). My configuration is very simple. I haven't changed any location. Only one JMRI profile. One Start-Up action: Start Virtual Sound Decoder Manager. VSD Auto-Start is active, a roster entry is setup for VSD. Twenty starts of PanelPro 4.19.3ish without any issue. If necessary, I can still use a Start-up action to rebuild the Roster. Klaus Am 14.01.2020 um 02:02 schrieb Phil in gorgeous Young Harris via Groups.Io: On Mon, Jan 13, 2020 at 10:24 AM, Mike Heintzman wrote:What directory is your roster.xml file in? I had a similar experienceGood thought to check the simple things.? However, the roster.xml file is in the Model Railroad folder which also holds the Roster folder.? I have used this setup for about 8 years. This problem just started with 4.19.2ish which I installed to get the enhanced VSD features that Klaus put in (and goes away when I reinstall 4.18). |
Locked
Re: "Output Matrix Mast" - only 6 lamps
#signalmasts
Maybe (!) there is a misunderstanding - perhaps most of you know the history of the Matrix driver and why it was invented. I don?t. I?m new to JMRI. I just wanted to control 9 Lamps directly connected to GPIOs of a very simple controller, no extra hardware, just 9 JMRI "Turnouts" for 9 lamps. When trying to control this by a signal mast, i found that the matrix driver was exactly what I want (besides the fact that it has only 6 outputs for 6 Turnouts). No tricks, no scripts, no hardware, just one pane to configure. So I asked a simple question and was 1. positivly surprised of Bob?s very fast update and 2. astonished about that much counter-reaction (if this is the right word) - no one is forced to use the 4 new outputs :-).
Again, thanks Bob. Eckart |
Locked
Re: Arrow keys on laptop
#jmrithrottle
Yes, I'm using a throttle window on my laptop.? When I put the mouse pointer over the slider bar in the throttle window, I can run the speed with the roller button on my mouse. With the slider bar window active, I can use the right and left arrow keys on the keyboard to work the speed slider bar (which I have formatted horizontally).? However, the left and right arrow keys works the slider bar in the opposite direction.? In other words, when I hit the right arrow key, the slider bar goes left, and when I hit the left arrow key, the slider bar goes right.
So my originally question is, can you reverse that direction in the JMRI program so that the slider bar goes right when you hit the right arrow, and left when you hit the left arrow?? Thanks!... ? -- Roger |
Locked
Re: Making VSD Files and Config - Volume question
#vsdecoder
Phil,
Am 14.01.2020 um 03:46 schrieb Phil in gorgeous Young Harris via Groups.Io: Klaus, I was wrong. I still have something wrong in my thinking, or my syntax.? The gain line in the config file seems to be totally useless for my bell, and the only way that I found to make it quieter was to edit the source files.? My understanding was that the gain statement controlled the volume of that element, with 1.0 being full volume, and 0.0 muting the sound.? By extension, I assumed that 0.1 would be 1/10 of the volume, but no matter what I set the gain at, the volume never seemed to change.Right, gain can be 0.0 (mute) to 1.0 (full). As far as I know, halving the gain value means a volume reduction of 6 decibel. So it is not linear. Is there a different format for "configurable" sounds, like "engine-gain" for the engine sounds?? Or am I stuck manually editing the wav files to get the level I desire?? Or do I have a syntax issue preventing the proper behavior?Phil, your xml code is fine. Gain is declared well. See the generated info at VSD file loading: vsdecoder.ConfigurableSound INFO - start sound get gain: 0.4, name: IAD:VSD:VSDecoderID1:BELL vsdecoder.ConfigurableSound INFO - mid sound get gain: 0.4, name: IAD:VSD:VSDecoderID1:BELL vsdecoder.ConfigurableSound INFO - end sound get gain: 0.4, name: IAD:VSD:VSDecoderID1:BELL vsdecoder.ConfigurableSound INFO - start sound get gain: 1.0, name: IAD:VSD:VSDecoderID1:Wabco-E2 vsdecoder.ConfigurableSound INFO - mid sound get gain: 1.0, name: IAD:VSD:VSDecoderID1:Wabco-E2 vsdecoder.ConfigurableSound INFO - end sound get gain: 1.0, name: IAD:VSD:VSDecoderID1:Wabco-E2 vsdecoder.ConfigurableSound INFO - mid sound get gain: 0.9, name: IAD:VSD:VSDecoderID1:COUPLER-SOUND When I click on the bell button, I have the impression that the volume matches the other sounds. Klaus |
Locked
Re: Virtual Sound Decoder: Throtttle Function keys don't do anything
#vsdecoder
Am 14.01.2020 um 08:52 schrieb FlightRisk:
When I launch the Throttle manually, everything works, yet in the address panel the loco name is not selected. I would think this is a bug. I pulls in the address number and grays out. And if I release it and change it to anything and then and hit set, it still works. So if you agree perhaps I can report that as a bug.If you think there is a bug, please feel free to issue a report. Klaus |
Locked
Re: Virtual Sound Decoder: Throtttle Function keys don't do anything
#vsdecoder
Are you running JMRI 4.19.2?
toggle quoted message
Show quoted text
Klaus Am 14.01.2020 um 08:52 schrieb FlightRisk: I haven't found a way to change the decoder for a train yet. But after a lot of tests adding new locos and trying different settings, it seems that the only way to get the throttle to play function button sounds through VSD is to select the NMRA decoder. I am guessing that the other decoders might work, but that I have to set something in the function key settings or CVs? I don't see anything different in all the settings screens I have looked through so far. |
to navigate to use esc to dismiss