Alberto Bonis
Member
I get this error message trying to open 2 different projects. A third project from the same serie got converted fine.
The ui.log file give me those results
How can I check if there are actually duplicate items?
On a post on Reddit someone suggested to use YY-Reunion, but said tool didn't find any problem.
Do you have any suggestion?
Thank you
macOS Catalina 10.15.6
IDE Version 2.3.0.529
The ui.log file give me those results
[00:08:22:646(752b)] Setting ProjectFullFilePathMacro to '/Volumes/Dati/Documents/Lavoro/LET Fun/Action Theatre/Giochi/Dinosaur Detective/Dinosaur Detective/Dinosaur Detective.yyp'
[00:08:22:646(752b)] Setting ProjectDirMacro to '/Volumes/Dati/Documents/Lavoro/LET Fun/Action Theatre/Giochi/Dinosaur Detective/Dinosaur Detective'
[00:08:22:648(752b)] Setting ProjectNameMacro to 'Dinosaur Detective'
[00:08:22:670(752b)] Loading project '/Volumes/Dati/Documents/Lavoro/LET Fun/Action Theatre/Giochi/Dinosaur Detective/Dinosaur Detective/Dinosaur Detective.yyp'
[00:08:23:747(752b)] Load project took 00:00:01.0708871
[00:08:27:622(752b)] ####################################
[00:08:27:622(752b)] Break in PrintException (YYDebug:57)
[00:08:27:628(752b)] Reason: Exception - Project Conversion Exception
[00:08:27:628(752b)] ####################################
[00:08:27:629(752b)] Project Conversion Exception: System.ArgumentException: An item with the same key has already been added. Key: 86d3b25a-114f-49b4-b960-8bc8bffb8f45
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <ab04ed2808f745289a3666eaaadaf8fd>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <ab04ed2808f745289a3666eaaadaf8fd>:0
at YoYoStudio.Resources.ProjectConversion.ConvertDnDApplyTos (System.String _funcName, System.String _srcFile, System.String _destPath) [0x000cd] in <3b402d1f1c1849989c127586cf727fee>:0
at YoYoStudio.Resources.ProjectConversion.ConvertResource (System.Guid id, YoYoStudio.Resources.GMProject _project) [0x01ee5] in <3b402d1f1c1849989c127586cf727fee>:0
at YoYoStudio.Resources.ProjectConversion.CheckAndFindReference (System.Guid _id, YoYoStudio.Resources.GMProject _project, System.Boolean _addToProject) [0x00103] in <3b402d1f1c1849989c127586cf727fee>:0
at YoYoStudio.Resources.ProjectConversion.ConvertDnDApplyTos (System.String _funcName, System.String _srcFile, System.String _destPath) [0x000ab] in <3b402d1f1c1849989c127586cf727fee>:0
at YoYoStudio.Resources.ProjectConversion.ConvertResource (System.Guid id, YoYoStudio.Resources.GMProject _project) [0x03a4e] in <3b402d1f1c1849989c127586cf727fee>:0
at YoYoStudio.Resources.ProjectConversion.Update (System.Boolean _openProject, YoYoStudio.Resources.ProjectConversion+ConversionCallback _cb) [0x00116] in <3b402d1f1c1849989c127586cf727fee>:0 [Update, /Users/Shared/Jenkins/Home/ZeusBase/ZeusGreen/YoYoStudio/IDE/Core/IDE/Resources/Management/ProjectConversion.cs, 380]
[00:08:27:662(752b)] Saving project layout to: /Users/Alberto/.config/GameMakerStudio2/alberto.bonis_2484639/Layouts/Dinosaur Detective/Dinosaur Detective/cf575075-2cf1-4605-9482-9894ba3557ae.xml
[00:08:27:696(752b)] ResourceManager resources have been cleared
[00:08:27:736(752b)] ResourceManager resources have been cleared
I searched the original .yyp files and I found one single reference to said items, both on "Key" value and filenames.[00:25:18:406(2e99)] Setting ProjectFullFilePathMacro to '/Volumes/Dati/Documents/Lavoro/LET Fun/Action Theatre/Giochi/Hello Hello/Hello Hello/Hello Hello.yyp'
[00:25:18:406(2e99)] Setting ProjectDirMacro to '/Volumes/Dati/Documents/Lavoro/LET Fun/Action Theatre/Giochi/Hello Hello/Hello Hello'
[00:25:18:408(2e99)] Setting ProjectNameMacro to 'Hello Hello'
[00:25:18:421(2e99)] Loading project '/Volumes/Dati/Documents/Lavoro/LET Fun/Action Theatre/Giochi/Hello Hello/Hello Hello/Hello Hello.yyp'
[00:25:19:858(2e99)] Load project took 00:00:01.4342889
[00:25:22:338(2e99)] ####################################
[00:25:22:338(2e99)] Break in PrintException (YYDebug:57)
[00:25:22:339(2e99)] Reason: Exception - Project Conversion Exception
[00:25:22:339(2e99)] ####################################
[00:25:22:340(2e99)] Project Conversion Exception: System.ArgumentException: An item with the same key has already been added. Key: d9d3fcad-50d5-4724-8df8-04e1b5adf598
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <ab04ed2808f745289a3666eaaadaf8fd>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <ab04ed2808f745289a3666eaaadaf8fd>:0
at YoYoStudio.Resources.ProjectConversion.ConvertDnDApplyTos (System.String _funcName, System.String _srcFile, System.String _destPath) [0x000cd] in <3b402d1f1c1849989c127586cf727fee>:0
at YoYoStudio.Resources.ProjectConversion.ConvertResource (System.Guid id, YoYoStudio.Resources.GMProject _project) [0x03a4e] in <3b402d1f1c1849989c127586cf727fee>:0
at YoYoStudio.Resources.ProjectConversion.Update (System.Boolean _openProject, YoYoStudio.Resources.ProjectConversion+ConversionCallback _cb) [0x00116] in <3b402d1f1c1849989c127586cf727fee>:0 [Update, /Users/Shared/Jenkins/Home/ZeusBase/ZeusGreen/YoYoStudio/IDE/Core/IDE/Resources/Management/ProjectConversion.cs, 380]
[00:25:22:365(2e99)] Saving project layout to: /Users/Alberto/.config/GameMakerStudio2/alberto.bonis_2484639/Layouts/Hello Hello/Hello Hello/d095ba56-7806-4c86-928c-378fa94f71c3.xml
[00:25:22:398(2e99)] ResourceManager resources have been cleared
[00:25:22:435(2e99)] ResourceManager resources have been cleared
How can I check if there are actually duplicate items?
On a post on Reddit someone suggested to use YY-Reunion, but said tool didn't find any problem.
Do you have any suggestion?
Thank you
macOS Catalina 10.15.6
IDE Version 2.3.0.529