Polls
Loading ...Recent Comments
- alex on MonoDevelop 4.0.6 + Mono 3.0.11 for Linux
- William Anthony on MonoDevelop 4.0.6 + Mono 3.0.11 for Linux
- alex on Debugging on Windows!
- Eko Wahyudin on Debugging on Windows!
- Vushu on Feedback
Categories
Resources

5 Comments
I always get the following error when opening a source-file: “The file ‘/home/xyz/…’ could not be opened. Error while loading style
efault” and the stacktrace prints the following lines:
System.IO.IOException: Error while loading style
efault —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus —> System.DllNotFoundException: /usr/local/lib/libgdiplus.so
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in :0
— End of inner exception stack trace —
at System.Drawing.KnownColors..cctor () [0x00000] in :0
— End of inner exception stack trace —
at System.Drawing.ColorConverter.StaticConvertFromString (ITypeDescriptorContext context, System.String s, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.Drawing.ColorConverter.ConvertFrom (ITypeDescriptorContext context, System.Globalization.CultureInfo culture, System.Object value) [0x00000] in :0
at System.ComponentModel.TypeConverter.ConvertFrom (System.Object o) [0x00000] in :0
at System.ComponentModel.TypeConverter.ConvertFromString (System.String text) [0x00000] in :0
at System.Drawing.ColorTranslator.FromHtml (System.String htmlColor) [0x00000] in :0
at Mono.TextEditor.Highlighting.ColorScheme.GetColorFromString (System.String colorString) [0x00000] in :0
at Mono.TextEditor.Highlighting.ColorScheme.SetChunkStyle (System.String name, System.String weight, System.String foreColor, System.String backColor) [0x00000] in :0
at Mono.TextEditor.Highlighting.ColorScheme.ReadStyleTree (System.Xml.XmlReader reader, Mono.TextEditor.Highlighting.ColorScheme result, System.String curName, System.String curWeight, System.String curColor, System.String curBgColor) [0x00000] in :0
at Mono.TextEditor.Highlighting.ColorScheme+c__DisplayClass5.b__4 () [0x00000] in :0
at Mono.TextEditor.Highlighting.XmlReadHelper+c__DisplayClass1.b__0 (Mono.TextEditor.Highlighting.ReadCallbackData data) [0x00000] in :0
at Mono.TextEditor.Highlighting.XmlReadHelper.ReadList (System.Xml.XmlReader reader, ICollection`1 endNodes, Mono.TextEditor.Highlighting.ReaderCallbackWithData callback) [0x00000] in :0
at Mono.TextEditor.Highlighting.XmlReadHelper.ReadList (System.Xml.XmlReader reader, ICollection`1 endNodes, Mono.TextEditor.Highlighting.ReaderCallback callback) [0x00000] in :0
at Mono.TextEditor.Highlighting.XmlReadHelper.ReadList (System.Xml.XmlReader reader, System.String endNode, Mono.TextEditor.Highlighting.ReaderCallback callback) [0x00000] in :0
at Mono.TextEditor.Highlighting.ColorScheme.LoadFrom (System.Xml.XmlReader reader) [0x00000] in :0
at Mono.TextEditor.Highlighting.SyntaxModeService.LoadStyle (System.String name) [0x00000] in :0
— End of inner exception stack trace —
at Mono.TextEditor.Highlighting.SyntaxModeService.LoadStyle (System.String name) [0x00000] in :0
at Mono.TextEditor.Highlighting.SyntaxModeService.GetColorStyle (System.String name) [0x00000] in :0
at Mono.TextEditor.TextEditorOptions.GetColorStyle () [0x00000] in :0
at MonoDevelop.SourceEditor.StyledSourceEditorOptions.GetColorStyle () [0x00000] in :0
at Mono.TextEditor.TextArea.OptionsChanged (System.Object sender, System.EventArgs args) [0x00000] in :0
at Mono.TextEditor.TextArea.set_Options (ITextEditorOptions value) [0x00000] in :0
at Mono.TextEditor.TextEditor.set_Options (ITextEditorOptions value) [0x00000] in :0
at MonoDevelop.SourceEditor.ExtensibleTextEditor..ctor (MonoDevelop.SourceEditor.SourceEditorView view) [0x00000] in :0
at MonoDevelop.SourceEditor.SourceEditorWidget..ctor (MonoDevelop.SourceEditor.SourceEditorView view) [0x00000] in :0
at MonoDevelop.SourceEditor.SourceEditorView..ctor () [0x00000] in :0
at MonoDevelop.SourceEditor.SourceEditorDisplayBinding.CreateContent (FilePath fileName, System.String mimeType, MonoDevelop.Projects.Project ownerProject) [0x00000] in :0
at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName) [0x00000] in :0
Alright, fixed by installing libgdiplus…
That was my recommendation, too
On ubuntu I don’t have application global menu…
It’s a bug..
https://bugs.launchpad.net/ubuntu/+source/exaile/+bug/906292