Pinta 0.5 on Ubuntu 10.10 it was running perfectly well. But today I have started Ubuntu and then started Pinta and got the following error:
==================
(Pinta:2070): Gtk-WARNING **: Attempting to read the recently used resources file at `/home/grofaty/.recently-used.xbel', but the parser failed: Error reading file '/home/grofaty/.recently-used.xbel': Invalid argument.
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Pinta.Core.PintaCore ---> System.Xml.XmlException: invalid data.
at System.Xml.XmlStreamReader.Read (System.Char[] dest_buffer, Int32 index, Int32 count) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadTextReader (Int32 remained) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.PeekChar () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at Mono.Xml.EntityResolvingXmlReader.Read () [0x00000] in <filename unknown>:0
at Mono.Xml.DTDValidatingReader.ReadContent () [0x00000] in <filename unknown>:0
at Mono.Xml.DTDValidatingReader.Read () [0x00000] in <filename unknown>:0
at Mono.Xml.Schema.XsdValidatingReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlValidatingReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.Load (System.String filename) [0x00000] in <filename unknown>:0
at Pinta.Core.SettingsManager.Deserialize (System.String filename) [0x00000] in <filename unknown>:0
at Pinta.Core.SettingsManager.LoadSettings () [0x00000] in <filename unknown>:0
at Pinta.Core.SettingsManager..ctor () [0x00000] in <filename unknown>:0
at Pinta.Core.PintaCore..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Pinta.MainWindow.CreateWindow () [0x00000] in <filename unknown>:0
at Pinta.MainWindow..ctor () [0x00000] in <filename unknown>:0
at Pinta.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
==================
It looks like some init file has become corrupted.
Guarded loading the settings file in https:/ /github. com/jpobst/ Pinta/commit/ da7fdd510ea308f 49efabbe7bede06 8cd5e71630.
Thanks for the report!