¿ªÔÆÌåÓý

Date

Locked Re: I completely messed my install of JMRI - need help #4-18 #mac-os

 

On Sat, Feb 15, 2020 at 04:27 PM, Dave Heap wrote:


Tom,

On 16 Feb 2020, at 9:29 AM, coloretiree via Groups.Io
<coloretiree@...> wrote:

You, sir, are a life saver and I can not thank you enough!!! Everything,
including saving script files, now works perfectly!

There are several useful within-JMRI resources. Two are found under the Help
menu:
Help->Locations - tells you where everything JMRI is stored on your Mac (or
other).
Help->System Console - essential logging information as JMRI starts up. If
things go wrong, there are often error messages logged there.

On our website, there is a document explaining in more detail what is stored
where in your JMRI folder:
<>

Also a less technical, but illustrated, example of sharing User Files between
profiles and/or computers:
<>

Dave in Australia

There is also the JMRI Install Guide: macOS


--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


Locked Re: I completely messed my install of JMRI - need help #4-18 #mac-os

 

Tom,

On 16 Feb 2020, at 9:29 AM, coloretiree via Groups.Io <coloretiree@...> wrote:

You, sir, are a life saver and I can not thank you enough!!! Everything, including saving script files, now works perfectly!
There are several useful within-JMRI resources. Two are found under the Help menu:
Help->Locations - tells you where everything JMRI is stored on your Mac (or other).
Help->System Console - essential logging information as JMRI starts up. If things go wrong, there are often error messages logged there.

On our website, there is a document explaining in more detail what is stored where in your JMRI folder:
<>

Also a less technical, but illustrated, example of sharing User Files between profiles and/or computers:
<>

Dave in Australia


Locked Re: JMRI not able to read All CVs #esu-decoders #dccpp

 

Stefan,

