• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

AutogenConfigurationMerger Error

Messages
26
Country
france
Hello,

I would like to merge the autogen of ORBX with that of France VFR.

AutogenConfigurationMerger.log Finds an Error

09:23:43 | Trying to scan add-on.xml files from C:\Users\Roujansky\Documents\Prepar3D v4 Add-ons
09:23:45 | Error! Stopping...
09:23:45 | La balise de début 'AddOn.Name' sur la ligne 3 à la position 4 ne correspond pas à la balise de fin de 'SimBase.Document'. Ligne 25, position 3.
The start tag 'AddOn.Name' on line 3 at position 4 does not match the end tag of 'SimBase.Document'. Line 25, position 3.
09:23:45 | à System.Xml.XmlTextReaderImpl.Throw(Exception e)
à System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
à System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
à System.Xml.XmlTextReaderImpl.ParseEndElement()
à System.Xml.XmlTextReaderImpl.ParseElementContent()
à System.Xml.XmlTextReaderImpl.Read()
à System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
à System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
à System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
à System.Xml.XmlDocument.Load(XmlReader reader)
à System.Xml.XmlDocument.Load(String filename)
à ASToFra.AutogenConfigurationMerger.AddOnXml.ScanXMLFiles(String folder)
à ASToFra.AutogenConfigurationMerger.AddOnXml..ctor(FSVersion fsVersion, String path)
à ASToFra.AutogenConfigurationMerger.AutogenConfigurationMerger..ctor(String[] args)

Could you help me solve it ?

Regards,
Marc
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
31,530
Country
netherlands
Sounds like one add-on.xml file is not valid xml. Can you see in the log which file is read last?
 
Messages
26
Country
france
Hello Arno,

Here is the AutogenConfigurationMerger.log

09:23:37 | AutogenConfigurationMerger version 1.1.6531.37127 rev cab4a053 date 18/11/2017 20:34:49
09:23:37 | No FS version specified, using current directory as FS path: I:\Program Files\Lockheed Martin\Prepar3D v4
09:23:37 | Prepar3D v4 found as version
09:23:37 | FSPath: I:\Program Files\Lockheed Martin\Prepar3D v4
09:23:37 | >> Found config: I:\Program Files\Lockheed Martin\Prepar3D v4\Autogen\Materials.spb
09:23:37 | >> Found config: I:\Program Files\Lockheed Martin\Prepar3D v4\Autogen\RoofDescriptions.spb
09:23:37 | >> Found config: I:\Program Files\Lockheed Martin\Prepar3D v4\Autogen\Extrusions.spb
09:23:37 | >> Found config: I:\Program Files\Lockheed Martin\Prepar3D v4\Autogen\AutogenDescriptions.spb
09:23:37 | >> Found config: I:\Program Files\Lockheed Martin\Prepar3D v4\Autogen\AutogenDescriptions_Legacy.spb
09:23:37 | >> Found config: I:\Program Files\Lockheed Martin\Prepar3D v4\Autogen\TerrainAutogenClassDescriptions.spb
09:23:37 | >> Found config: I:\Program Files\Lockheed Martin\Prepar3D v4\autogen\default.xml
09:23:37 | FSVersion: Prepar3D v4
09:23:37 | Scenery.cfg: C:\ProgramData\Lockheed Martin\Prepar3D v4\scenery.cfg
09:23:38 | Processing scenery area: I:\Program Files\Lockheed Martin\Prepar3D v4\scenery\world
09:23:38 | Processing scenery area: d:\p3d v3.4.9_externes\scenery\add world-terrain
09:23:38 | Processing scenery area: d:\p3d v4_externes\scenery\add world
09:23:38 | Processing scenery area: d:\p3d v4_externes\scenery\add global

09:23:43 | Processing scenery area: d:\addon scenery\asturias - picos de europa
09:23:43 | Processing scenery area: d:\addon scenery\allied ww ii airfields china burma india cbix
09:23:43 | Processing scenery area: d:\addon scenery\cathedrale strasbourg jlp
09:23:43 | Trying to scan add-on.xml files from C:\Users\Roujansky\Documents\Prepar3D v4 Add-ons
09:23:45 | Error! Stopping...
09:23:45 | La balise de début 'AddOn.Name' sur la ligne 3 à la position 4 ne correspond pas à la balise de fin de 'SimBase.Document'. Ligne 25, position 3.
09:23:45 | à System.Xml.XmlTextReaderImpl.Throw(Exception e)
à System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
à System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
à System.Xml.XmlTextReaderImpl.ParseEndElement()
à System.Xml.XmlTextReaderImpl.ParseElementContent()
à System.Xml.XmlTextReaderImpl.Read()
à System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
à System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
à System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
à System.Xml.XmlDocument.Load(XmlReader reader)
à System.Xml.XmlDocument.Load(String filename)
à ASToFra.AutogenConfigurationMerger.AddOnXml.ScanXMLFiles(String folder)
à ASToFra.AutogenConfigurationMerger.AddOnXml..ctor(FSVersion fsVersion, String path)
à ASToFra.AutogenConfigurationMerger.AutogenConfigurationMerger..ctor(String[] args)


I had to cut in the log, because too long and I can not publish.

Regards,
Marc
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
31,530
Country
netherlands
Hi,

The log does not show which xml file has the problem. I should probably add another log message for that. Do you have many add-on.xml files in that folder?
 
Messages
26
Country
france
Hooray! I managed to run AutogenConfigurationMerger!
I removed the other 19 add-on.xml in Prepar3D v4 add-ons.
AutogenConfigurationMerger has correctly worked: 1 °) Backup of the 11 files of Autogen Folder 2 °) Release of new 11 files.
As the files are not good, I have to redo the manip - but AutogenConfigurationMerger works! CQFD!
 
Top