October 20, 2017, 09:53:53 PM

Author Topic: meaning of errors in the log  (Read 1408 times)

Kaiaphas

  • Newbie
  • *
  • Posts: 10
    • View Profile
meaning of errors in the log
« on: November 26, 2015, 07:14:28 AM »
Hello,
I'm super new into modding and and I'm fighting with a lot a errors that I don't understand, and I don't know where to search to repair my mistakes. Could someone please help me to understand the meaning of them please ? The errors are in french for me, I'll translate then in english as good as I can.

Unexpected XML declaration. XML declaration must be the first node of the file and no empty space must be placed before. Line 2 , position 3
How do I know which file ?

thanks for any help


////////////////////////////////////////////////////////////////
    Date: 26/11/2015 13:16:16
Assembly: Gnomoria.exe
 Version: 1.0.0.0
   World: world04
 Message: Dclaration XML inattendue. La dclaration XML doit tre le premier noeud du document et aucun espace blanc ne doit tre plac avant. Ligne 2, position 3.
////////////////////////////////////////////////////////////////
    System.Xml.XmlTextReaderImpl.Throw(Exception e)
    System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
    System.Xml.XmlTextReaderImpl.ParsePI(StringBuilder piInDtdStringBuilder)
    System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    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)
    Game.GameDefs.c4db1e724a9fcd5d73700657f83b57a02(String c49e969eddb43ec2e8cf5a17896154d9d)
    Game.GameDefs.cfeaff5e7609339a9e959159a87cc0ce3()
    Game.GameDefs.ReadDefs(Boolean packTexture)
    Game.GnomanEmpire.StartNewGame(CreateWorldOptions worldOptions)
    Game.GUI.AdvancedSetupWindow.cb8409edc08f941f6f4f49290f07bd403(Object c06a12f9330e57ac1143c202efc8a62a4, EventArgs c3abacd0606a3ff37da3197e93bd34315)
    Game.GUI.Controls.Control.OnClick(EventArgs e)
    Game.GUI.Controls.ButtonBase.OnClick(EventArgs e)
    Game.GUI.Controls.Button.OnClick(EventArgs e)
    Game.GUI.Controls.Control.cb3d2d3a500ab8084674eaf834903cea3(EventArgs c8482cd208d0dc03f97c0bb70b52dd1d3)
    Game.GUI.Controls.Control.MessageProcess(Message message, EventArgs e)
    Game.GUI.Controls.Control.SendMessage(Message message, EventArgs e)
    Game.GUI.Controls.Manager.cb809110bb9cd3bcd7a16d943448b835e(Object c06a12f9330e57ac1143c202efc8a62a4, MouseEventArgs c8482cd208d0dc03f97c0bb70b52dd1d3)
    Game.GUI.Controls.InputSystem.c483c73264c5228a80c8100a185c15bb1(MouseState cb69a88ff952830ca789709e8f0a24524, GameTime c1811d3fd0a79a51ec86e55f16b03a2a2)
    Game.GUI.Controls.InputSystem.c62aa04977886846ee79ac1f192ef16a6(MouseState cb69a88ff952830ca789709e8f0a24524, GameTime c1811d3fd0a79a51ec86e55f16b03a2a2)
    Game.GUI.Controls.InputSystem.Update(GameTime gameTime)
    Game.GUI.Controls.Manager.Update(GameTime gameTime)
    Game.GUI.GuiManager.Update(GameTime gameTime)
    Game.GnomanEmpire.Update(GameTime gameTime)
    Microsoft.Xna.Framework.Game.Tick()
    Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
    Microsoft.Xna.Framework.GameHost.OnIdle()
    Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
    Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
    System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
    System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    System.Windows.Forms.Application.Run(Form mainForm)
    Microsoft.Xna.Framework.WindowsGameHost.Run()
    Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
    A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

« Last Edit: November 26, 2015, 07:18:01 AM by Kaiaphas »

Tacyn

  • Full Member
  • ***
  • Posts: 224
    • View Profile
Re: meaning of errors in the log
« Reply #1 on: November 26, 2015, 08:47:00 AM »
There should be a log file in the mod folder you are using, that lists the xml that are being loaded.
The last one should of course be the culprit.

Kaiaphas

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: meaning of errors in the log
« Reply #2 on: November 26, 2015, 09:52:48 AM »
I've seen that with other mods, but mine doesn't have it :-\
what did I miss ?