Error Translation

TBBW

Chieftain
Joined
Aug 18, 2012
Messages
28
According to other posts here, the error I'm getting should mean I've got a non-unique Tag and/or Type somewhere, but for the life of me I can't find it since the Type to which it refers is definitely not in the base game.

I'm hoping one of you can spot the error or help me locate it.

Code:
[383592.933] constraint failed
[383592.933] While executing - 'insert into Civilizations('Type', 'Description', 'ShortDescription', 'Adjective', 'Civilopedia', 'CivilopediaTag', 'DefaultPlayerColor', 'ArtDefineTag', 'ArtStyleType', 'PortraitIndex', 'IconAtlas', 'AlphaIconAtlas', 'ArtStyleSuffix', 'ArtStylePrefix', 'MapImage', 'DawnOfManQuote', 'DawnOfManImage', 'DawnOfManAudio') values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'
[383592.933] In XMLSerializer while inserting row into table insert into Civilizations('Type', 'Description', 'ShortDescription', 'Adjective', 'Civilopedia', 'CivilopediaTag', 'DefaultPlayerColor', 'ArtDefineTag', 'ArtStyleType', 'PortraitIndex', 'IconAtlas', 'AlphaIconAtlas', 'ArtStyleSuffix', 'ArtStylePrefix', 'MapImage', 'DawnOfManQuote', 'DawnOfManImage', 'DawnOfManAudio') with  values (CIVILIZATION_DARKTRIBE, TXT_KEY_CIV_DARKTRIBE_DESC, TXT_KEY_CIV_DARKTRIBE_SHORT_DESC, TXT_KEY_CIV_DARKTRIBE_ADJECTIVE, TXT_KEY_CIV_DARKTRIBE_PEDIA, TXT_KEY_CIV5_DARKTRIBE, PLAYERCOLOR_BLACK, ART_DEF_CIVILIZATION_ENGLAND, ARTSTYLE_EUROPEAN, 1, CIV_COLOR_ATLAS_LEGENDS, CIV_ALPHA_ATLAS, _EURO, EUROPEAN, MapEngland512.dds, TXT_KEY_CIV5_DARKTRIBE_TEXT_1, DOM_Morbus.dds, , ).
[383592.933] In XMLSerializer while updating table Civilizations from file XML/Civilizations/Civ_DarkTribe.xml.
[383592.933] column Type is not unique
[383592.933] constraint failed
[383592.933] While executing - 'insert into Leaders('Type', 'Description', 'Civilopedia', 'CivilopediaTag', 'ArtDefineTag', 'VictoryCompetitiveness', 'WonderCompetitiveness', 'MinorCivCompetitiveness', 'Boldness', 'DiploBalance', 'WarmongerHate', 'WorkAgainstWillingness', 'WorkWithWillingness', 'PortraitIndex', 'IconAtlas') values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'
[383592.933] In XMLSerializer while inserting row into table insert into Leaders('Type', 'Description', 'Civilopedia', 'CivilopediaTag', 'ArtDefineTag', 'VictoryCompetitiveness', 'WonderCompetitiveness', 'MinorCivCompetitiveness', 'Boldness', 'DiploBalance', 'WarmongerHate', 'WorkAgainstWillingness', 'WorkWithWillingness', 'PortraitIndex', 'IconAtlas') with  values (LEADER_MORBUS, TXT_KEY_LEADER_MORBUS, TXT_KEY_LEADER_MORBUS_PEDIA, TXT_KEY_CIVILOPEDIA_LEADERS_MORBUS, Elizabeth_Scene.xml, 8, 7, 3, 8, 3, 2, 7, 4, 0, CIV_COLOR_ATLAS_LEGENDS, ).
[383592.933] In XMLSerializer while updating table Leaders from file XML/Leaders/CIV5Leader_Morbus.xml.
[383592.933] column Type is not unique
[383592.933] constraint failed
[383592.933] While executing - 'insert into Language_en_US('Tag', 'Text') values (?, ?);'
[383592.933] In XMLSerializer while inserting row into table insert into Language_en_US('Tag', 'Text') with  values (TXT_KEY_CITY_NAME_FUNGUSVILLE, Fungusville, ).
[383592.933] In XMLSerializer while updating table Language_en_US from file XML/New Text/GameText.xml.
[383592.933] columns Language, Tag are not unique

I think it's saying that...
Code:
	<Civilizations>
		<Row>
			<Type>CIVILIZATION_DARKTRIBE</Type>
		</Row>
	</Civilizations>

	<Leaders>
		<Row>
			<Type>LEADER_MORBUS</Type>
		</Row>
	</Leaders>

	<Language_en_US>
		<Row Tag="TXT_KEY_CITY_NAME_FUNGUSVILLE">
			<Text>Fungusville</Text>
		</Row>
	</Language_en_US>
...are not unique. But as I said, I know they're not in the base game.
 
Use a file search utility to see if there are any matches.

Only other thing I can think of is that you have these elsewhere in your mod.

Did you set VFS true "and" add it to actions property, both. Maybe it is running the file twice.

Just checked the latter, definitely not VFS true. Only set up under Actions as an UpdateDatabase.

Hrm! ...

What seems to have cleared it up (for now) is removing all other versions of the MOD from the MODS folder. No clue why, v16 through v21 were different folders and never run simultaneously.
 
Back
Top Bottom