[Monodevelop-devel] Running MD on .NET
Jonathan Pobst
monkey at jpobst.com
Fri Feb 6 10:19:02 EST 2009
> 1) At startup, and when trying to load projects:
>
> ERROR [2009-02-06 03:06:42Z]: Add-in error (MonoDevelop.Projects):
> System.InvalidOperationException: Duplicate property 'name' in class 'MonoDevelo
> p.Projects.UnknownSolutionItem
> at MonoDevelop.Core.Serialization.ClassDataType.AddProperty(ItemProperty
> prop, String insertBefore)
> at MonoDevelop.Core.Serialization.ClassDataType.AddProperty(Object
> member, String name, Type memberType)
> at MonoDevelop.Core.Serialization.ClassDataType.Initialize()
> at MonoDevelop.Core.Serialization.DataContext.GetConfigurationDataType(Type
> type)
> at MonoDevelop.Core.Serialization.ClassDataType.Initialize()
> at MonoDevelop.Core.Serialization.DataContext.GetConfigurationDataType(Type
> type)
> at MonoDevelop.Core.Serialization.DataContext.IncludeType(Type type)
> at MonoDevelop.Projects.ProjectService.OnSerializableExtensionChanged(Objects,
> ExtensionNodeEventArgs args)
> at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged(ExtensionNodeEventHandler
> value)
> System.TypeLoadException: Could not load type 'Gdk.ExtensionMode,gdk-sharp'
> at Stetic.Registry.GetType(String typeName, Boolean throwOnError)
> at Stetic.EnumDescriptor..ctor(XmlElement elem)
> at Stetic.WidgetLibrary.Load(XmlDocument objects)
> at Stetic.AssemblyWidgetLibrary.Load()
> at Stetic.Registry.RegisterWidgetLibrary(WidgetLibrary library)
> System.TypeLoadException: Could not load type 'Gdk.ExtensionMode,gdk-sharp'
> at Stetic.Registry.GetType(String typeName, Boolean throwOnError)
> at Stetic.EnumDescriptor..ctor(XmlElement elem)
> at Stetic.WidgetLibrary.Load(XmlDocument objects)
> at Stetic.AssemblyWidgetLibrary.Load()
> at Stetic.Registry.RegisterWidgetLibrary(WidgetLibrary library)
> Marshaling delete_event signal
>
I have filed the cause of this as bug 469848. When this is fixed, it
should break on Mono as well. Basically there is a hierarchy like:
abstract Item -> SolutionItem -> UnknownSolutionItem
SolutionItem and UnknownSolutionItem have a serialize attribute of
"name" on them. On Mono, GetCustomAttributes only returns the one on
UnknownSolutionItem, not both of them like on .Net.
>
> 4) A message box warning of of an "Invalid path" when saving
> preference of default path for new projects.
> 6) "Illegal Project Name" when creating a solution, presumably due to C:\ etc
>
#6 needs the ":" removed from IsValidPath in FileService.cs. #4 might
be the same as well.
>
> 7) GTK# error prevents opening the text editor:
>
>
> System.AccessViolationException: Attempted to read or write protected
> memory. This is often an indication that other memory is corrupt. at
> Gtk.TargetList.gtksharp_target_list_to_entry_array(IntPtr list,
> TargetEntry[] entries) at Gtk.TargetList.op_Explicit(TargetList
> list) at Mono.TextEditor.TextEditor..ctor(Document doc,
> ITextEditorOptions options, EditMode initialMode) at
> Mono.TextEditor.TextEditor..ctor() at
> MonoDevelop.SourceEditor.ExtensibleTextEditor..ctor(SourceEditorView
> view) at
> MonoDevelop.SourceEditor.SourceEditorWidget..ctor(SourceEditorView
> view) at MonoDevelop.SourceEditor.SourceEditorView..ctor() at
> MonoDevelop.SourceEditor.SourceEditorDisplayBinding.MonoDevelop.Ide.Codons.IDisplayBinding.CreateContentForMimeType(String
> mimeType, Stream content) at
> MonoDevelop.Ide.Gui.Workbench.NewDocument(String defaultName, String
> mimeType, Stream content) at
> MonoDevelop.Ide.Templates.FileTemplate.CreateFile(FileDescriptionTemplate
> newfile,
> SolutionItem policyParent, Project project, String directory, String
> language, String name) at
> MonoDevelop.Ide.Templates.FileTemplate.Create(SolutionItem
> policyParent, Project project,
> String directory, String language, String name) at
> MonoDevelop.Ide.Gui.Dialogs.NewFileDialog.OpenEvent(Object sender,
> EventArgs e)
>
> (I only have this on vista64/.net32 the editors open fine on my XP32 machine).
>
>
This is bug #459974.
> 10) Tabs on bottom of docks are painted upside-down.
My understanding is this is a limitation of the Gtk+ Wimp theme.
Jonathan
More information about the Monodevelop-devel-list
mailing list