Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked
Possible PanelPro bugs
#layouteditor
After 28 emails between Steve Todd and me, my RPi-JMRI system is working properly. I owe many thanks to Steve for his patience and knowledge, as I struggled to get this going! He is a great asset to this group.
The possible bug: I created my LE panel on my Windows 8.1 PC. My panel file included detectors, defined as C/MRI devices. When I first opened it with PanelPro on my RPI, I got error messages for each detector, because I hadn't set up the connections. So, PanelPro couldn't or wouldn't show the objects. In the error dialog box, there was a button to click to skip that message for this session. I clicked it. The panel opened, looking correct except missing the detectors. As I worked through this, I changed connections several times, and restarted PanelPro, JMRI, and even had the RPi powered down at least half a dozen times. I would have expected the detector error messages every time PanelPro was restarted or the RPi was powered up. But, I never saw it again until I opened a new version of the LE Panel last night. Because I tried to get the EasyDCC and WiThrottle stuff working, it had been so long that I'd forgotten about those messages when I first loaded the file. I kept asking Steve what more I could try to make the detectors display properly. Probably half or more of our 28 emails were related to that! Perhaps I misunderstand the meaning of "session" as used here, but shouldn't that detector error have been displayed each time PanelPro was restarted or the RPi was powered off and on? To my mind, that's a bug. It was also the first time I'd seen the dialog box to select a new profile, which I'd been trying to do. I'm not sure what combination and sequence was needed to get the profile selection menu to show. Perhaps it was setting that in Edit/Preferences and then shutting down and starting up the RPi before doing anything else. Setting the choice to change the profile on the next start, then answering yes to the dialog box to restart, did not change the profile or open the dialog box to let me set it then. This seems like a bug, too. If not, then the documentation needs to be clearer, and that dialog box about restarting to change profiles shouldn't open, because it doesn't work that way. Don Weigt Connecticut, USA |
Don,
toggle quoted message
Show quoted text
If you skip loading error messages, such as for the occupancy sensors, and then save the panel xml file, the errors no longer occur because the source of the error did not exist and is therefore not saved. The Preferences >> Config Profiles dialog has an option to display the profile selector during startup. Dave Sand On Aug 22, 2019, at 11:21 AM, Don Weigt <dweigt47@...> wrote: |
I don't recall saving the loaded panel after the error messages, but as it was weeks and many attempts ago, cannot say for certain.
The Preferences >> Config Profiles dialog has an option to display the profile selector during startup was what I couldn't make work. As I wrote in the first message, I saw it only once, and that was after loading in the new panel file and from a cold start. Again, I can't tell you the exact steps, but every attempt I made before hadn't made it appear. Maybe it had something to do with no connected hardware, or the wrong connections defined, but there was nothing to indicate those issues might prevent the profile selector appearing. That's why I thought it might be a bug, or at least that clearer help information might be needed. Don Weigt Connecticut, USA |
Don W,
One important detail: do you still have the original panel file? Second, a comment about the preferences. I think you said you were using CMRI, if so, read on, if not skip the rest as not important. It is easy for a CMRI configured profile to lose the node information. It is kept with the connection details and things like a port not found or changing between a physical port and simulator sometimes lose that information. Then when you start up, it says any of the CMRI devices are invalid since it doesn't think the matching nodes and boards exist. Any panel file saved under that condition will not have any of those sensors or turnouts. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Don,
toggle quoted message
Show quoted text
The profile selector option is stored in settings:PanelProConfig2.properties and settings:DecoderProConfig3.properties. For Windows, settings: is mapped to "C:\Users\<username>\JMRI¡±. ?In Linux it is "/home/<username>/.jmri" <-Note the dot.jmri. ?For macOS it is ¡°/Users/<username>/Library/Preferences/JMRI¡±. If you are running PanelPro and DecoderPro on both Windows and Linux, you may have to set the profile selector option 4 times. Dave Sand On Aug 23, 2019, at 9:50 AM, Don Weigt <dweigt47@...> wrote: |
I have the LE Panel on my desktop PC, dated 7/22, which should be the version I loaded onto the RPi. But, I may not have the file as stored on the RPi: I deleted it and then loaded the new version on the Pi a few days ago. Hmm. I should check if it's stored on the RPi as a backup panel file! I may still have it. Don Weigt Connecticut, USA |
to navigate to use esc to dismiss