|
List Info
Thread: Exception occurred: Invalid event name Window.MoveFocus
|
|
| Exception occurred: Invalid event name
Window.MoveFocus |

|
2007-12-26 19:30:40 |
|
I've just compiled monodevelop from the latest sources using the tarballs from the monodevelop website. It is running fine but as soon as I try to open a code file it pops up a dialog box with the following exception:
Exception occurred: Invalid event name Window.MoveFocus
System.ArgumentException: Invalid event name Window.MoveFocus at Stetic.TypedSignalDescriptor.FindEvent (System.Type wrapperType, System.Type
objectType, System.String name) [0x00000] at Stetic.TypedSignalDescriptor..ctor (System.Xml.XmlElement elem, Stetic.ItemGroup group, Stetic.TypedClassDescriptor klass) [0x00000] at Stetic.TypedClassDescriptor.CreateItemDescriptor
(System.Xml.XmlElement elem, Stetic.ItemGroup group) [0x00000] at Stetic.ItemGroup..ctor (System.Xml.XmlElement elem, Stetic.ClassDescriptor klass) [0x00000] at Stetic.ClassDescriptor.Load (System.Xml.XmlElement
elem) [0x00000] at Stetic.TypedClassDescriptor..ctor (System.Reflection.Assembly assembly, System.Xml.XmlElement elem) [0x00000] at Stetic.AssemblyWidgetLibrary.LoadClassDescriptor (System.Xml.XmlElement
element) [0x00000] at Stetic.WidgetLibrary.Load (System.Xml.XmlDocument objects) [0x00000] at Stetic.AssemblyWidgetLibrary.Load () [0x00000] at Stetic.Registry.RegisterWidgetLibrary (Stetic.WidgetLibrary
library) [0x00000]
This issue was raised about a week ago, (http://lists.ximian.com/archives/public/monodevelop-list/2007-December/007066.html
) but there seems to be no responses on a solution. Does anyone have any ideas as Id really like to get this working and can't find a fix anywhere.
Thanks.
|
| Re: Exception occurred: Invalid event
name Window.MoveFocus |

|
2007-12-27 03:46:19 |
|
Hi,
I have exactly the same issue! http://lists.ximian.com/archives/public/monodevelop-list/2007-December/007113.html
I do not know if it is link to GTK, mono, or monodevelop. I have fill a bug report on buzilla: https://bugzilla.novell.com/show_bug.cgi?id=350790
Hope someone will find the time to fix it before the 1.0.  You can post comment on it to show your environment ( os, environment, mono version, monodevelop version, stetic version, gtk sharp version,...) All this information will be useful.
cheers, Olivier
2007/12/27, Paul Bourke < pauldbourke gmail.com">pauldbourke gmail.com>:
I've just compiled monodevelop from the latest sources using the tarballs from the monodevelop website. It is running fine but as soon as I try to open a code file it pops up a dialog box with the following exception:
Exception occurred: Invalid event name Window.MoveFocus
System.ArgumentException: Invalid event name Window.MoveFocus at Stetic.TypedSignalDescriptor.FindEvent (System.Type wrapperType, System.Type
objectType, System.String name) [0x00000] at Stetic.TypedSignalDescriptor..ctor (System.Xml.XmlElement elem, Stetic.ItemGroup group, Stetic.TypedClassDescriptor klass) [0x00000] at Stetic.TypedClassDescriptor.CreateItemDescriptor
(System.Xml.XmlElement elem, Stetic.ItemGroup group) [0x00000] at Stetic.ItemGroup..ctor (System.Xml.XmlElement elem, Stetic.ClassDescriptor klass) [0x00000] at Stetic.ClassDescriptor.Load (System.Xml.XmlElement
elem) [0x00000] at Stetic.TypedClassDescriptor..ctor (System.Reflection.Assembly assembly, System.Xml.XmlElement elem) [0x00000] at Stetic.AssemblyWidgetLibrary.LoadClassDescriptor (System.Xml.XmlElement
element) [0x00000] at Stetic.WidgetLibrary.Load (System.Xml.XmlDocument objects) [0x00000] at Stetic.AssemblyWidgetLibrary.Load () [0x00000] at Stetic.Registry.RegisterWidgetLibrary (Stetic.WidgetLibrary
library) [0x00000]
This issue was raised about a week ago, (
http://lists.ximian.com/archives/public/monodevelop-list/2007-December/007066.html
) but there seems to be no responses on a solution. Does anyone have any ideas as Id really like to get this working and can't find a fix anywhere.
Thanks.
_______________________________________________ Monodevelop-list mailing list lists.ximian.com">Monodevelop-list lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list
|
| Re: Exception occurred: Invalid event
name Window.MoveFocus |
  Spain |
