¿ªÔÆÌåÓý

Locked RailDriver not working in 4.18/Linux #raildriver #ubuntu


 

I just tried to load my RailDriver throttle in JMRI 4.18 and it did not load plus the console shows an error (copy below). I am using Ubuntu 18.04. I rechecked 4.16 and it still works there.
Did something change?

Allen
Mtn RR

2020-02-16 14:36:08,258 input.DefaultControllerEnvironment??? INFO? - Loading: net.bobis.jinput.hidraw.HidRawEnvironmentPlugin [AWT-EventQueue-0]
2020-02-16 14:36:08,259 hidraw.HidRawEnvironmentPlugin??????? INFO? - Scanning xml files for devices on folder: /home/allen/JMRI_418/xml/jinputDevices [AWT-EventQueue-0]
2020-02-16 14:36:08,260 hidraw.HidRawEnvironmentPlugin??????? INFO? - Using already existing preferences for device RailDriverModernDesktop
??? ?To reset preferences for _all_ HidRaw devices use -Djinput.resetHidRawPreferences=true
??? ?After that, preferences for this device will be loaded from /home/allen/JMRI_418/xml/jinputDevices/RailDriverModernDesktop.xml [AWT-EventQueue-0]
2020-02-16 14:36:08,260 hidraw.HidRawEnvironmentPlugin??????? INFO? - Using file /home/allen/JMRI_418/xml/jinputDevices/ReDACIOModule.xml to get preferences for device ReDACIOModule [AWT-EventQueue-0]
2020-02-16 14:36:08,329 hidraw.HidRawEnvironmentPlugin??????? INFO? - HidRawEnvironmentPlugin, native devices: Vendor: 0x5f3 ; Product: 0xd2 ; Name: RailDriver Modern Desktop ; Path: /dev/RailDriverModernDesktop
Vendor: 0x00 ; Product: 0x00 ; Name: unknown name ; Path: unknown path
Vendor: 0x00 ; Product: 0x00 ; Name: unknown name ; Path: unknown path
?[AWT-EventQueue-0]
2020-02-16 14:36:08,377 hidraw.HidRawEnvironmentPlugin??????? INFO? - Failed to create HidRawController for device unknown name: net.bobis.jinput.hidraw.unknownname [AWT-EventQueue-0]
2020-02-16 14:36:08,377 hidraw.HidRawEnvironmentPlugin??????? INFO? - Failed to create HidRawController for device unknown name: net.bobis.jinput.hidraw.unknownname [AWT-EventQueue-0]
2020-02-16 14:36:08,377 hidraw.HidRawEnvironmentPlugin??????? INFO? - Failed to create HidRawController for device unknown name: net.bobis.jinput.hidraw.unknownname [AWT-EventQueue-0]
2020-02-16 14:36:08,378 hidraw.HidRawEnvironmentPlugin??????? INFO? - Failed to create HidRawController for device unknown name: net.bobis.jinput.hidraw.unknownname [AWT-EventQueue-0]
2020-02-16 14:36:08,378 input.DefaultControllerEnvironment??? INFO? - Loading: net.java.games.input.LinuxEnvironmentPlugin [AWT-EventQueue-0]
2020-02-16 14:36:08,381 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event15): Failed to open device /dev/input/event15 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,382 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event14): Failed to open device /dev/input/event14 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,382 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event13): Failed to open device /dev/input/event13 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,382 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event12): Failed to open device /dev/input/event12 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,383 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event11): Failed to open device /dev/input/event11 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,383 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event10): Failed to open device /dev/input/event10 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,383 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event9): Failed to open device /dev/input/event9 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,383 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event8): Failed to open device /dev/input/event8 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,384 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event7): Failed to open device /dev/input/event7 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,384 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event6): Failed to open device /dev/input/event6 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,447 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event3): Failed to open device /dev/input/event3 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,447 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event2): Failed to open device /dev/input/event2 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,448 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,448 input.ControllerEnvironment?????????? INFO? - Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13)

