Posted: Mon 19 Nov 2012 4:10 am
lmao...IV/JG7_4Shades wrote:The Devill made me do it.
An Open Source community for historical flight simulation.
https://seowhq.net/seowforum/
lmao...IV/JG7_4Shades wrote:The Devill made me do it.
Code: Select all
SEDCS::modDB.executeDBCommand: failed SQL ... INSERT INTO MissionData (Mission_Name,Duration,Mis_Time,Host,Theatre,Map,Mis_Date,Mis_Commencement) VALUES ('SE-Market Garden-194409162300.mis',0,23,'Emil', 'Market Garden', 'West Front 44', '17 Sep 1944', 'not hosted')
Error : -2147217900
Description : [MySQL][ODBC 3.51 Driver][mysqld-5.5.16]Duplicate entry 'SE-Market Garden-194409162300.mis' for key 'Statics'
Code: Select all
SEDCS::modDB.executeDBCommand: failed SQL ... INSERT INTO MissionData (Mission_Name,Duration,Mis_Time,Host,Theatre,Map,Mis_Date,Mis_Commencement) VALUES ('SE-Market Garden-194409162300.mis',0,23,'Emil', 'Market Garden', 'West Front 44', '17 Sep 1944', 'not hosted')
Error : -2147217900
Description : [MySQL][ODBC 3.51 Driver][mysqld-5.5.16]Duplicate entry 'SE-Market Garden-194409162300.mis' for key 'Statics'
SEDCS::modMissionAnalyzer.isCombinedUnit: 5 Key cannot be null.
Parameter name: key
Error : 5
Description : Key cannot be null.
Parameter name: key
SEDCS::modDB.executeDBCommand: failed SQL ... INSERT INTO MissionData (Mission_Name,Duration,Mis_Time,Host,Theatre,Map,Mis_Date,Mis_Commencement) VALUES ('SE-Market Garden-194409162300.mis',0,23,'Emil', 'Market Garden', 'West Front 44', '17 Sep 1944', 'not hosted')
Error : -2147217900
Description : [MySQL][ODBC 3.51 Driver][mysqld-5.5.16]Duplicate entry 'SE-Market Garden-194409162300.mis' for key 'Statics'
SEDCS::modMissionAnalyzer.isCombinedUnit: 5 Key cannot be null.
Parameter name: key
Error : 5
Description : Key cannot be null.
Parameter name: key
SEDCS::modMissionAnalyzer.isCombinedUnit: 5 Key cannot be null.
Parameter name: key
Error : 5
Description : Key cannot be null.
Parameter name: key
SEDCS::modMissionAnalyzer.isCombinedUnit: 5 Key cannot be null.
Parameter name: key
Error : 5
Description : Key cannot be null.
Parameter name: key
SEDCS::modDB.executeDBCommand: failed SQL ... INSERT INTO MissionData (Mission_Name,Duration,Mis_Time,Host,Theatre,Map,Mis_Date,Mis_Commencement) VALUES ('SE-Market Garden-194409162300.mis',0,23,'Emil', 'Market Garden', 'West Front 44', '17 Sep 1944', 'not hosted')
Error : -2147217900
Description : [MySQL][ODBC 3.51 Driver][mysqld-5.5.16]Duplicate entry 'SE-Market Garden-194409162300.mis' for key 'Statics'
SEDCS::modMissionAnalyzer.isCombinedUnit: 5 Key cannot be null.
Parameter name: key
Error : 5
Description : Key cannot be null.
Parameter name: key
SEDCS::modMissionAnalyzer.isCombinedUnit: 5 Key cannot be null.
Parameter name: key
Error : 5
Description : Key cannot be null.
Parameter name: key
SEDCS::modMissionAnalyzer.isCombinedUnit: 5 Key cannot be null.
Parameter name: key
Error : 5
Description : Key cannot be null.
Parameter name: key
SEDCS::modMissionAnalyzer.isCombinedUnit: 5 Key cannot be null.
Parameter name: key
Error : 5
Description : Key cannot be null.
Parameter name: key
.....
Hm, I wonder how that is possible?IV/JG7_4Shades wrote:Emil,
You are attempting analyze the same mission twice. The DCS is trying to write a record into a table that already exists there, hence the error message.
Cheers,
4Shades
Code: Select all
SEDCS::modMissionAnalyzer.subLoadUnitHashtable: duplicate hashkey for 116. Panzer-Aufklarung-Abteilung032
Yes!If I would have tried to analaize a second time after the first time failed, should that cause double entries in the database?
Code: Select all
UPDATE Sector_Seasons SET Winter_Map='Stgrad/sload.ini' WHERE Campaign_Sector='Stalingrad';
Code: Select all
insert into `Army_Units`(`Country`,`Division_Name`,`Division_Type`,`Alignment`,`Country_ID`,`Campaign_Sector`) values ('Germany','169_Coastal_Art','A','Axis','null','Barents Sea'),('Germany','40_Panzer_Abteilung','T','Axis','null','Barents Sea'),('Finland','Jalkavaki_Kompannia','T','Axis','fi','Barents Sea'),('Germany','SS_Nord','V','Axis','null','Barents Sea'),('Russia','104_Infantry','V','Allied','ru','Barents Sea'),('Russia','122_Infantry','V','Allied','ru','Barents Sea'),('Russia','169_Artillery','A','Allied','ru','Barents Sea'),('Russia','71_Guards_Artillery','A','Allied','ru','Barents Sea'),('Germany','112_Gebirgs_Art_Regmt','A','Axis','null','Barents Sea'),('Germany','7_Gebirgs_Art_Regmt','A','Axis','null','Barents Sea'),('Germany','31_AA_Div','A','Axis','null','Barents Sea'),('Germany','211_Panzer_Abteilung','T','Axis','null','Barents Sea'),('Russia','5_Art_2_Regmt','A','Allied','ru','Barents Sea'),('Russia','5_Art_Div','A','Allied','ru','Barents Sea'),('Finland','44_Jalkavaki','V','Axis','fi','Barents Sea'),('Russia','52_Rifle','V','Allied','ru','Barents Sea'),('Russia','5_Art_1_Regmt','A','Allied','ru','Barents Sea'),('Russia','104_Rsv_Hwtz_Regmt','A','Allied','ru','Barents Sea'),('Russia','1_Tank_Brigade','T','Allied','ru','Barents Sea'),('Russia','14_Rifle','V','Allied','ru','Barents Sea'),('Russia','10_Guard_Rifle','V','Allied','ru','Barents Sea'),('Russia','111_Rifle','V','Allied','ru','Barents Sea'),('Russia','14A_Guard_Mortar','A','Allied','ru','Barents Sea'),('Germany','7_Gebirgs_Infantry_Regmt','V','Axis','null','Barents Sea'),('Germany','6_Gebirgs_Infantry_Regmt','V','Axis','null','Barents Sea'),('Germany','2_Gebirgs_Infantry_Regmt','V','Axis','null','Barents Sea'),('Germany','210_Infantry_Div','V','Axis','null','Barents Sea'),('Germany','509_Pioneer_Abteilung','E','Axis','null','Barents Sea'),(Russia,'20_Support_Engineer_Rgt','E','Allied','ru','Barents Sea');