2007-12-27 06:27:25 |
olivier dufour escribió:
> Hi,
>
> I have exactly the same issue!
> http://lists.ximian.com/archiv
es/public/monodevelop-list/2007-December/007113.html
>
> I do not know if it is link to GTK, mono, or
monodevelop.
> I have fill a bug report on buzilla:
> ht
tps://bugzilla.novell.com/show_bug.cgi?id=350790
>
> Hope someone will find the time to fix it before the
1.0.
> You can post comment on it to show your environment (
os, environment,
> mono version, monodevelop version, stetic version, gtk
sharp
> version,...) All this information will be useful.
This problem seems to be a bug in Gtk#. I've reproduced a
similar bug in
MD that seems to be also a Gtk# bug. By installing the last
Gtk# version
it seems that it's solved but I'm not sure:
ht
tps://bugzilla.novell.com/show_bug.cgi?id=349484
Regards,
Andrés [ knocte ]
--
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
|
|
| Re: Exception occurred: Invalid event
name Window.MoveFocus |

|
2007-12-27 11:24:55 |
On Dec 27, 2007 7:27 AM, "Andrés G. Aragoneses"
<knocte gmail.com> wrote:
> This problem seems to be a bug in Gtk#. I've reproduced
a similar bug in
> MD that seems to be also a Gtk# bug. By installing the
last Gtk# version
> it seems that it's solved but I'm not sure:
Yes. I did some remote debugging on IRC the other day, and
it seems
that GTK# head generates binding code that's missing this
event.
--
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
|
|
| Re: Exception occurred: Invalid event
name Window.MoveFocus |

|
2007-12-27 11:30:21 |
|
On a slightly different topic, I have being trying to compile and install a slightly less recent version of gtk-sharp (2.8.4) to see if it solves the problem but am getting the following compiler error:
** (/usr/local/lib/mono/1.0/mcs.exe:17810): WARNING **: The following assembly referenced from /home/paul/tmp/gtk-
sharp-2.8.4/gnome/gnome-sharp.dll could not be loaded: Assembly: art-sharp (assemblyref_index=4) Version: 2.8.0.0 Public Key: 35e10195dab3c99f The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/paul/tmp/gtk-
sharp-2.8.4/gnome/).
Why can't it find this dll when it is part of the gtk-sharp installation process? The configure script runs fine..
On 27/12/2007,
Michael Hutchinson < m.j.hutchinson gmail.com">m.j.hutchinson gmail.com> wrote:
On Dec 27, 2007 7:27 AM, "Andrés G. Aragoneses" < knocte gmail.com">knocte gmail.com> wrote: > This problem seems to be a bug in Gtk#. I've reproduced a similar bug in > MD that seems to be also a Gtk# bug. By installing the last Gtk# version
> it seems that it's solved but I'm not sure:
Yes. I did some remote debugging on IRC the other day, and it seems that GTK# head generates binding code that's missing this event.
--
Michael Hutchinson http://mjhutchinson.com _______________________________________________ Monodevelop-list mailing list Monodevelop-list lists.ximian.com">
Monodevelop-list lists.ximian.com http://lists.ximian.com/mailman/listinfo/monodevelop-list
|
| Re: Exception occurred: Invalid event
name Window.MoveFocus |

