Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Tables won't open
Thanks!? I opened the xml file in wordpad, searched for 301, added?IX where appropriate.? Now it opens normally without errors.? Also tables can now be opened from PanelPro menu.
THANK YOU!!!! |
Locked
Re: Tables won't open
By the way, after opening the panel file, and dismissing the errors, there is nothing in the logix table.? But I guess that is expected since it stopped loading once it hit the bad entry.
|
Locked
Re: Tables won't open
When you say "post the file" I assumed you meant my panel file.? it has been posted to the same folder. |
Locked
Re: Tables won't open
Bob,
toggle quoted message
Show quoted text
You have some invalid Logix system names. There appears to be at least one that is missing the IX prefix (301). The Logix loading stopped with 301 which means the related conditionals for the remaining Logix definitions have no parent Logix. If you are comfortable editing XML the fix is fairly easy. You will need to fix both the 301 Logix and the 301 Conditionals. Otherwise, you can upload the panel xml file and I could fix it. Dave Sand On Aug 19, 2018, at 6:51 PM, rzeollaorcl <robert.zeolla@...> wrote: |
Locked
Re: Tables won't open
Both sets of problems (4.8 and 4.12) are probably coming from the same place, which is that somehow there¡¯s a Conditional (part of Logix) in the file with a bad name, and the program is having trouble connecting everything up. The relevant parts of the message log aren¡¯t really very clear and concise, but that¡¯s what they mean. See below.
The problem is probably the conditional named 301C1 which doesn¡¯t have a leading ¡°IX¡±, i.e. should be called IX301C1. If you post the file, I can take a look at it. Bob 2018-08-19 19:24:33,772 configurexml.ErrorHandler ERROR - Unexpected error (Exception) while load(/C:/Users/Conemaugh/JMRI/My_JMRI_Railroad/JMRI_Panels/Conemaugh%20Dispatch%20Panel%2021.1.xml) in adaptor of type jmri.managers.configurexml.DefaultLogixManagerXml Exception: jmri.NamedBean$BadSystemNameException See for possibly more information. [AWT-EventQueue-0] jmri.NamedBean$BadSystemNameException at jmri.Manager.getSystemPrefixLength(Manager.java:400) at jmri.NamedBean.compareTo(NamedBean.java:371) at jmri.util.NamedBeanComparator.compare(NamedBeanComparator.java:30) at jmri.util.NamedBeanComparator.compare(NamedBeanComparator.java:1) at java.util.TreeMap.compare(Unknown Source) at java.util.TreeMap.put(Unknown Source) at java.util.TreeSet.add(Unknown Source) at jmri.managers.AbstractManager.register(AbstractManager.java:182) at jmri.managers.DefaultLogixManager.createNewLogix(DefaultLogixManager.java:89) at jmri.managers.configurexml.DefaultLogixManagerXml.loadLogixs(DefaultLogixManagerXml.java:156) at jmri.managers.configurexml.DefaultLogixManagerXml.load(DefaultLogixManagerXml.java:119) at jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:693) at jmri.configurexml.ConfigXmlManager.lambda$1(ConfigXmlManager.java:604) at jmri.util.ThreadingUtil.lambda$0(ThreadingUtil.java:159) 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) 2018-08-19 19:24:56,096 igurexml.DefaultConditionalManagerXml WARN - Conditional '301C1' has no parent Logix [AWT-EventQueue-0] 2018-08-19 19:24:56,111 igurexml.DefaultConditionalManagerXml WARN - Conditional '301C3' has no parent Logix [AWT-EventQueue-0] 2018-08-19 19:24:56,111 igurexml.DefaultConditionalManagerXml WARN - Conditional 'IX302C1' has no parent Logix [AWT-EventQueue-0] 2018-08-19 19:24:56,111 igurexml.DefaultConditionalManagerXml WARN - Conditional 'IX302C2' has no parent Logix [AWT-EventQueue-0] On Aug 19, 2018, at 4:45 PM, rzeollaorcl <robert.zeolla@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Script warning message in system console: what is wrong (invoked from invalid context)?
Ah-ha. Got it, thanks
|
Locked
Re: Tables won't open
uploaded session.log file to folder Bob Zeolla folder in "Problems being worked on"
|
Locked
New file uploaded to [email protected]
[email protected] Notification
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the [email protected] group. File: session.log Uploaded By: rzeollaorcl Description: You can access this file at the URL: Cheers, |
Locked
Re: Tables won't open
Downloaded and installed 4.12.? Tables now open.? But I think I now have a bigger problem? I'm getting a java error when I open my panel, didn't get any error with 4.8 version.? Here is the error message ...
|
Locked
Re: Script warning message in system console: what is wrong (invoked from invalid context)?
You¡¯re probably getting that message because the thread has _already_ stopped. If handle returns False (which is 0), that¡¯s it, the thread is stopped.
Bob On Aug 19, 2018, at 3:43 PM, LMSFAN72 <andrew@...> wrote:-- Bob Jacobsen jacobsen@... +1-510-708-5988 AIM, Skype JacobsenRG |
Locked
Re: Tables won't open
¡°Open Logix Table¡± in Preferences normally does open without the table selector: It¡¯s opening the _Logix_ Table, not the Tables window. You can have it open other ones too if you¡¯d like.
But the real question is why normal operation isn¡¯t working. That¡¯s not all that large a panel file, particularly for that machine. There have been a number of changes since JMRI 4.8. A good first step would be update to 4.12. Bob On Aug 19, 2018, at 3:37 PM, rzeollaorcl <robert.zeolla@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Full timetable automation - AutoDispatcher 2 - abstraction - documentation - scripting
I fully appreciate Bob's point about the nature and origins of JMRI. My purpose in posting was to evaluate whether JMRI is suitable for what I am after for my own particular layouts, rather than to criticise the myriad volunteer contributors for not volunteering enough. I develop open source software myself, so I well know the inherent limitations on hobby developing.
Perhaps one day I might be inclined to attempt to write some of these features into JMRI (or at least write a script implementing these ideas and share it) - but I do not want to have to do this in order to get my planned model railways to work as I should like them. The trolley discussion is very interesting, incidentally - it would be intriguing to see such a layout. It is interesting because it requires thinking about a totally different type of signalling system: not a system based on absolute/track circuit block, but based on driving by sight. This is used for road vehicles, of course, but also trams, all early railways, and many later industrial/light railways. Proper drive by sight would require some sort of proximity detector in each vehicle; but would end up being very useful for things such as coupling/uncoupling even on a normally signalled railway. |
Locked
Re: Script warning message in system console: what is wrong (invoked from invalid context)?
Thanks Bob, that's clarified it. I originally had the getThrottle in init but couldn't get it to re select the number so I moved it. In moving it, though, I also then did a few other things. The result of those changes were that just moving the getThrottle code back to init as it is now has fixed it. Brilliant!
One last error happens when I close the window:? ERROR - stop with currentThread null! This must be my use of dispose and stop. Would you recommend I do something differently on closing the window? Many Thanks, Andrew |
Locked
Tables won't open
Hello,
Is there a limit to the size that a panel file can get before strange things start happening?? I've done a lot in PanelPro and my XML file is now at 1053 KB.? Everything seems to work well, except I cannot open any of the tables from the PanelPro menu.??I suspect it is a memory issue, but want to be sure before I act on it.? Adding "Open Logix Table" to the start up in preferences allows the table to open, but without the list of other tables on the left, so if I need to navigate between tables I need to change the preferences and restart JMRI each time.? Not convenient! I run JMRI on a dedicated PC, meaning I use this PC for nothing else.? It's running Windows 10 with Intel Pentium CPU 4405U @ 2.10GHz and 4.00 GB RAM (3.88 usable).? I'm running JMRI 4.8 +Rbe0ff15, Java version 1.8.0_181.? When I check Task Manager the Processes tab shows Java using 248.5 MB of memory.? The Performance tab shows a total of 2.3 of 3.9 GB memory in use, Committed 3.1/4.6 GB, Cached 1.6 GB, Paged Pool 231 MB, and Non-paged Pool 406 MB (not that any of that means anything to me except that there seems to be 1.6 GB of memory free).? The session log in my JMRI \log folder show nothing out of the ordinary, no errors. As always, any help will be greatly appreciated. Bob Zeolla |
Locked
Re: OperationsPro and ¡°wait¡±
Problem solved by removing specific day for delivery in the schedule. ?Now it is on to fine tuning. ?Thanks for the help Dan.
Phil |
Locked
Re: transfer problems
Gary, I don't think I'm gettin the complete picture, but I'd like to know if you are using the same JMRI version on all three computers. If so, how are you checking the content? WIthin JMRI or with outside tooling?On 19 August 2018 at 18:05, Gary Ray <gerber1926@...> wrote:
|
Locked
Re: Possible bug in EntryExit
Benny,
toggle quoted message
Show quoted text
Use Layout Editor Tools to open the Entry/Exit table. Select Options >> Options from the table menu. What color do you have set for ¡°Initial color of path¡±? Based on your description it appears to be White. If the setup process is interrupted for any reason, the track and extra colors are not set back. A subsequent save will update the panel xml file. Dave Sand On Aug 19, 2018, at 1:21 PM, Benny Tj?der <etxbct@...> wrote: |
Locked
Re: L1USB Ethernet Adapter Error ? Help
Paul, Just to throw in some other experiences, I have found the USB side of my interface to be more reliable. I was getting dropped connections from time to time with ethernet without any pattern to them. But I have a Mac, not a Windows machine on it. The USB has been flawless over at least several years now.
Ed Merrin Northwestern Pacific Santa Rosa. |
Locked
Re: Full timetable automation - AutoDispatcher 2 - abstraction - documentation - scripting
I'm actually in the (part-time) process of fitting driving cameras to trolley cabs that operate in real-time. Unfortunately, effort wise, for HO in my case,? that involves some time consuming micro metal work as well as the usual electronics. But I have to bypass most of the DCC features to get the signals back to the driver consoles.
The tough trick is then to get a non-human driven "smart" trolley to figure out it's own position based on its route history and what it can see/sense out front. Probably some collaboration with a central system using RPS and/or layout overview cameras is the way to go. But definitely not just traditional block detection. I'm thinking (backwards?) more along the lines of key positions having passive transmitters that identify their specific location code to the trolley, rather than dumb sensors that try to identify the presence of a trolley in on of very many, very short blocks . That way the length and quantity of "blocks" becomes a non-issue. And the trolley itself sends that info to the central system, as needed, rather than the location sending it. And did I mention it all has to be cheap ;) Andy ?On 8/19/2018 10:50 AM, Bob Jacobsen wrote: This kind of operation might require thinking outside the blocks. --- This email has been checked for viruses by AVG. |
Locked
Possible bug in EntryExit
In JMRI 4.12 the color on tracks is changed when an NX is activated. Track color is changed from black to white on some of the blocks, not all, and extracolor is changed from green to white on same blocks. The only color not changed is the occupiedcolor. Before setting an EntryExit: <layoutblock? systemName="ILB29" occupancysensor="dSIIa" occupidsense="2" trackcolor="black" occupiedcolor="red" extracolor="green"> ? ? <systemName>ILB29</systemName> ? ? <userName>SIIa</userName> </layoutblock> After: <layoutblock? systemName="ILB29" occupancysensor="dSIIa" occupidsense="2" trackcolor="white" occupiedcolor="red" extracolor="white"> ? ? <systemName>ILB29</systemName> ? ? <userName>SIIa</userName> </layoutblock> /Best regards Benny |