[MonoDevelop] problems with mono 1.1.4

Everaldo Canuto everaldo_canuto@yahoo.com.br
Sat, 19 Feb 2005 11:47:44 -0200


Hi,

I have problem with 1.1.4 too. When I open a solution then a black error
window appears and when I close this windows MonoDevelop closes with a
lot of errors.

Now I back to 1.1.3 for finish a working on a project then tomorow I
will seach for this problem and if I found a solution then I post a
message on this list.

Everaldo.

Em Sáb, 2005-02-19 às 14:30 +0100, David Makovský escreveu:
> Hi, It's not theme related problem, this is only warning, but I
> installed latest icons in proper directories and problem is somewhere
> else.
> some updating UI problem, and also gtk warning about bad markup - is
> there something that I can do for closer locating of problem, this is
> also happen when
> I'm creating new solution .
> For seems to be important theese exeptions (now in english):
> 
> 
> 
> An exception was thrown while dispatching a method call in the UI
> thread.
> System.InvalidCastException: Cannot cast from source type to
> destination type.
> in <0x00143> GLib.ObjectManager:CreateObject (intptr)
> in <0x000be> GLib.Object:GetObject (intptr,bool)
> in <0x000e8> GLib.ListBase:DataMarshal (intptr)
> in <0x00027> GLib.ListBase:get_Item (int)
> in <0x000bc> Gtk.Container:get_Children ()
> in <0x00068> MonoDevelop.Gui.DefaultWorkbench:UpdateToolbars ()
> in <0x000c0> MonoDevelop.Gui.DefaultWorkbench:UpdateMenu
> (object,System.EventArgs)
> in <0x00011> MonoDevelop.Gui.DefaultWorkbench:CombineOpened
> (object,MonoDevelop.Services.CombineEventArgs)
> in <0x00045> (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_void_object_CombineEventArgs
> (object,MonoDevelop.Services.CombineEventArgs)
> in <0x00036> __CombineEventHandler_DelegateFactory:Dispatch (object)
> in <0x0003f> (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_void_object (object)
> in <0x0001e> MonoDevelop.Services.StatefulMessageContainer:Run ()
> 
> Caller stack not available. Define the environment variable
> MONODEVELOP_DISPATCH_DEBUG to enable caller stack capture.
> An exception was thrown while dispatching a method call in the UI
> thread.
> System.InvalidCastException: Cannot cast from source type to
> destination type.
> in <0x00143> GLib.ObjectManager:CreateObject (intptr)
> in <0x000be> GLib.Object:GetObject (intptr,bool)
> in <0x0000c> GLib.Object:GetObject (intptr)
> in <0x0003e> Gtk.Widget:RenderIcon (string,Gtk.IconSize,string)
> in <0x00017> MonoDevelop.Gui.Widgets.TreeView:RenderIcon (string)
> in <0x0012b> MonoDevelop.Gui.Widgets.TreeView:Append
> (MonoDevelop.Gui.Widgets.TreeNode)
> in <0x00034> MonoDevelop.Gui.Widgets.TreeView:OnNodeInserted
> (MonoDevelop.Gui.Widgets.TreeNode)
> in <0x0003f> (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_void_TreeNode
> (MonoDevelop.Gui.Widgets.TreeNode)
> in <0x0001a> MonoDevelop.Gui.Widgets.TreeNodeCollection:Inserted
> (MonoDevelop.Gui.Widgets.TreeNode)
> in <0x00048> MonoDevelop.Gui.Widgets.TreeNodeCollection:Add
> (MonoDevelop.Gui.Widgets.TreeNode)
> in <0x00057>
> MonoDevelop.Gui.Pads.ProjectBrowser.ProjectBrowserView:RefreshTree
> (MonoDevelop.Internal.Project.Combine)
> in <0x00023>
> MonoDevelop.Gui.Pads.ProjectBrowser.ProjectBrowserView:OpenCombine
> (object,MonoDevelop.Services.CombineEventArgs)
> in <0x00045> (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_void_object_CombineEventArgs
> (object,MonoDevelop.Services.CombineEventArgs)
> in <0x00036> __CombineEventHandler_DelegateFactory:Dispatch (object)
> in <0x0003f> (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_void_object (object)
> in <0x0001e> MonoDevelop.Services.StatefulMessageContainer:Run ()
> 
> 
> 
> Caller stack not available. Define the environment variable
> MONODEVELOP_DISPATCH_DEBUG to enable caller stack capture.
> 
> (MonoDevelop:8293): Gtk-WARNING **: Failed to set label from markup
> due to error parsing markup: Error on line 2 char 6: '0' is not a
> valid character following a '<' character; it may not begin an element
> name
> 
> Unhandled Exception: System.InvalidCastException: Cannot cast from
> source type to destination type.
> in <0x00143> GLib.ObjectManager:CreateObject (intptr)
> in <0x000be> GLib.Object:GetObject (intptr,bool)
> in <0x0000c> GLib.Object:GetObject (intptr)
> in <0x0002e> Gtk.TreeView:get_Selection ()
> in <0x00028> MonoDevelop.Gui.Widgets.TreeView:get_SelectedNode ()
> in <0x00030>
> MonoDevelop.Gui.Pads.ProjectBrowser.ProjectBrowserView:OnButtonRelease
> (object,Gtk.ButtonReleaseEventArgs)
> in <0x00045> (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_void_object_ButtonReleaseEventArgs
> (object,Gtk.ButtonReleaseEventArgs)
> in <0x0013b> Gtk.Widget:ButtonReleaseEventSignalCallback
> (intptr,intptr,intptr)
> in <0x0002c> (wrapper native-to-managed)
> Gtk.Widget:ButtonReleaseEventSignalCallback (intptr,intptr,intptr)
> in (unmanaged) 0xf0a43e
> in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
> in <0x00007> Gtk.Application:Run ()
> in <0x0040e> MonoDevelop.Commands.StartWorkbenchCommand:Run ()
> in <0x009de> MonoDevelop.SharpDevelopMain:Main (string[])
> 
> 
> 
> David
> 
> 
> Michael Lausch píše v So 19. 02. 2005 v 13:36 +0100: 
> > On Sat, 2005-02-19 at 13:23 +0100, David Makovský wrote:
> > > Hi all, I have problems after upgrading to mono 1.1.4.
> > > I have revision 2256, latest gtk-sharp and all dependencies. I'm
> > > running FC3 with gtk+ 2.6.2
> > 
> > 
> > > Problem appears when I try to open solution
> > > 
> > > Any help is appreciated.
> > > 
> > > David Makovsky
> > > 
> > > here is output:
> > > 
> > > Entering VB.NET parser
> > > Reading /home/cz2b10a1/.config/MonoDevelop/CodeCompletionData/mscorlib_1.0.5000.0_b77a5c561934e089.pidb
> > > Creating DefaultWorkbench
> > > 
> > > (MonoDevelop:22707): Gtk-WARNING **: Theme directory 24x24/action of
> > > theme hicolor has no size field
> > > 
> > 
> > You do have the files names "gtk-open.png"
> > and this files are PNG files?
> > looks like you are missing some icons for your gtk theme.
> > On my FC3 these files are located in the theme directory
> > 
> > /usr/share/icons/Bluecurve/24x24/stock/gtk-open.png
> > 
> >