¿ªÔÆÌåÓý

Locked HELP! Signals not working


 

I have had APB signals set up for several years and now they won't work.?

When I load my panel I get the following error:? Could not create sensor System name "LS10" User name "Lowelville in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManger.Xml.? It goes through all the signals to tell me it isn't working for ANY of them.

I am using Digitrax SE8c boards and I checked that I could manually change signal color, so at least I know the SE8c board addresses are still what they should be.

The signals HAD BEEN working fine, and I have NOT changed anything with the panel so I have no clue what is wrong.
?
I'm guessing that something changed in the latest version of PanelPro and now I need to 'fix' my panel.

Please let me know what I should do.
Thanks
Kerry


 

What version of JMRI are you using and what version did you upgrade from?

--
Peter Ulvestad

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


 

That would be a good assumption as it seems lately updates have been messing alot of things up being the Java software itself and the updates to jmri

On Nov 25, 2019 3:20 PM, Kerry DelVecchio <kerrydel@...> wrote:
I have had APB signals set up for several years and now they won't work.?

When I load my panel I get the following error:? Could not create sensor System name "LS10" User name "Lowelville in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManger.Xml.? It goes through all the signals to tell me it isn't working for ANY of them.

I am using Digitrax SE8c boards and I checked that I could manually change signal color, so at least I know the SE8c board addresses are still what they should be.

The signals HAD BEEN working fine, and I have NOT changed anything with the panel so I have no clue what is wrong.
?
I'm guessing that something changed in the latest version of PanelPro and now I need to 'fix' my panel.

Please let me know what I should do.
Thanks
Kerry


 

Kerry,

You wrote "I'm guessing that something changed in the latest version of PanelPro". Are you using the latest version of PanelPro or are you using the latest version of PanelPro? (Yes I DID mean to write the same thing twice!)

If you are using JMRI 4.16, the **latest "production" version**, just don't. Get rid if it! It is known to have issues with pretty much any connection type which uses a COM port. LocoNet connections ARE affected.

What can you do to "fix" 4.16 issues?
- uninstal 4.16 and install 4.17.5, or
- Sometimes you can "fix" that problem by looking at the "Edit->Preferences->Defaults" settings to ensure that things haven't "defaulted" to "Internal" instead of keeping set for "LocoNet".

If instead you are already using **the latest "test release" version**, version 4.17.5, then you should _not_ have that problem, as that problem was fixed somewhere around version 4.17.3, I think. In that case we will need MUCH more information, like the "console log" information.

Regards,
Billybob


 

I don't remember what I updated from, but I went to 4.16 production version.

I updated to JMRI 4.17.6, but I still have the same issues.

For reference, Java version is 1.8.0_231.

Thanks
Kerry


 

I see that you are asking for the 'console log' information.? Let me know where to find that, and I will gladly pass it along.

Thanks
Kerry


 

The System Console log is available in several locations.?

Probably the simplest? under HELP,? System Console.? use the "copy to clipboard"?? and the paste to this tread of yours.

Marc


 

Here you go.

