Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: withrottle not working with V4.18
#withrottleserver
#4-18
Thanks, SteveT.? I will try that.? Question is why now with v4.16 to v4.18 update?
Conrad |
Locked
Re: Trouble loading PanelPro panels
Hello:
I have uploaded three files to the problems being worked on folder in a folder named ARHS Panel Load Problem. There is a message file and two session logs. One is labeled BAD....? one is labeled OK.? Okay does not load panels from the configuration file.? They are loaded manually from the Panels menu.? The configuration process displays error messages and asks if we want to skip loading the offending object... we answer yes. Once the JMRI screen comes up, we load the panels manually from the Panels menu. Everything is cool. Bad has an Open Panels action added to the start up section of the configuration file.? We do get the same error message seen when loading the config without the open panels action. When asked to skip loading the offending object? we answer yes.? However, the panels load (display on the screen) but? java hangs.? An alt-crtl-del get us back to ground zero.? One other tidbit...? We know we made mistakes in building the turnout, sensor and block tables.? Now that we have a usable layout, we rebuilt the the turnout table and sensor table on the layout using the OpenLCB CDI (make turnout and make sensor). The Panels were stripped of turnouts and sensors and rebuilt on the layout.? When the system comes up both the turnout table and sensor tables have added entries.? They are prefixed with the letter N.? That tells me NCE. We are strictly LCC on the turnout and sensor side of things. All the other table entries are prefixed with the letter M.? Where are those turnout and sensor entries coming from?? Also there is a ISCLOCKRUNNING sensor that is always added.? Where is that coming from? The third golden rule of programming is and has always been, "If you are sure everything you have done is right and what you want to do does not work, one of the things you are sure of you should not be". Dan Kubarych ARHS |
Locked
Re: calling dispatched from script
Steve
Incidentally all my transits only have forward elements, and each time I add a new block I redo the signal logic and the sections and transits from scratch.I have had too many problems to do anythng else at present. Bill F |
Locked
Re: Panel Pro - Track Layout extends beyond screen
#layouteditor
See : LayoutEditor: Fix zoom clipping issues.
I've got the clipping issue fixed¡ but now the scroll bars are wack¡ [/sigh]¡ °Â±õ±Ê¡ |
Locked
Re: withrottle not working with V4.18
#withrottleserver
#4-18
On Tue, Jan 7, 2020 at 06:35 AM, conrad wrote:
still no WiThrottle connectionConrad, The most common issue is that your firewall is blocking the incoming connection from the client. Turn off all firewalls and try again. If it works, then add an exception and turn it back on. If that still doesn't work, please provide the exact text of the error message from EngineDriver. It can be found under "View Log". --SteveT |
Locked
Re: withrottle not working with V4.18
#withrottleserver
#4-18
Similar problem.? Upgraded from v4.16 to v4.18 on a Windows 10 platform (Digi DB150, PR-3, LocoNet, Android based EngineDriver on a tablet) and it runs.? But I can't get WiThrottle to work.? Yesterday tablet acquired EngineDriver but would not access roster nor operate power button.? Today EngineDriver sometimes sees and sometimes doesn't see the server.? But says 'not connected, check WiThrottle and Web Server'.? I have the correct url and port, no changes from v4.16.
See below****I checked out Dale Gloer's msg thread 167074 but can't find a Consist.xml file.? I see an xml folder in the program folder but no consist file.****See below Above not correct, I found and renamed a consist.xml file to old_consist.xml in both File path preference: is C:\Users\conrad\Dropbox\JMRI\ [main] and File path profile: is C:\Users\conrad\JMRI\My_JMRI_Railroad\ [main] with still no WiThrottle connection.? Also a little worried that preference and profile paths are different.? See console log below. 2020-01-07 09:12:22,438 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2020-01-07 09:12:22,516 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\conrad\JMRI\log\messages.log [main]
2020-01-07 09:12:22,516 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\conrad\JMRI\log\session.log [main]
2020-01-07 09:12:22,532 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - PanelPro version 4.18+R37ad3d0 starts under Java 1.8.0_231 on Windows 10 x86 v10.0 at Tue Jan 07 09:12:22 EST 2020 [main]
2020-01-07 09:12:33,382 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - Starting with profile My_JMRI_Railroad.3f132008 [main]
2020-01-07 09:12:33,819 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using jmri-osZcIaSGWhOiaaabMr20Sa-3f132008 as the JMRI storage identity for profile id 3f132008 [AWT-EventQueue-0]
2020-01-07 09:12:34,210 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main]
2020-01-07 09:12:34,913 pr3.PR3Adapter? ? ? ? ? ? ? ? ? ? ? ? INFO? - PR3 adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main]
2020-01-07 09:12:34,929 locobuffer.LocoBufferAdapter? ? ? ? ? INFO? - COM4 port opened at 57600 baud with DTR: true RTS: true DSR: false CTS: false? CD: false [main]
2020-01-07 09:12:35,023 loconet.LnPacketizer? ? ? ? ? ? ? ? ? INFO? - lnPacketizer Started [main]
2020-01-07 09:12:37,919 withrottle.FacelessServer? ? ? ? ? ? ?INFO? - Published ZeroConf service for 'my jmri railroad._withrottle._tcp.local.' on fe80:0:0:0:60ca:5e0e:ea89:ae2%eth4:12090 [WiThrottleServer]
2020-01-07 09:12:37,919 withrottle.FacelessServer? ? ? ? ? ? ?INFO? - Published ZeroConf service for 'my jmri railroad._withrottle._tcp.local.' on 192.168.1.5:12090 [WiThrottleServer]
2020-01-07 09:12:37,919 withrottle.FacelessServer? ? ? ? ? ? ?INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
2020-01-07 09:12:38,997 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
2020-01-07 09:12:38,997 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path preference: is C:\Users\conrad\Dropbox\JMRI\ [main]
2020-01-07 09:12:38,997 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path profile: is C:\Users\conrad\JMRI\My_JMRI_Railroad\ [main]
2020-01-07 09:12:38,997 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path settings: is C:\Users\conrad\JMRI\ [main]
2020-01-07 09:12:38,997 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path home: is C:\Users\conrad\ [main]
2020-01-07 09:12:39,012 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
2020-01-07 09:12:40,247 server.WebServer? ? ? ? ? ? ? ? ? ? ? INFO? - Starting Web Server on port 12080 [WebServer]
2020-01-07 09:12:40,809 PanelPro.PanelPro? ? ? ? ? ? ? ? ? ? ?INFO? - Main initialization done [main]
2020-01-07 09:12:41,122 server.WebServer? ? ? ? ? ? ? ? ? ? ? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.2.0} [WebServer]
2020-01-07 09:12:46,947 audio.JoalAudioFactory? ? ? ? ? ? ? ? INFO? - Initialised JOAL using OpenAL: vendor - OpenAL Community version - 1.1 ALSOFT 1.15.1 [AWT-EventQueue-0]
?
Conrad |
Locked
Re: moving files to new computer
On Mon, Jan 6, 2020 at 09:55 PM, Tom Cain wrote:
I have gone to Decoder Pro and then at the File drop down, I select ¡°import complete roster¡± and it will create an ¡°Open¡± window, but there is no way that I can select my roster files. ?"IMPORT"? only works with files that were? "EXPORT"ed. ? You must first " EXPORT the complete roster "? on the source system and then "IMPORT"? the? "EXPORT"? file you copied to the NEW computer. Marc |
Locked
Re: Roster media?
#rosterimage
On Tue, Jan 7, 2020 at 03:03 AM, SwissChris wrote:
Right click on the icon column of the loco you wish to add the image to.? A pop up box will appear click on the option Labels & Media. a new panel will open up. There will be 2 tabs Function labels and Roster Media. Click on the Roster Media Tab mand you're there. Have your file explorer programme running. Click and drag the image you want into the boxe. Then save to Roster.Method 1 : 1 - Right click on a ROSTER entry you want to add media too. 2 - Select? "Labels & Media " 3 -? In the newly open window select the "Roster Media " tab. 4 - Open your image folder and Drag & Drop your image file to both the MAIN and ICON image boxes of item 3. 5 - Save to Roster 6 - Close the " Labels & Media " window. Method 2: 1 -? Highlight the Roster entry you want to add photo too. 2 - Lower Right Hand of DecoderPro, select " Lables & Media " 3 - In new window, select the " Roster Media "? tab 4 - Open your Image folder and Drag & Drop your image file to both the MAIN and ICON image box of item 3. 5 - Save to Roster. 6 - Close the " Labels & Media " window. To save space resize your image files to 500 X 350? using Windows Paint or other image editor. Marc |
Locked
Re: jmri_bindings.py
#scripting
Randall Wood
Note that future versions of Jython are going to remove We might just have to plan on not relying on a set of convenience bindings and use |
Locked
Re: Roster media?
#rosterimage
Right click on the icon column of the loco you wish to add the image to.? A pop up box will appear click on the option Labels & Media. a new panel will open up. There will be 2 tabs Function labels and Roster Media. Click on the Roster Media Tab mand you're there. Have your file explorer programme running. Click and drag the image you want into the boxe. Then save to Roster.
|
Locked
Roster media?
#rosterimage
I can't seem to find a method to add a media photo to my engine roster (profile). I searched the web and found pictures, loaded them on a stick and then clicked on the media tab for the selected locomotive. This method doesn't even give me an option to add or retrieve an image. I must be over looking something pretty basic.
|
Locked
Re: jmri_bindings.py
#scripting
One way I can? get it to work is by passing a copy of the sensors object
self.route? ? =? self.trainDriver.setRoute(self.new_route,self.throttle,sensors) Can i ask if? this is acceptable or if I am heading for trouble further down the line? Thanks Jim |
Locked
moving files to new computer
¿ªÔÆÌåÓýI am in the process of moving files from an old iMac desktop to a newer iMac desktop.I have moved the JMRI files to a flash drive and put them on the desktop of the newer computer. ?It was a huge file and took half an hour to put on the flash drive and half hour to put on the newer computer desktop. ?Seems like it is carrying a LOT of information along that I may not need such as all the saved panels as they were being built through the years. ?But I also use the Operations part of Panel Pro too. ? Anyway, right now I¡¯m just working to make sure my decoder roster is on the newer computer. ?The older computer JMRI version is 4.17.2 and the computer is using the MAC OS 10.11.6 The JMRI on the newer computer is JMRI 4.17.6 and the newer Operating system is MAC OS 10.13.3 The preferences directory on the newer computer is: /users/username/Library/Preferences/JMRI/My_JMRI_Railroad/ The roster folder on the newer computer desktop generally has an .xml ?and a ? .xml.bak for each loco. I have gone to Decoder Pro and then at the File drop down, I select ¡°import complete roster¡± and it will create an ¡°Open¡± window, but there is no way that I can select my roster files. ? What step am I missing? Thomas Cain Indianapolis, IN Modeling the Eastern Illinois Santa Fe from the Prototype See my?NEW?website and layout at: ? |
Locked
Re: Panel Pro - Track Layout extends beyond screen
#layouteditor
System - Digitrax DCS210, DB210, DS64'S (4), BXP88's (2), PR4; JMRI 4.16; Java 1.8
Allan |
¿ªÔÆÌåÓýPeter, Adding to the dialout group Correct. That's one of the things my updated instructions specifies, along with a procedure to find the correct port. Dave in Australia |
Locked
Re: calling dispatched from script
Steve ? I have updated to the 4.19 but still get the remaining problem which I expand in a bit more detail below. I have put the panel in script examples / YAAT for dispatcher / demoDP.xml Dispatch 2-3 Train goes into siding 2 from siding 3. The signal1-3A??nearest siding 3 facing away from siding 3 goes green after the train arrives at siding 3.? It changes when point 1 (nearest siding 3) changes ? Dispatches 3-4 The signal 1-3 goes red when the train dispatches, and then freezes. Does not then respond to point 1 (nearest siding 3) changing ? Dispatch 4-3 Signal 1-3 stays red ? Dispatch 3-2 Train goes waiting Change signal1-3 by hand Train advances to turnout 1 then stops. I will be very pleased if you can suggest how I can change the panel so that the above problem does not occur.. Bill |
Dave Sand
I have tested a version of YAAT enhanced with dispatcher. This is a modification of your file which includes subroutines. I have placed it in script examples / YAAT with dispatcher, together with the layout I have tested it with and the YAAT file that I have used. Please feel free to change as necessary, if you would like to include it. I am finding it useful. It runs using the dispatcher files that are produced as part of the dispatcher routine, and hence makes the calling very easy (unlike the first version I sent you), and makes it easy to test the routine using normal dispatcher, then automate, knowing that it should work! Bill |
In most cases the the user id is "pi" and the password is "raspberry"
I think in the image Steve states ...........user is "pi", all passwords are "rpI-jmri", 3rd char is a capital "eye" try both if they still fail then the user id pi may not be added in LPADMIN. You have to add the the user id of pi to the LPADMIN sudo usermod -a -G lpadmin pi. When you run this command your user id is added to access CUPS Inobu |
Locked
Re: jmri_bindings.py
#scripting
Thanks Dave.?
unfortunately I also use this function so that I can have a dynamic name which gets in the way. Is there a way to? have testRoute1 as a string, something like route=eval("testRoute1()") ? ? ? ? def importClass(self,className):
? ? ? ? ? self.name=className
? ? ? ? ? self.components = self.name.split('.')
? ? ? ? ? self.module = __import__(self.components[0])
? ? ? ? ? for self.component in self.components[1:]:
? ? ? ? ? ? ?self.module=getattr(self.module, self.component)
? ? ? ? ? return self.module
? ? ? #---------------------------------------------------------------------------------------------------------
? ? ? # set the route for this driver
? ? ? #---------------------------------------------------------------------------------------------------------
? ? ? def setRoute(self,route,throttle):
? ? ? ? ? self.route_name="automationRoutes."+route
? ? ? ? ? print("setting route to "+self.route_name)
? ? ? ? ? self.route=self.importClass(self.route_name)
? ? ? ? ? self.route_instance=self.route
? ? ? ? ? self.route_instance.throttle=throttle
? ? ? ? ? return self.route_instance()
? |