On 16 Feb 2020, at 8:18 AM, Stefan ` Bartelski <stefan@...> wrote:

On another note, I do have a feature request. Where do I submit it? I noticed that if I forget to turn the base station power on in JMRI, and then try to Program, I get 308 No Reply messages (of course). Could JMRI check the power status before honoring a Read or Write request (or switch to Program mode) and give an error or warning message?
The best place to lodge a feature request is at:
<>
Once lodged you can track it there.

You will need to create a GitHub account because we were frustrated by getting bug reports/feature requests and not being able to follow up with the author.

Dave in Australia


Locked Re: Operations manifest printing #operationspro

 

Bob,

That would be PostScript - not photoshop.

Wouter


On Sat, 15 Feb 2020 at 14:55, Robert Schworm <rkschworm@...> wrote:
I assume this is on Windows??
I have a hunch that JMRI "prints" in Photoshop format.? But the preview is illustrating the data as a "text" mode.

Your printer has to be photoshop ready or have the right driver loaded that supports photoshop. ??

If you can "print to file". try it - -which is a text file.? Then print that.

Bob S


Locked Re: Can Not Delete Turnout LT355

 

It looks like LT355 is part of a signal head. When you try to delete the LT355 turnout, the signal logic attached to that signal fails to cope.

If LT355 is really part of a signal head, you could try removing the signal logic from that head, then deleting the head, then deleting LT355.

Bob

On Feb 15, 2020, at 3:25 PM, John Burrow <jburrow@...> wrote:

JMRI is working, but I can not delete turnout LT355

JMRI version
4.14+Rd060e0B

Java version
8 Update 241 (build 1.8.0_241-b07

Computer make and model
Dell Inspiron Dual 2.7 GHz Intel Core i5-6400. Runs PanelPro (15+ panels) and WiThrottle.
A second computer runs a second Withrottle.

DCC devices
DCS210, 2 x DB220, 2 x PR3, Many DS64s, BDL168s, SE8c's and QuadLNs.

The .xml file is on a NAS drive

Error Log
09:08:01.146 (480883) INFO [Listed Table Generation] JoalAudioFactory.java:221 - Initialised JOAL using OpenAL: vendor - OpenAL Community version - 1.1 ALSOFT 1.15.1
09:08:28.326 (508063) ERROR [AWT-EventQueue-0] BeanTableDataModel.java:1076 - Exception while deleting bean
java.util.concurrent.ExecutionException: java.lang.NullPointerException: driveSignal should not have been null
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at javax.swing.SwingWorker.get(Unknown Source)
at jmri.jmrit.beantable.BeanTableDataModel$DeleteBeanWorker.done(BeanTableDataModel.java:1074)
at javax.swing.SwingWorker$5.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at sun.swing.AccumulativeRunnable.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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.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)
Caused by: java.lang.NullPointerException: driveSignal should not have been null
at java.util.Objects.requireNonNull(Unknown Source)
at jmri.jmrit.blockboss.BlockBossLogic.getDrivenSignal(BlockBossLogic.java:170)
at jmri.jmrit.blockboss.BlockBossLogic.vetoableChange(BlockBossLogic.java:1276)
at jmri.managers.AbstractManager.fireVetoableChange(AbstractManager.java:440)
at jmri.managers.AbstractManager.deleteBean(AbstractManager.java:160)
at jmri.managers.AbstractProxyManager.deleteBean(AbstractProxyManager.java:339)
at jmri.jmrit.beantable.BeanTableDataModel$DeleteBeanWorker.doInBackground(BeanTableDataModel.java:967)
at jmri.jmrit.beantable.BeanTableDataModel$DeleteBeanWorker.doInBackground(BeanTableDataModel.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

--
Bob Jacobsen
rgj1927@...


Locked Re: I completely messed my install of JMRI - need help #4-18 #mac-os

 

Dave,

You, sir, are a life saver and I can not thank you enough!!! Everything, including saving script files, now works perfectly!

Now after comparing your excellent instructions to what I was doing, I believe the root cause of the problem was my lack of knowledge about the process of loading a non-App store program ("The JMRI icon is dragged to the Applications icon...).?

Again, thanks for your help.

Tom


Locked Can Not Delete Turnout LT355

 

JMRI is working, but I can not delete turnout LT355

JMRI version
4.14+Rd060e0B

Java version
8 Update 241 (build 1.8.0_241-b07

Computer make and model
Dell Inspiron Dual 2.7 GHz Intel Core i5-6400.? Runs PanelPro (15+ panels) and WiThrottle.
A second computer runs a second Withrottle.

DCC devices
DCS210, 2 x DB220, 2 x PR3, Many DS64s, BDL168s, SE8c's and QuadLNs.?


The .xml file is on a NAS drive

Error Log

09:08:01.146 (480883) INFO [Listed Table Generation] JoalAudioFactory.java:221 - Initialised JOAL using OpenAL: vendor - OpenAL Community version - 1.1 ALSOFT 1.15.1
09:08:28.326 (508063) ERROR [AWT-EventQueue-0] BeanTableDataModel.java:1076 - Exception while deleting bean
java.util.concurrent.ExecutionException: java.lang.NullPointerException: driveSignal should not have been null
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at javax.swing.SwingWorker.get(Unknown Source)
at jmri.jmrit.beantable.BeanTableDataModel$DeleteBeanWorker.done(BeanTableDataModel.java:1074)
at javax.swing.SwingWorker$5.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at sun.swing.AccumulativeRunnable.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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.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)
Caused by: java.lang.NullPointerException: driveSignal should not have been null
at java.util.Objects.requireNonNull(Unknown Source)
at jmri.jmrit.blockboss.BlockBossLogic.getDrivenSignal(BlockBossLogic.java:170)
at jmri.jmrit.blockboss.BlockBossLogic.vetoableChange(BlockBossLogic.java:1276)
at jmri.managers.AbstractManager.fireVetoableChange(AbstractManager.java:440)
at jmri.managers.AbstractManager.deleteBean(AbstractManager.java:160)
at jmri.managers.AbstractProxyManager.deleteBean(AbstractProxyManager.java:339)
at jmri.jmrit.beantable.BeanTableDataModel$DeleteBeanWorker.doInBackground(BeanTableDataModel.java:967)
at jmri.jmrit.beantable.BeanTableDataModel$DeleteBeanWorker.doInBackground(BeanTableDataModel.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Locked Re: Operations manifest printing #operationspro

 

the os is win 10 and is up to date

I can't 'print to a file' nor to a pdf-- I try right clicking but nothing happens?

I can print manifests in black and white -- no colors for sets/pickups

the manifests preview on the monitor in color no problems ...

I have jmri 4.11 -- should if download a newer version????

any suggestions are welcome


Locked Edit windows

 

Question I have is when I'm working on a panel, and I right click on an icon (example track section) and go to "Set Location" the window that opens lands right over and covers up the icon I'm trying to adjust.? It also does that when I open the "Rotate" option too.? Is there a fix for that in the future by any chance? Would be good to see it open just outside the icon's location.? Thanks! ?
--
Roger


Locked CATS Error Message #cats

 

I am working on a new panel and I get two error messages I can't seem to solve.? When trying to load the panel into JMRI made in designer I get these two messages:

2020-02-15 13:36:47,804 managers.AbstractManager????????????? ERROR - Invalid system name for Sensor: "LSMS103" must be an integer after "LS". [AWT-EventQueue-0]

2020-02-15 13:36:47,804 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]

Looking in JMRI there are no sensors defined.? If I define the sensors once JMRI restarts there are once again no sensors.??

So I may have two problems which is making it hard to solve.??
I can open sample panel called OPS and don't get any errors so I think it must be something in the panel itself.? Any ideas?? Thanks

Mark Nolan
Brentwood, TN

I am using Windows 10 home; 64 bit opertaing system
JMRI Version 4.19.1+R4f29f85
Java Version 1.8.0_241
CATS Version release 2043

?


Locked Re: JMRI not able to read All CVs #esu-decoders #dccpp

 

Thanks Dave,
I think I found what happened, the USB cable is a little loose and if I move the laptop slightly the USB connection is broken. I was running the Read CVs as per your instructions below. I re-ran and made sure not to touch the laptop or cable and was able to read all V5 CVs - and there are A LOT. On one DCC++ station I had one misread and on the other none. So I was a little too quick on asking for help, should have done some more research. Apologies.

On another note, I do have a feature request. Where do I submit it? I noticed that if I forget to turn the base station power on in JMRI, and then try to Program, I get 308 No Reply messages (of course). Could JMRI check the power status before honoring a Read or Write request (or switch to Program mode) and give an error or warning message?
--
Stefan Bartelski

Home layout: The Blue Ridge Line, an HO representation of the L&N Etowah Old Line from Etowah to Elizabeth and the Marble Hill branch (Georgia Marble Railroad), set in 1986 (under construction)?
Modular Layout: Shoofly module of the Country RRoads Modular group


Locked Re: I completely messed my install of JMRI - need help #4-18 #mac-os

 

Tom,

A typical jMRI install for macOS uses two locations.

After downloading the dmg file, it is double clicked to mount the disk image. ?The JMRI icon is dragged to the Applications icon which copies JMRI to /Applications. ?After the copy is done, close the disk image window, right click the disk image and select eject. ?I also delete the download file. ?This is a standard method for many macOS applications.

The standard run time location for JMRI configuration and data is /Users/<username>/Library/Preferences/JMRI. ?To reset JMRI, delete or rename the JMRI directory. ?Depending on your Finder settings, ?the Library directory may be hidden. ?You don't mention which macOS version you are using. ?It might be possible to use cmd-J to make Library visible when Finder is at your home directory (cmd-shift-h or Go >> Home menu).

A new install creates the JMRI directory in Library/Preferences and creates the "My JMRI Railroad" profile. ?This becomes the default user files location. ?When using scripts, I change the script location to be the same. ?This keeps everything together.


Dave Sand



----- Original message -----
From: "coloretiree via Groups.Io" <coloretiree@...>
Subject: [jmriusers] I completely messed my install of JMRI - need help
Date: Saturday, February 15, 2020 12:40 PM

Hi all,

I'm a new user of JMRI. I have a Digitrax PR4 connected to a MacOS computer. I downloaded and installed JMRI 4.18, setup the connection and everything worked great. I tried some scripts and again everything worked great. I then wrote a short script and once more everything worked great. Finally I tried to save the script and that's when the problem started.

The app would not save my short script to the default 'User Files location'. No error message was displayed, but the file never showed up. I then went to 'PanelPro -> Preferences -> File Locations' and changed the location of 'user file location' to a directory under my username. That's when everything quit working. I had to 'Force Quit' to get PanelPro to shut down. When starting JMRI, I get an error message that the directory, with a combination of old and new names, does not exist. I tried to fix the name to just the old name but still get the same error message.

I have tried to delete everything having to do with JMRI from the computer and reload a different version (4.19), but it still finds the messed-up director name and shows the same error message. I again tried to fix the file location problem, but now JMRI will not open at all.

I don't like to ask for help, especially for a problem I caused, but I have spent the last 4! hours with the problem and have only made it worse. I would very much appreciate any help in COMPLETELY removing/deleting/trashing all traces of JMRI so I could load a truly clean copy with the as-delivered defaults.

?Thank you for help.

Tom

PS I was ?surprised to see JMRI created its own Volume on the hard drive rather than a new directory under my username. Is that normal?


Locked I completely messed my install of JMRI - need help #4-18 #mac-os

 

Hi all,

I'm a new user of JMRI. I have a Digitrax PR4 connected to a MacOS computer. I downloaded and installed JMRI 4.18, setup the connection and everything worked great. I tried some scripts and again everything worked great. I then wrote a short script and once more everything worked great. Finally I tried to save the script and that's when the problem started.

The app would not save my short script to the default 'User Files location'. No error message was displayed, but the file never showed up. I then went to 'PanelPro -> Preferences -> File Locations' and changed the location of 'user file location' to a directory under my username. That's when everything quit working. I had to 'Force Quit' to get PanelPro to shut down. When starting JMRI, I get an error message that the directory, with a combination of old and new names, does not exist. I tried to fix the name to just the old name but still get the same error message.

I have tried to delete everything having to do with JMRI from the computer and reload a different version (4.19), but it still finds the messed-up director name and shows the same error message. I again tried to fix the file location problem, but now JMRI will not open at all.

I don't like to ask for help, especially for a problem I caused, but I have spent the last 4! hours with the problem and have only made it worse. I would very much appreciate any help in COMPLETELY removing/deleting/trashing all traces of JMRI so I could load a truly clean copy with the as-delivered defaults.

?Thank you for help.

Tom

PS I was ?surprised to see JMRI created its own Volume on the hard drive rather than a new directory under my username. Is that normal?


Locked Re: Cannot connect with WiThrottle from update EngineDriver #enginedriver

 

Oh, and I forgot about firewalls, but I am weak on that, but routers can throttle ports that they do not want data passed on to devices.

Phil


Locked Re: Cannot connect with WiThrottle from update EngineDriver #enginedriver

 

On Sat, Feb 15, 2020 at 03:51 AM, FCOT2002 wrote:
since the update of Engine Driver (v2.24.93), JMRI (vJMRI.4.18 + R37ad3d0), Android (v7.0) unable to connect. Deadlines exceeded.
Even when deactivating the GSM network.
?
The problem is the same on Linux, W10 and RPi3B +. Before it was ok.

An idea ?
?
Thank you

Fran?ois
Fran?ois, I would look for changes in the phone (do you have a different phone or someone else's phone to verify?) that have caused an issue.? Either the app update did not download properly, or something else such as an update in the phone operating system, or preferences in settings.?

You did not mention what phone or version of Android, but I have seen that some people have complained that newer phones (or updates to phones) have had problems/complain about connecting to a WiFi signal that does not have Internet.

Hope this helps.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: Moved sim JMRI not working on active layout

 

¿ªÔÆÌåÓý

I still have my back up, which I made just for this protection. Since this new panel and LogiX was generated on a separate computer I was just in the process of transporting it to the layout system. But your suggestion is well taken! Always keep a last known working file to revert back to. As for Rasberry, I am not using it or an Arduino. I am trying to keep it simple at this stage! Thanks for the insights!

?

Terry Cummins

S.E. Michigan

?

Sent from for Windows 10

?

From: Robert Schworm
Sent: Saturday, February 15, 2020 10:14 AM
To: [email protected]
Subject: Re: [jmriusers] Moved sim JMRI not working on active layout

?

I think this may be a candidate to mention the thought - -have a good working backup before you delve into unknown waters. ?I backup once a week when actively fiddeling with JMRI. ?If you are not careful, you can get twisted up pretty well.

If working on a RPI3B+ or such, in the Rasbian OS there is a nice tool for duplicating a SD card. ?I recommend it. ?You can keep a SD card on a "thumb stick" plugged into an unused USB port. ?At some point when all lis still working..you can shoot an image of the active SD card back to this one. ?Make this copy when JMRI is shut down so you do not have open files around..just good practice.

On this tool's window, your active SD shows its size - like 16mb. ?Your destination SD will be something like usbb..not usba. ?The tool will not activate if you do not have the source and destination sd cards identified correctly.

?


Locked Re: Can read the LocoNet but not talk #locobuffer-usb #digitrax

 

Also, double check the JMRI preferences to make sure you have LocoNet-USB selected, not LocoBufer-II, not just LocoBuffer. Those are older serial-attached devices that aren¡¯t quite the same.

Bob

On Feb 15, 2020, at 6:28 AM, dick bronson via Groups.Io <dick@...> wrote:

Jason,

For starters open the LocoNet drop down list and select 'Monitor LocoNet Stats..'. (4th item) This should result in opening a small window with the number of breaks, errors, and the firmware revision showing. If you see this, then the LocoBuffer-USB is setup and working correctly. The problem is elsewhere. However if the result is a series of empty boxes and 'Raw Data', then there is some issue, either with the setup of the LocoBuffer-USB (e.g. preferences) or in the hardware itself. I'm a bit puzzled by your comment about Pin-8. Which version of LocoBuffer USB does your friend have?

Dick :)

On 2/14/2020 10:13 PM, holry7778 wrote:

I could use a bit of help with a friend's who is trying to get started.

Set up:
? Running Windows 10
? Digitrax DSC100
? RR Circuits LocobufferUSB on Com3, no jumper on PIN-8
? Java is up to date
? JMRI 4.18
? LocoNet cable is wired correct and test OK

Situation:
? I can read the LocoNet and see traffic via the Monitor no problems
? I can turn on and Off track power.
? I cannot run a throttle. I get a "Failed to get response from command station" error when trying to acquire any loco address
? I cannot program decoders or the command station
? I cannot read CV's from decoders or the command station
? I cannot release any Slots
To the best of my abilities and knowledge drivers from RRC are up to date. As is the JMRI software. Any help getting beyond this point is greatly appreciated.

Thank you,
Jason
--
Bob Jacobsen
rgj1927@...


Locked Re: Can't find decoder

Robert Schworm
 

JMRI keeps a large collection of manufacturers and their decoders. ?If this is a decoder JMRI does not know about....well.......

In that case, take your decoder and identify what it is . . look at it if you have to. ?Find the owner's manual or contact the manufacturer or look for a pdf on line. ?Use your NCE/Digitrax throttle and set it up by hand.

When working - - -document your settings!!

Bob S


Locked Re: Moved sim JMRI not working on active layout

Robert Schworm
 

I think this may be a candidate to mention the thought - -have a good working backup before you delve into unknown waters. ?I backup once a week when actively fiddeling with JMRI. ?If you are not careful, you can get twisted up pretty well.

If working on a RPI3B+ or such, in the Rasbian OS there is a nice tool for duplicating a SD card. ?I recommend it. ?You can keep a SD card on a "thumb stick" plugged into an unused USB port. ?At some point when all lis still working..you can shoot an image of the active SD card back to this one. ?Make this copy when JMRI is shut down so you do not have open files around..just good practice.

On this tool's window, your active SD shows its size - like 16mb. ?Your destination SD will be something like usbb..not usba. ?The tool will not activate if you do not have the source and destination sd cards identified correctly.


Locked Re: Cannot connect with WiThrottle from update EngineDriver #enginedriver

Robert Schworm
 

Remember on a RPI3B or unix - -to use SCROT for a screen shot. ?Go to HELP SCROT for info on the switch commands of SCROT.

You can direct the picture into a specific folder like in your User Files/Screenshots xxx.jpg

I have a tough time getting this to print up to my wireless printer, fo I ftp the shot to my pc and then print to my wireless printer connected to the pc.

Bob s