2019-11-26 14:59:03,661 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2019-11-26 14:59:03,679 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\Kerry\JMRI\log\messages.log [main]
2019-11-26 14:59:03,681 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\Kerry\JMRI\log\session.log [main]
2019-11-26 14:59:03,694 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - PanelPro version 4.17.6+Rc861f38 starts under Java 1.8.0_231 on Windows 10 x86 v10.0 at Tue Nov 26 14:59:03 CST 2019 [main]
2019-11-26 14:59:05,931 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - Starting with profile PanelPro.3f68dcc5 [main]
2019-11-26 14:59:06,303 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using d051709d-a515-4e28-9429-d956767b794b as the JMRI storage identity for profile id 3f68dcc5 [AWT-EventQueue-0]
2019-11-26 14:59:06,471 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main]
2019-11-26 14:59:06,472 jmrix.AbstractSerialPortController? ? WARN? - old profile format port speed value converted [main]
2019-11-26 14:59:07,026 pr3.PR3Adapter? ? ? ? ? ? ? ? ? ? ? ? INFO? - PR3 adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main]
2019-11-26 14:59:07,032 locobuffer.LocoBufferAdapter? ? ? ? ? INFO? - COM3 port opened at 57600 baud with DTR: true RTS: true DSR: true CTS: true? CD: false [main]
2019-11-26 14:59:07,046 loconet.LnPacketizer? ? ? ? ? ? ? ? ? INFO? - lnPacketizer Started [main]
2019-11-26 14:59:07,358 apps.PerformScriptModel? ? ? ? ? ? ? ?INFO? - Running script C:\Users\Kerry\JMRI\DebounceSensor.py [main]
2019-11-26 14:59:07,369 script.JmriScriptEngineManager? ? ? ? INFO? - python 2.7 is provided by jython 2.7.1 [main]
2019-11-26 14:59:07,372 script.JmriScriptEngineManager? ? ? ? INFO? - ECMAScript ECMA - 262 Edition 5.1 is provided by Oracle Nashorn 1.8.0_231 [main]
2019-11-26 14:59:14,342 apps.PerformScriptModel? ? ? ? ? ? ? ?INFO? - Running script C:\Users\Kerry\JMRI\SensorMatch.py [main]
Couldn't assign inSensor: LS9 - Run stopped
?
Couldn't assign inSensor: LS10 - Run stopped
?
Couldn't assign inSensor: LS11 - Run stopped
?
Couldn't assign inSensor: LS12 - Run stopped
?
Couldn't assign inSensor: LS13 - Run stopped
?
Couldn't assign inSensor: LS14 - Run stopped
?
Couldn't assign inSensor: LS15 - Run stopped
?
Couldn't assign inSensor: LS17 - Run stopped
?
Couldn't assign inSensor: LS18 - Run stopped
?
Couldn't assign inSensor: LS19 - Run stopped
?
Couldn't assign inSensor: LS20 - Run stopped
?
Couldn't assign inSensor: LS21 - Run stopped
?
Couldn't assign inSensor: LS22 - Run stopped
?
Couldn't assign inSensor: LS23 - Run stopped
?
2019-11-26 14:59:14,376 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
2019-11-26 14:59:14,376 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path preference: is C:\Users\Kerry\Dropbox\JMRI\ [main]
2019-11-26 14:59:14,377 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path profile: is C:\Users\Kerry\JMRI\PanelPro\ [main]
2019-11-26 14:59:14,377 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path settings: is C:\Users\Kerry\JMRI\ [main]
2019-11-26 14:59:14,377 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path home: is C:\Users\Kerry\ [main]
2019-11-26 14:59:14,377 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path scripts: is C:\Users\Kerry\JMRI\ [main]
2019-11-26 14:59:15,045 PanelPro.PanelPro? ? ? ? ? ? ? ? ? ? ?INFO? - Main initialization done [main]
2019-11-26 14:59:25,416 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS10" User name "Lowelville" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:29,703 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS11" User name "Edinburg" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:30,857 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS12" User name "Willow Grove" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:31,103 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS13" User name "Moravia" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:31,370 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS14" User name "Wampum" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:31,919 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS15" User name "Koppel" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:32,163 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS17" User name "Warren" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:32,460 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS18" User name "Brier Hill" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:32,988 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS19" User name "Youngstown" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:33,495 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS20" User name "Rochester" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:34,024 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS21" User name "East Rochester" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:34,669 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS22" User name "Conway" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:35,237 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS23" User name "Beaver Falls" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:35,777 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Could not create sensor System name "LS9" User name "Haselton" in adaptor of type jmri.jmrix.loconet.configurexml.LnSensorManagerXml
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
2019-11-26 14:59:36,307 managers.AbstractTurnoutManager? ? ? ?ERROR - Invalid system name for turnout: LT321 needed IT followed by a suffix [AWT-EventQueue-0]
2019-11-26 14:59:36,308 configurexml.ErrorHandler? ? ? ? ? ? ?ERROR - Unexpected error (Exception) while load(/C:/Users/Kerry/Dropbox/JMRI/O&E%20V2.xml) in adaptor of type jmri.jmrix.loconet.configurexml.LnTurnoutManagerXml Exception: java.lang.IllegalArgumentException: Invalid system name for turnout: LT321 needed IT
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
java.lang.IllegalArgumentException: Invalid system name for turnout: LT321 needed IT
at jmri.managers.AbstractTurnoutManager.newTurnout(AbstractTurnoutManager.java:89)
at jmri.managers.ProxyTurnoutManager.makeBean(ProxyTurnoutManager.java:50)
at jmri.managers.ProxyTurnoutManager.makeBean(ProxyTurnoutManager.java:1)
at jmri.managers.AbstractProxyManager.newNamedBean(AbstractProxyManager.java:325)
at jmri.managers.ProxyTurnoutManager.newTurnout(ProxyTurnoutManager.java:114)
at jmri.managers.configurexml.AbstractTurnoutManagerConfigXML.loadTurnouts(AbstractTurnoutManagerConfigXML.java:223)
at jmri.jmrix.loconet.configurexml.LnTurnoutManagerXml.load(LnTurnoutManagerXml.java:34)
at jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:658)
at jmri.configurexml.ConfigXmlManager.lambda$1(ConfigXmlManager.java:580)
at jmri.util.ThreadingUtil.runOnGUIwithReturn(ThreadingUtil.java:148)
at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:578)
at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:264)
at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:192)
at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:182)
at jmri.configurexml.LoadXmlConfigAction.loadFile(LoadXmlConfigAction.java:52)
at jmri.configurexml.LoadXmlUserAction.actionPerformed(LoadXmlUserAction.java:44)
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.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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)
2019-11-26 15:05:29,507 jmris.AbstractServerPreferences? ? ? ?INFO? - No preferences exist. [AWT-EventQueue-0]
2019-11-26 15:05:29,511 jmris.AbstractServerPreferences? ? ? ?INFO? - Migrating from old preferences in C:\Users\Kerry\Dropbox\JMRI\networkServices\SimpleServer.xml to new format in C:\Users\Kerry\JMRI\PanelPro\profile. [AWT-EventQueue-0]
2019-11-26 15:05:29,522 jmris.AbstractServerPreferences? ? ? ?INFO? - No preferences exist. [AWT-EventQueue-0]
2019-11-26 15:05:29,524 jmris.AbstractServerPreferences? ? ? ?INFO? - Migrating from old preferences in C:\Users\Kerry\Dropbox\JMRI\networkServices\JmriSRCPServerPreferences.xml to new format in C:\Users\Kerry\JMRI\PanelPro\profile. [AWT-EventQueue-0]
?


 

Kerry,

From your log, it looks like you have a sequencing error - the script is trying to reference the various LocoNet sensors _before_ they have been created. That causes them to be created. Then you load the panel XML file, and that tries to create the sensors, but they cannot be created (and user names defined), because they were created already.

I think you need to resolve the _order_ in which the XML file load and the jython script execution happens!

Regards,
Billybob


 

PR3 connected to what Digitrax Command Station.. check the Loconet cable between the PR3 and Command Station.

Log shows PC would be talking to the PR3 (or you would have got a windows re a bad connection one can not mis)

This folder has he cumulative message log. Browsing it will should be able to determine what version of JMRI you update from prior to 4.16

C:\Users\Kerry\JMRI\log\messages.log

Marc


 

Well, I pulled my head out.? When I updated, the system connection defaulted to PR3, but I've got a LocoBuffer.? I didn't realize because I WAS connected to Loconet as I was able to monitor slots and Loconet traffic.

But when I switched back to LocoBuffer, things worked again.

I apologize for wasting everyone's time.

Kerry


 

Good.. So it was just a connection issue.?

But never heard of "default to PR3 " before. Unless you are running PROFILES and it loaded the ' last used '.

Marc