|
2007-12-27 12:24:50 |
On Dec 27, 2007 12:30 PM, Paul Bourke <pauldbourke gmail.com> wrote:
> On a slightly different topic, I have being trying to
compile and install a
> slightly less recent version of gtk-sharp (2.8.4) to
see if it solves the
> problem but am getting the following compiler error:
>
> ** (/usr/local/lib/mono/1.0/mcs.exe:17810): WARNING **:
The following
> assembly referenced from /home/paul/tmp/gtk-
> sharp-2.8.4/gnome/gnome-sharp.dll could not be loaded:
> Assembly: art-sharp (assemblyref_index=4)
> Version: 2.8.0.0
> Public Key: 35e10195dab3c99f
> The assembly was not found in the Global Assembly
Cache, a path listed in
> the MONO_PATH environment variable, or in the location
of the executing
> assembly (/home/paul/tmp/gtk- sharp-2.8.4/gnome/).
>
> Why can't it find this dll when it is part of the
gtk-sharp installation
> process? The configure script runs fine..
The configure scripts use pkgconfig to find assembly
packages at
compile time. However, it's possible for them to be
installed in a GAC
in a prefix that Mono doesn't search by default at runtime,
e.g.
/usr/local, becuase th Mono GAC paths and the pkgconfig
search paths
are independent. Setting MONO_GAC_PREFIX=/usr/local (or
whatever) will
fix this.
--
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
|
|
| Re: Exception occurred: Invalid event
name Window.MoveFocus |

|
2007-12-27 12:34:35 |
|
Thanks very much for the reply. Unfortunatly setting that variable didn't work, same problem :/ I see what you're saying but mono should know to look in /usr/local as I've compiled everything with --prefix=/usr/local
Any other ideas at all?
On 27/12/2007, Michael Hutchinson < m.j.hutchinson gmail.com">m.j.hutchinson gmail.com> wrote:
On Dec 27, 2007 12:30 PM, Paul Bourke < pauldbourke gmail.com">pauldbourke gmail.com
> wrote: > On a slightly different topic, I have being trying to compile and install a > slightly less recent version of gtk-sharp (2.8.4) to see if it solves the > problem but am getting the following compiler error:
> > ** (/usr/local/lib/mono/1.0/mcs.exe:17810): WARNING **: The following > assembly referenced from /home/paul/tmp/gtk- > sharp-2.8.4/gnome/gnome-sharp.dll could not be loaded: > Assembly: art-sharp (assemblyref_index=4)
> Version: 2.8.0.0 > Public Key: 35e10195dab3c99f > The assembly was not found in the Global Assembly Cache, a path listed in > the MONO_PATH environment variable, or in the location of the executing
> assembly (/home/paul/tmp/gtk- sharp-2.8.4/gnome/). > > Why can't it find this dll when it is part of the gtk-sharp installation > process? The configure script runs fine..
The configure scripts use pkgconfig to find assembly packages at
compile time. However, it's possible for them to be installed in a GAC in a prefix that Mono doesn't search by default at runtime, e.g. /usr/local, becuase th Mono GAC paths and the pkgconfig search paths
are independent. Setting MONO_GAC_PREFIX=/usr/local (or whatever) will fix this.
-- Michael Hutchinson http://mjhutchinson.com
|
| Re: Exception occurred: Invalid event
name Window.MoveFocus |

|
2007-12-27 19:19:42 |
On Dec 27, 2007 1:34 PM, Paul Bourke <pauldbourke gmail.com> wrote:
> Thanks very much for the reply. Unfortunatly setting
that variable didn't
> work, same problem :/ I see what you're saying but
mono should know to look
> in /usr/local as I've compiled everything with
--prefix=/usr/local
> Any other ideas at all?
Do you have multiple Monos on your system? If you installed
Mono to
/usr/local, then that's where it'll look for its GAC.
However, if you
have another Mono in /usr, it's quite probable that MD will
be using
that one instead, even though it's in /usr/local. I suggest
taking a
look at http://www.mono-project.com/Parallel_Mono_Environments
to keep
your environments properly set up and separated.
--
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
|
|
[1-8]
|
|