¿ªÔÆÌåÓý

Locked Panel file won't load


 

My panel file suddenly won't load. This error message appears. Any help is appreciated.

Thanks, Ken


 

I did a prnt scrn of the error message and pasted it in this message but
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.

Thanks, Ken











------------------------------------
Posted by: boomer17@...
------------------------------------


------------------------------------

Yahoo Groups Links




 

Ken,

What version of PanelPro are you running?

The easiest way to diagnose this problem is for you to upload the XML file to the ProblemsBeingWorkedOn folder.

Dave Sand


 

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
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,

What version of PanelPro are you running?

The easiest way to diagnose this problem is for you to upload the XML file to the ProblemsBeingWorkedOn folder.

Dave Sand

------------------------------------
Posted by: dave@...
------------------------------------


------------------------------------

Yahoo Groups Links