?[AWT-EventQueue-0]
2020-02-16 14:36:08,450 input.ControllerEnvironment?????????? INFO? - Linux plugin claims to have found 3 controllers
?[AWT-EventQueue-0]
2020-02-16 14:36:08,450 jinput.TreeModel????????????????????? INFO? - Controller RailDriver Modern Desktop has 51 components [AWT-EventQueue-0]
2020-02-16 14:36:08,451 jinput.TreeModel????????????????????? INFO? - Controller Logitech Logitech Attack 3 has 14 components [AWT-EventQueue-0]
2020-02-16 14:36:08,451 jinput.TreeModel????????????????????? INFO? - Controller PI Engineering RailDriver Modern Desktop has 56 components [AWT-EventQueue-0]
2020-02-16 14:36:08,451 jinput.TreeModel????????????????????? INFO? - Controller PI Engineering RailDriver Modern Desktop has 56 components [AWT-EventQueue-0]
Found RailDriver Modern Desktop 955670178
2020-02-16 14:36:08,461 jython.RunJythonScript??????????????? ERROR - Unable to execute script. [AWT-EventQueue-0]
javax.script.ScriptException: AttributeError: type object 'jmri.jmrit.throttle.ThrottleFrameManager' has no attribute 'instance' in <script> at line number 312
??? at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:222)
??? at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:59)
??? at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:64)
??? at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:249)
??? at jmri.script.JmriScriptEngineManager.eval(JmriScriptEngineManager.java:394)
??? at jmri.script.JmriScriptEngineManager.eval(JmriScriptEngineManager.java:331)
??? at jmri.jmrit.jython.RunJythonScript.invoke(RunJythonScript.java:111)
??? at jmri.jmrit.jython.RunJythonScript.actionPerformed(RunJythonScript.java:84)
??? 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)
Caused by: Traceback (most recent call last):
? File "<script>", line 312, in <module>
? File "<script>", line 126, in __init__
AttributeError: type object 'jmri.jmrit.throttle.ThrottleFrameManager' has no attribute 'instance'

??? at org.python.core.Py.AttributeError(Py.java:207)
??? at org.python.core.PyType.noAttributeError(PyType.java:1994)
??? at org.python.core.PyObject.__getattr__(PyObject.java:1027)
??? at org.python.pycode._pyx7.__init__$3(<script>:139)
??? at org.python.pycode._pyx7.call_function(<script>)
??? at org.python.core.PyTableCode.call(PyTableCode.java:171)
??? at org.python.core.PyBaseCode.call(PyBaseCode.java:308)
??? at org.python.core.PyBaseCode.call(PyBaseCode.java:199)
??? at org.python.core.PyFunction.__call__(PyFunction.java:482)
??? at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
??? at org.python.core.PyMethod.__call__(PyMethod.java:228)
??? at org.python.core.PyMethod.__call__(PyMethod.java:223)
??? at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19)
??? at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1112)
??? at org.python.core.PyType.type___call__(PyType.java:1822)
??? at org.python.core.PyType.__call__(PyType.java:1805)
??? at org.python.core.PyObject.__call__(PyObject.java:480)
??? at org.python.core.PyObject.__call__(PyObject.java:484)
??? at org.python.pycode._pyx7.f$0(<script>:307)
??? at org.python.pycode._pyx7.call_function(<script>)
??? at org.python.core.PyTableCode.call(PyTableCode.java:171)
??? at org.python.core.PyCode.call(PyCode.java:18)
??? at org.python.core.Py.runCode(Py.java:1614)
??? at org.python.core.__builtin__.eval(__builtin__.java:497)
??? at org.python.core.__builtin__.eval(__builtin__.java:501)
??? at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:259)
??? at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:57)
??? ... 43 more

Join [email protected] to automatically receive all group messages.