MacTee / KSP-Mod-Admin-aOS

A tool to manage the installation, removal and update of mods for the game Kerbal Space Program. ---------> Use the dev branch for further development!!!
29 stars 9 forks source link

mod list not working #154

Open neotje opened 7 years ago

neotje commented 7 years ago

when I start ksp Mod Admin I get this error: (some of the text is in dutch) Error.txt

And I see this:

what i see in the program

MacTee commented 7 years ago

Thanks for the report! Unfortunatly i can't reproduce this problem on my side. Some other useres have reported that bug already, but till now we wheren't able to track it down.

MacTee commented 7 years ago

I was able to reproduce that error finaly. Unfortunatly i have no idea how to fix it =(

Quick note: The problem lies in the Icon assignment during ModNode creation. When the NodeType is set (ModNode.NodeType line 36) for some reason the embeded resource which is given to the property setter of the Icon property (lines 46, 50, 53, 56) gets broke during the set process (the value within the Icon setter throws Argumentexceptions)

Easy way to get to the problem:

Further investigation needed ...