Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Title Bar of Preferences window is off screen. How do I move the window?
#preferences
If using libwc.?
To create a move window hotkey on Ctrl+Alt+v
Do not use C-A-m that is an accessability hotkey.
You can? edit a file at $HOME/.config/labwc/rc.xml
?
and add after?? <keyboard>
? ? <keybind key="C-A-v"> ? ? ? <action name="move"> ? ? ? </action> ? ? </keybind> If the file doesnt exist? do this in terminal
?
mkdir $HOME/.config/libwc
cat > $HOME/.config/libwc/rc.xml << EOF
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc"> ? <keyboard>
? ? <keybind key="C-A-v"> ? ? ? <action name="move"> ? ? ? </action> ? ? </keybind> ? </keyboard> </openbox_config> EOF
?
|
Locked
Re: Title Bar of Preferences window is off screen. How do I move the window?
#preferences
Hi
1 - try using the appropriate hot key for your windows manager. (if using libwc you will have to do some configuration).
?if using X with lxde you could try dragging with Alt+Left mouse button or Alt-Space to get the frame menu. and select Move, Alt-M may work.
?
2 - I edited my user-interface.xml and it worked fine. Make sure you have got the right one.?
?
Are you getting the preferences due to an error during startup or by selecting preferences? because they are subtably different, and editing user preferences doesnt work for the format. That was fixed as an 80% windows centred on screen 1.
?
Steve G.
? |
Locked
Re: Block Values Passing thru both thrown and closed legs of a turnout/switch, should only go thru the connected path.
#blockvalues
#anyrail
#layouteditor
Thanks, I will take a look at it in more detail.? I did upgrade to a newer version of Anyrail in the last couple of months.? After I do some research I will contact anyrail about this.
?
Seth Olitzky |
Locked
Re: Block Values Passing thru both thrown and closed legs of a turnout/switch, should only go thru the connected path.
#blockvalues
#anyrail
#layouteditor
Seth, The "West Mainline" block extends beyond the ends of the turnout legs for turnout "TYard West". ?Since the block boundaries are now at anchor points, the turnout position is not relevant. ? It appears that the AnyRail export adds extra track segments to turnouts. Dave Sand ----- Original message ----- From: S Olitzky <solitzky@...> Subject: Re: [jmriusers] Block Values Passing thru both thrown and closed legs of a turnout/switch, should only go thru the connected path. Date: Friday, September 27, 2024 2:09 PM I have uploaded the file to ProblemsBeingWorkOn Seth Olitzky #234795 ? I also installed 5.8 and still have the same problem.? ? I will attempt some debugging on my own later today. ? The only block issues were the unblocked tracks connected to the turntable. ? Seth Olitzky |
Mike, The session.log file has the current/last session. ?The messages.log file has all of the log entries up to 1 MB. The "No view" message is curious. ? The "StoreAndCompare" messages are from a process that runs during shutdown to see if there are changes that have not been stored. To upload a file, go to?/g/jmriusers/files. ?Select the ProblemsBeingWorkedOn file folder. ?Create a folder with your name and upload a file. Dave Sand ----- Original message ----- From: MICHAEL SHIELDS <mikesjmri@...> Subject: Re: [jmriusers] MACOS 15 (Sequoia) JMRI program halt Date: Friday, September 27, 2024 2:04 PM Dave, ? Thanks for the quick response! ? Note that I am laying out track and turnouts on a new panel. Chopping and changing like crazy. ? Session Log seems to reset each run, so when it bombs again, I'll immediately look there. I am laying out track and turnouts on a new panel. Chopping and changing like crazy. ? I did notice in messages.log several sequences similar to the following at the end of three recent sessions: ? "ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]" "WARN ?- No View found for TrackSegment T33 c1:{A4 (POS_POINT)}, c2:{A13 (POS_POINT)} class class" ? JMRI seems unhappy with TrackSegment T33?and after a bit of repeating these two lines the following occurred: ? configurexml.StoreAndCompare ? ? ? ? ?WARN ?- ? comparing file1:"/Users/mikeshields/Mikes JMRI Test Panels/Mikes_JMRI_Test_Panels.jmri/LAMRS Harbor v4.xml" [AWT-EventQueue-0] 2024-09-26T09:33:20,316 configurexml.StoreAndCompare ? ? ? ? ?WARN ?- ? ? ? ? ?to file2:"/var/folders/wg/tp9k_qq54jn4lpl71_gpx5d80000gn/T/f5014636-87a5-4b0d-a0ba-2e88a48f7768.xml" [AWT-EventQueue-0] 2024-09-26T09:33:30,905 server.WebServer ? ? ? ? ? ? ? ? ? ? ?INFO ?- Stopping Web Server [JMRI ShutDown - Main Tasks] 2024-09-26T09:33:31,928 managers.DefaultShutDownManager ? ? ? INFO ?- Normal termination complete [Thread-45] ? I cannot recall if these would be an instance of a program halt, but there are three session sets of this message pattern that might have been halts. ? Shall I post the messages.log file or wait until I have a Session Log from an actual program halt? ?(Can you repeat where/how to upload files? ? -=m=- MIkeS |
Locked
Re: Block Values Passing thru both thrown and closed legs of a turnout/switch, should only go thru the connected path.
#blockvalues
#anyrail
#layouteditor
I have uploaded the file to ProblemsBeingWorkOn
Seth Olitzky #234795
?
I also installed 5.8 and still have the same problem.?
?
I will attempt some debugging on my own later today.
?
The only block issues were the unblocked tracks connected to the turntable.
?
Seth Olitzky |
Dave,
?
Thanks for the quick response!
?
Note that I am laying out track and turnouts on a new panel. Chopping and changing like crazy.
?
Session Log seems to reset each run, so when it bombs again, I'll immediately look there.
I am laying out track and turnouts on a new panel. Chopping and changing like crazy.
?
I did notice in messages.log several sequences similar to the following at the end of three recent sessions:
?
"ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]"
"WARN ?- No View found for TrackSegment T33 c1:{A4 (POS_POINT)}, c2:{A13 (POS_POINT)} class class"
?
JMRI seems unhappy with TrackSegment T33?and after a bit of repeating these two lines the following occurred:
?
configurexml.StoreAndCompare ? ? ? ? ?WARN ?- ? comparing file1:"/Users/mikeshields/Mikes JMRI Test Panels/Mikes_JMRI_Test_Panels.jmri/LAMRS Harbor v4.xml" [AWT-EventQueue-0]
2024-09-26T09:33:20,316 configurexml.StoreAndCompare ? ? ? ? ?WARN ?- ? ? ? ? ?to file2:"/var/folders/wg/tp9k_qq54jn4lpl71_gpx5d80000gn/T/f5014636-87a5-4b0d-a0ba-2e88a48f7768.xml" [AWT-EventQueue-0] 2024-09-26T09:33:30,905 server.WebServer ? ? ? ? ? ? ? ? ? ? ?INFO ?- Stopping Web Server [JMRI ShutDown - Main Tasks] 2024-09-26T09:33:31,928 managers.DefaultShutDownManager ? ? ? INFO ?- Normal termination complete [Thread-45] ?
I cannot recall if these would be an instance of a program halt, but there are three session sets of this message pattern that might have been halts.
?
Shall I post the messages.log file or wait until I have a Session Log from an actual program halt? ?(Can you repeat where/how to upload files?
?
-=m=-
MIkeS |
Locked
Re: Signal heads/ masts
开云体育Ken C,An update. First of all Thank you. The virtual signals all named and then moved to the real hardware names even though some but not all of the real hardware is in place on the railroad. The hardware that were being used as the turnout indicators are being re-purposed for traffic. I didn’t, as yet, remove any of the virtual signals from the table not being sure if I could. I’m pleased you steered me into the naming method, otherwise I was going to program myself into a hell of a mess. As it was I messed up on the virtual naming which generated a Parse error with duplicate names. I jumped back to an older version and started over after realizing how complex the .XML file had become.? I can delete the IHxxx entries now? Yes? ? John ?Bauchiero - D&H Model Railroad -?NCE PH-Pro & PowerCab, Pi4b, DCC-EX - JMRI current test version
|
I have recently setup an EX-CommandStation based on an Arduino Mega and I'm really liking it!
I'm currently running it connected to RPi3b running JMRI and using WiThrottle Lite on my phone. Each time I want to run a train I need to VNC into the RPi3b running JMRI just to turn on the track power, this is quite inconvenient.
?
I was therefore wondering if it could be possible to wire a physical button to one of the Arduino GPIO and use this to toggle the track power. I have tried? to do some online searching for this, but I have not found anything.
?
Can this be implemented via an EX-Rail automation? I.e. the button triggers the automation that sends the
<1 MAIN> command? I have not found any reference that Ex-Rail automation can send DCC-EX Native Commands.?
Alternative could somebody point me to some examples or guide me no how to edit the EX-CommandStation? code to add a physical button to toggle track power?
?
Thank you!
? |
I have recently set up a EX-CommandStation connected via USB to JMRI running on a headless RPi3b that I had laying around. And while I was quite happy with the idea of this setup, it was indeed slow (I guess the RPi3b is getting old).
?
As I already have a running docker setup I then thought that running JMRI in a docker container would be a good solution as no new hardware would be needed. I did some google search and to my surprise I could not find any existing solutions for running JMRI in a container. The only thing I found was this locked post from January? #224836. However, this discussion then developed more towards a server-client implementation of JMRI rather than running the existing implementation of JMRI in a container.
?
Even though I do not have experience at all in building Docker images I decide to give it a try. Within a couple of days I was able to put together something that seems to work. But still needs some polishing (e.g. add an external mounted volume to permanently store config files, support for DCC hardware via USB etc.).
?
The container I built is based on Debian stable with XFCE4, TigerVNC and noVNC (a fork of ), to which I added Java 17 and JMRI 5.8. The idea is to run JMRI in a "headless" container (i.e. "no monitor attached") to which you can connect to and control using a web browser via noVNC, and that exposes the JMRI webserver and the WiThrottle server. This can be run in any existing docker environment (even some NAS support docker container) and without the need of dedicated hardware for JMRI.
I currently have it connected to a EX-CommandStation via Ethernet and all seems to work pretty well. At this time some additional development would be needed to connect to DCC hardware via USB as still will require to pass through to the container the USB port of the of he host (I'm sure this is possible, but I have not yet looked at it).
?
Is anybody interested in working on developing this further or even just in trying it out?
?
?
?
?
? |
Locked
File /ProblemsBeingWorkedOn/Ken Fordham/Ken Fordham Panels.xml uploaded
#file-notice
Group Notification
The following items have been added to the Files area of the [email protected] group. By: Ken Fordham <j.kenneth.fordman@...> Description: |
开云体育Hi En-TACT. ? Forget I mentioned making the Cab Address of the USB Interface to “10”. You’ll be using the USB Interface at the DEFAULT Cab Address of “3”. ? Connect the USB Interface to the Laptop. Using the Laptop’s Device Manager the List? will include a “Ports (COM & LPT)” selection, if the correct Driver has been installed for your Cable. Click on the “Ports (COM & LPT)” selection. Shown will be: USB-SERIAL CH340 with a COM Port Number. This also confirms the operation of your USB Cable. The highlighted COM Port Number is what you need to enter in the Decoder Pro’s Preferences “Connection” Tab for the Serial Port. Also Check TICK the “Additional Connection Setting” box then select a Baud Rate of 19,200. Then select “SAVE”? ? If you cannot get connected, include a “System Console” printout under the Hep Tab in Decoder Pro. ? Regards Marcus ? From: [email protected] <[email protected]> On Behalf Of En-TACT
Sent: Friday, 27 September 2024 12:23 PM To: [email protected] Subject: Re: [jmriusers] JMRI Error: Service mode programmer NCE is offline. #nce ? It was changed to from COM10 COM3 after the screenshot. ? How do I change the cab address of the USB interface to 10 - sorry I'm new. |
Locked
Re: Block Values Passing thru both thrown and closed legs of a turnout/switch, should only go thru the connected path.
#blockvalues
#anyrail
#layouteditor
Seth, I am not able to recreate the problem using JMRI 5.8. ? Make sure there are no block issues using the Layout Editor "Tools -> Check" menu items. You could upload the layout data xml file to the group's ProblemsBeingWorkedOn file folder. Dave Sand ----- Original message ----- From: S Olitzky <solitzky@...> Subject: [jmriusers] Block Values Passing thru both thrown and closed legs of a turnout/switch, should only go thru the connected path. Date: Thursday, September 26, 2024 9:23 PM I have rebuilt a new Panel Pro layout/profile importing from Anyrail.? Its a copy of a existing layout/profile with an additional siding and two turnouts. ? In testing the new layout/profile and my sensors, I discovered that if I have an active block with a block value before a turnout, then when I set the next blocks active attached to the turnout (both thrown and closed paths), both blocks show the block value, even though the path to one of the blocks is invalid (can't get there thru the turnou). ? This doesn't happen on my old layout/profile.? I just double checked. ? I made sure to build the routes thru the Signal Mast Logic tools. I also deleted the paths and reloaded the layout/profile. ? Still the problem occurs.? The only thing different (that I know of)? is that I used the script AddOccupancyIconsToPanel.py for the newer layout.? In the following diagram I set West Mainline active first with a block value manually.? Then I set both the other blocks active, but only West Yard Mainline should have the block value. ? Any help/ideas would be greatly appreciated.? Panel Pro 5.7.7+ Java Version 11.0.18(en) Windows 11 ? Seth Olitzky ? ? |
Locked
Re: Dispatcher Scripting support
#dispatcher
#scripting
On Thu, Sep 26, 2024 at 02:49 PM, Steve_G wrote:
In the last transit step, "LoadTrainInfo" the next transit, then "Terminate" current transit after a 1.5 second delay.
The delay allows the next transit load get started.
--
Ken NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959) Loconet * JMRI 5.9.3 * OSX,Win10,Ubuntu Blog: ?
Youtube:
|
Locked
Re: Title Bar of Preferences window is off screen. How do I move the window?
#preferences
开云体育Ron, What happens if you maximize the TigerVNC window _before_ opening the preferences window? Also, try <ALT+space> to get the window menu to resize the window. This page might add some clue: Daniel On 2024-09-27 07:47, Ron Ventura wrote:
|
Locked
Re: Title Bar of Preferences window is off screen. How do I move the window?
#preferences
All.
?
I tried both editing the line and deleting the line as Peter suggested, but this made no difference. I have uploaded a couple of screen shots to the Photos section (Preferences Title bar off screen - RPi) and also the user-interface.xml files (in the files section - same title). I even tried moving the RPi taskbar from the top to the bottom. that also didn't help, it just put the Preferences screen to the very top, still without a Title bar. This is not the end of the world, just annoying, and reinforces my inherent dislike for all things Linux.
--
Thanks and Regards Ron Ventura Melbourne, Australia JMRI 5.6+R89a87446cb Java 11.0.14 Windows 11 |
开云体育“How do I change the cab address of the USB interface to 10 - sorry I'm new.” ? The information you seek is included in the documentation that came with your USB. ? If you no longer/never had the USB documentation it is available on the NCE site. ? Best regards, ? Steve ? Steve Haas Snoqualmie, WA |
Locked
Block Values Passing thru both thrown and closed legs of a turnout/switch, should only go thru the connected path.
#blockvalues
#anyrail
#layouteditor
I have rebuilt a new Panel Pro layout/profile importing from Anyrail.? Its a copy of a existing layout/profile with an additional siding and two turnouts.
?
In testing the new layout/profile and my sensors, I discovered that if I have an active block with a block value before a turnout, then when I set the next blocks active attached to the turnout (both thrown and closed paths), both blocks show the block value, even though the path to one of the blocks is invalid (can't get there thru the turnou).
?
This doesn't happen on my old layout/profile.? I just double checked.
?
I made sure to build the routes thru the Signal Mast Logic tools.
I also deleted the paths and reloaded the layout/profile.
?
Still the problem occurs.? The only thing different (that I know of)? is that I used the script AddOccupancyIconsToPanel.py for the newer layout.?
In the following diagram I set West Mainline active first with a block value manually.? Then I set both the other blocks active, but only West Yard Mainline should have the block value.
?
Any help/ideas would be greatly appreciated.?
Panel Pro 5.7.7+
Java Version 11.0.18(en)
Windows 11
?
Seth Olitzky
?
?
|