[MonoDevelop] problems with mono 1.1.4

David Makovský yakeen@sannyas-on.net
Sat, 19 Feb 2005 14:30:20 +0100


--=-fpyLYg9AoVdgqfC9O9L4
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

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
>
>

--=-fpyLYg9AoVdgqfC9O9L4
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.5.6">
</HEAD>
<BODY>
Hi, It's not theme related problem, this is only warning, but I installed latest icons in proper directories and problem is somewhere else.<BR>
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<BR>
I'm creating new solution .<BR>
For seems to be important theese exeptions (now in english):<BR>
<BR>
<BR>
<BR>
<TT>An exception was thrown while dispatching a method call in the UI thread.</TT><BR>
<TT>System.InvalidCastException: Cannot cast from source type to destination type.</TT><BR>
<TT>in &lt;0x00143&gt; GLib.ObjectManager:CreateObject (intptr)</TT><BR>
<TT>in &lt;0x000be&gt; GLib.Object:GetObject (intptr,bool)</TT><BR>
<TT>in &lt;0x000e8&gt; GLib.ListBase:DataMarshal (intptr)</TT><BR>
<TT>in &lt;0x00027&gt; GLib.ListBase:get_Item (int)</TT><BR>
<TT>in &lt;0x000bc&gt; Gtk.Container:get_Children ()</TT><BR>
<TT>in &lt;0x00068&gt; MonoDevelop.Gui.DefaultWorkbench:UpdateToolbars ()</TT><BR>
<TT>in &lt;0x000c0&gt; MonoDevelop.Gui.DefaultWorkbench:UpdateMenu (object,System.EventArgs)</TT><BR>
<TT>in &lt;0x00011&gt; MonoDevelop.Gui.DefaultWorkbench:CombineOpened (object,MonoDevelop.Services.CombineEventArgs)</TT><BR>
<TT>in &lt;0x00045&gt; (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_CombineEventArgs (object,MonoDevelop.Services.CombineEventArgs)</TT><BR>
<TT>in &lt;0x00036&gt; __CombineEventHandler_DelegateFactory:Dispatch (object)</TT><BR>
<TT>in &lt;0x0003f&gt; (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object (object)</TT><BR>
<TT>in &lt;0x0001e&gt; MonoDevelop.Services.StatefulMessageContainer:Run ()</TT><BR>
<BR>
<TT>Caller stack not available. Define the environment variable MONODEVELOP_DISPATCH_DEBUG to enable caller stack capture.</TT><BR>
<TT>An exception was thrown while dispatching a method call in the UI thread.</TT><BR>
<TT>System.InvalidCastException: Cannot cast from source type to destination type.</TT><BR>
<TT>in &lt;0x00143&gt; GLib.ObjectManager:CreateObject (intptr)</TT><BR>
<TT>in &lt;0x000be&gt; GLib.Object:GetObject (intptr,bool)</TT><BR>
<TT>in &lt;0x0000c&gt; GLib.Object:GetObject (intptr)</TT><BR>
<TT>in &lt;0x0003e&gt; Gtk.Widget:RenderIcon (string,Gtk.IconSize,string)</TT><BR>
<TT>in &lt;0x00017&gt; MonoDevelop.Gui.Widgets.TreeView:RenderIcon (string)</TT><BR>
<TT>in &lt;0x0012b&gt; MonoDevelop.Gui.Widgets.TreeView:Append (MonoDevelop.Gui.Widgets.TreeNode)</TT><BR>
<TT>in &lt;0x00034&gt; MonoDevelop.Gui.Widgets.TreeView:OnNodeInserted (MonoDevelop.Gui.Widgets.TreeNode)</TT><BR>
<TT>in &lt;0x0003f&gt; (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_TreeNode (MonoDevelop.Gui.Widgets.TreeNode)</TT><BR>
<TT>in &lt;0x0001a&gt; MonoDevelop.Gui.Widgets.TreeNodeCollection:Inserted (MonoDevelop.Gui.Widgets.TreeNode)</TT><BR>
<TT>in &lt;0x00048&gt; MonoDevelop.Gui.Widgets.TreeNodeCollection:Add (MonoDevelop.Gui.Widgets.TreeNode)</TT><BR>
<TT>in &lt;0x00057&gt; MonoDevelop.Gui.Pads.ProjectBrowser.ProjectBrowserView:RefreshTree (MonoDevelop.Internal.Project.Combine)</TT><BR>
<TT>in &lt;0x00023&gt; MonoDevelop.Gui.Pads.ProjectBrowser.ProjectBrowserView:OpenCombine (object,MonoDevelop.Services.CombineEventArgs)</TT><BR>
<TT>in &lt;0x00045&gt; (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_CombineEventArgs (object,MonoDevelop.Services.CombineEventArgs)</TT><BR>
<TT>in &lt;0x00036&gt; __CombineEventHandler_DelegateFactory:Dispatch (object)</TT><BR>
<TT>in &lt;0x0003f&gt; (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object (object)</TT><BR>
<TT>in &lt;0x0001e&gt; MonoDevelop.Services.StatefulMessageContainer:Run ()</TT><BR>
<BR>
<BR>
<BR>
<TT>Caller stack not available. Define the environment variable MONODEVELOP_DISPATCH_DEBUG to enable caller stack capture.</TT><BR>
<BR>
<TT>(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 '&lt;' character; it may not begin an element name</TT><BR>
<BR>
<TT>Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type.</TT><BR>
<TT>in &lt;0x00143&gt; GLib.ObjectManager:CreateObject (intptr)</TT><BR>
<TT>in &lt;0x000be&gt; GLib.Object:GetObject (intptr,bool)</TT><BR>
<TT>in &lt;0x0000c&gt; GLib.Object:GetObject (intptr)</TT><BR>
<TT>in &lt;0x0002e&gt; Gtk.TreeView:get_Selection ()</TT><BR>
<TT>in &lt;0x00028&gt; MonoDevelop.Gui.Widgets.TreeView:get_SelectedNode ()</TT><BR>
<TT>in &lt;0x00030&gt; MonoDevelop.Gui.Pads.ProjectBrowser.ProjectBrowserView:OnButtonRelease (object,Gtk.ButtonReleaseEventArgs)</TT><BR>
<TT>in &lt;0x00045&gt; (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_ButtonReleaseEventArgs (object,Gtk.ButtonReleaseEventArgs)</TT><BR>
<TT>in &lt;0x0013b&gt; Gtk.Widget:ButtonReleaseEventSignalCallback (intptr,intptr,intptr)</TT><BR>
<TT>in &lt;0x0002c&gt; (wrapper native-to-managed) Gtk.Widget:ButtonReleaseEventSignalCallback (intptr,intptr,intptr)</TT><BR>
<TT>in (unmanaged) 0xf0a43e</TT><BR>
<TT>in &lt;0x00004&gt; (wrapper managed-to-native) Gtk.Application:gtk_main ()</TT><BR>
<TT>in &lt;0x00007&gt; Gtk.Application:Run ()</TT><BR>
<TT>in &lt;0x0040e&gt; MonoDevelop.Commands.StartWorkbenchCommand:Run ()</TT><BR>
<TT>in &lt;0x009de&gt; MonoDevelop.SharpDevelopMain:Main (string[])</TT><BR>
<BR>
<BR>
<BR>
David<BR>
<BR>
<BR>
Michael Lausch p&#237;&#353;e v So 19. 02. 2005 v 13:36 +0100:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Sat, 2005-02-19 at 13:23 +0100, David Makovsk&#253; wrote:</FONT>
<FONT COLOR="#000000">&gt; Hi all, I have problems after upgrading to mono 1.1.4.</FONT>
<FONT COLOR="#000000">&gt; I have revision 2256, latest gtk-sharp and all dependencies. I'm</FONT>
<FONT COLOR="#000000">&gt; running FC3 with gtk+ 2.6.2</FONT>


<FONT COLOR="#000000">&gt; Problem appears when I try to open solution</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; Any help is appreciated.</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; David Makovsky</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; here is output:</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; Entering VB.NET parser</FONT>
<FONT COLOR="#000000">&gt; Reading /home/cz2b10a1/.config/MonoDevelop/CodeCompletionData/mscorlib_1.0.5000.0_b77a5c561934e089.pidb</FONT>
<FONT COLOR="#000000">&gt; Creating DefaultWorkbench</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; (MonoDevelop:22707): Gtk-WARNING **: Theme directory 24x24/action of</FONT>
<FONT COLOR="#000000">&gt; theme hicolor has no size field</FONT>
<FONT COLOR="#000000">&gt; </FONT>

<FONT COLOR="#000000">You do have the files names &quot;gtk-open.png&quot;</FONT>
<FONT COLOR="#000000">and this files are PNG files?</FONT>
<FONT COLOR="#000000">looks like you are missing some icons for your gtk theme.</FONT>
<FONT COLOR="#000000">On my FC3 these files are located in the theme directory</FONT>

<FONT COLOR="#000000">/usr/share/icons/Bluecurve/24x24/stock/gtk-open.png</FONT>


</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>

--=-fpyLYg9AoVdgqfC9O9L4--