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 Panel file won't load
I did a prnt scrn of the error message and pasted it in this message but
toggle quoted message
Show quoted text
it seems it didn't stick so here it is. Parse error while parsing file /W:/Users/Ken/Dropbox/JMRI/1%20NEWEST%20UPDATED%20PANEL.xml Exception: org.jdom2.input.JDOMParseExceptoin: Error on line 1651: cvc-identity-constraint.4.1: Duplicate unique value [LH82] declared for identity constraint "signalHeadUserName" of element "layout-config". See http//jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for more information. On 6/30/2017 10:21 AM, boomer17@... [jmriusers] wrote:
My panel file suddenly won't load. This error message appears. Any help is appreciated. |
Ken B,
Somewhere along the 4.7.* development cycle, we started pretesting the panel file and trapping errors like duplicates where they don't belong. In your case a signal LH82 is mentioned more than once in a panel and it raised the complaint. If you could post the file to the user group space under 'Problems being worked on' we can take a look at the file and see if the complaint is valid and help fix it. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Running 4.7.6. I read a suggestion in another post to run
toggle quoted message
Show quoted text
TurnOffXmlValidation.py before loading the panel and that works. Panel will now load without the error. Here are the offending lines: <signalhead class="jmri.implementation.configurexml.SE8cSignalHeadXml" systemName="IH:SE8C:"LT419";"LT420"" userName="LH82"> <systemName>IH:SE8C:"LT419";"LT420"</systemName> <userName>LH82</userName> <turnoutname defines="low">LT419</turnoutname> <turnoutname defines="high">LT420</turnoutname> </signalhead> On 6/30/2017 11:14 AM, dave@... [jmriusers] wrote:
Ken, |
to navigate to use esc to dismiss