|
|
|
Re: XML Editor Bug Reports[message #334703]
|
Wed, 30 July 2014 17:43
|
|
waSchtl |
|
Messages:93
Registered:February 2007 Location: Bavaria, Germany |
|
|
I have the same problem with both version (English and German) from the first post of this thread - 2014 Stable Unofficial Release Candidate 20140727!
2014 Stabel Unofficial Release Candidate 2014
******************************
30.07.2014 16:39:05 - Event Logging Started
XML Editor Version: 0.103.2.162
User Name:
Computer Name: xxxxxxx
Network Connection: True
Operating System: Microsoft Windows XP Professional
******************************
7/30/2014 4:44:33 PM - Memory: 35,958,968 - Error:
Source: mscorlib
Base Error Type: System.FormatException
Message: Input string was not in a correct format.
Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Data.Common.Int32Storage.ConvertXmlToObject(String s)
at System.Data.XmlDataLoader.LoadColumn(DataColumn column, Object[] foundColumns)
at System.Data.XmlDataLoader.LoadTable(DataTable table, Boolean isNested)
at System.Data.XmlDataLoader.LoadData(XmlReader reader)
at System.Data.DataTable.ReadXml(XmlReader reader, Boolean denyResolving)
at System.Data.DataTable.ReadXml(String fileName)
at BackEnd.DefaultTable.LoadData()
at BackEnd.XmlDB.LoadData(DataTable table)
at BackEnd.XmlDB.LoadAllData()
at BackEnd.DataManager.LoadData()
at GUI.Main.Main()
Target Site: StringToNumber
Available Physical Memory: 1778495488
Available Virtual Memory: 1822089216
[Updated on: Wed, 30 July 2014 17:45] by Moderator Report message to a moderator
|
Corporal 1st Class
|
|
|
Re: XML Editor Bug Reports[message #334705]
|
Wed, 30 July 2014 20:26
|
|
JMich |
|
Messages:546
Registered:January 2011 Location: Greece |
|
|
KovacsThis xml is not altered and from the latest svn download. The folder XmlWorkingData was deleted ahead of the first start of the new xml editor. Installed Mod is the today svn version of 1.13.
Hope someone can help?
DocSchuhI have the same problem with both version (English and German) from the first post of this thread - 2014 Stable Unofficial Release Candidate 20140727!
XML data is incorrect. There is most likely a 1.0 instead of 1, which throws the parser off. Remove the .0 part and the editor should work.
If this is not the case, upload the offending xml file somewhere and I'll take a look at it.
Edit: Line 608, replace with Same thing with Gun_Choices_Militia_Green.xml
[Updated on: Wed, 30 July 2014 20:37] by Moderator Report message to a moderator
|
First Sergeant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: XML Editor Bug Reports[message #334786]
|
Mon, 04 August 2014 21:50
|
|
Kovacs2014 |
|
Messages:8
Registered:July 2014 Location: Germany |
|
|
DocSchuhThe German Item-Description is not in XML-Editor.
What I must in the file XMLEditorInit.xml under register, that they are displayed in Editor please? I have no Idea ...
Well if I remember correct you need a file first called German.Items.xml which should be placed in the folder your mod\TableData\Items\
unfortunately I have only an old file (from 2009 something) and didn't find it on the svn anymore
The xml syntax was:
I just tested the old file but it didn't work anymore ... sorry maybe someone else can tell you more ... you definitely need language specific files first, which are not in the svn download at the moment ...
[Updated on: Mon, 04 August 2014 21:52] by Moderator Report message to a moderator
|
Private
|
|
|
|
|
|
|
|
|
Re: XML Editor Bug Reports[message #336544]
|
Fri, 10 October 2014 14:39
|
|
Toma777 |
|
Messages:55
Registered:October 2013 Location: serbia |
|
|
I tried to edit some files and now when I start editor i get the following message:
Error:
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
After I press OK this appear
Details:
File: Items\Items.xml
ForeignKeyConstraint Constraint5 requires the child key values (2092) to exist in the parent table.
ForeignKeyConstraint Constraint5 requires the child key values (2093) to exist in the parent table.
ForeignKeyConstraint Constraint5 requires the child key values (2094) to exist in the parent table.
ForeignKeyConstraint Constraint5 requires the child key values
(2095) to exist in the parent table.
ForeignKeyConstraint Constraint5 requires the child key values (2096) to exist in the parent table.
ForeignKeyConstraint Constraint5 requires the child key values (2097) to exist in the parent table.
ForeignKeyConstraint Constraint5 requires the child key values (2098) to exist in the parent table.
ForeignKeyConstraint Constraint5 requires the child key values (2099) to exist in the parent table.
ForeignKeyConstraint Constraint5 requires the child key values (2100) to exist in the parent table.
ForeignKeyConstraint Constraint5 requires the child key values (2101) to exist in the parent table.
Its occurs when it came to Loading XML Files AmmoChoices.xm
[Updated on: Fri, 10 October 2014 18:48] by Moderator Report message to a moderator
|
Corporal
|
|
|
|
|
Re: XML Editor Bug Reports[message #336564]
|
Sat, 11 October 2014 09:11
|
|
Toma777 |
|
Messages:55
Registered:October 2013 Location: serbia |
|
|
Thanks for advice, I manually changed some values using wordpad which seems to have added some random items at the end of the item list, from now I only use notepad ++ for manual edit.
[Updated on: Sat, 11 October 2014 09:11] by Moderator Report message to a moderator
|
Corporal
|
|
|
|
|
Re: XML Editor Bug Reports[message #337441]
|
Sat, 01 November 2014 14:29
|
|
Hawkeye |
|
Messages:2416
Registered:October 2005 Location: Australia |
|
|
******************************
1/11/2014 6:38:20 PM - Event Logging Started
XML Editor Version: 0.105.1.164
User Name:
Computer Name: MYPC
Network Connection: True
Operating System: Microsoft Windows 7 Home Premium
******************************
11/1/2014 6:38:59 PM - Memory: 51,793,008 - Error:
Source: mscorlib
Base Error Type: System.FormatException
Message: Input string was not in a correct format.
Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Data.Common.Int32Storage.ConvertXmlToObject(String s)
at System.Data.XmlDataLoader.LoadColumn(DataColumn column, Object[] foundColumns)
at System.Data.XmlDataLoader.LoadTable(DataTable table, Boolean isNested)
at System.Data.XmlDataLoader.LoadData(XmlReader reader)
at System.Data.DataTable.ReadXml(XmlReader reader, Boolean denyResolving)
at System.Data.DataTable.ReadXml(String fileName)
at BackEnd.DefaultTable.LoadData()
at BackEnd.XmlDB.LoadData(DataTable table)
at BackEnd.XmlDB.LoadAllData()
at GUI.Main.Main()
Target Site: StringToNumber
Available Physical Memory: 1332154368
Available Virtual Memory: 8795317866496
Report message to a moderator
|
|
|
|
|
|
Re: XML Editor Bug Reports[message #337509]
|
Mon, 03 November 2014 08:34
|
|
JMich |
|
Messages:546
Registered:January 2011 Location: Greece |
|
|
HawkeyeI can't tell at the moment, as the XML editor won't actually get anywhere to indicate which file is causing the issue. The Editor splash screen should be showing what file it's currently reading, though the error message usually covers the splash screen. Buggler did send me a copy of the files, so I'll take a look at them.
Edit: GunChoices_Enemy_Admin.xml and GunChoices_Militia_Green.xml, in line 352 change to That should fix it.
[Updated on: Mon, 03 November 2014 08:42] by Moderator Report message to a moderator
|
First Sergeant
|
|
|
|
Re: XML Editor Bug Reports[message #337641]
|
Sun, 09 November 2014 08:57
|
|
Glitch |
|
Messages:64
Registered:April 2012 |
|
|
Hello,
On the latest unstable build (7623) I'm getting an error when firing up the XML editor. It seems to be related to the new feature, collapsing rooftop, but I can't figure out what to do to fix it. Any help would be appreciated.
Log here:
Toggle Spoiler
11/9/2014 8:46:19 AM - Memory: 44,297,512 - Error:
Source: System.Data
Base Error Type: System.Data.ConstraintException
Message: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
Stack Trace: at System.Data.DataSet.EnableConstraints()
at System.Data.DataSet.set_EnforceConstraints(Boolean value)
at BackEnd.XmlDB.EndInit()
Target Site: EnableConstraints
Available Physical Memory: 6197415936
Available Virtual Memory: 8795378929664
11/9/2014 8:46:21 AM - Memory: 44,322,088 - Details:
File: Items\Explosives.xml
ForeignKeyConstraint Constraint3 requires the child key values (12) to exist in the parent table.
Report message to a moderator
|
Corporal
|
|
|
|
|