Comment 5 for bug 781421

Revision history for this message
Robert Nordan (rpvn) wrote :

Marek, Rob (sorry about the lateness btw): Do you have Pinta installed in any special non-standard location? Did you perhaps install Pinta as a non-administrator user?

Technical details: I did some digging into the disassembly for gdk-sharp, and it seems the ArgumentException error originates in Gdk.PixBufLoader.InitFromAssemblyResource, which is called from Gdk.PixBuf.LoadFromResource, which we call from ResourceManager.GetIcon and DockItemContainer (). The error seems to occur when a System.IO.Stream is unable to read, so I'd say this has to do with filesystem permissions when trying to read icon files embedded in the Resource assembly. However, all the places we call to LoadFromResource are surrounded by try/catch blocks so I don't understand why this gets to crash the program. (!?)