Re: problem getting PropertyBag
- From: Dietmar Maurer <dietmar ximian com>
- To: Jeroen Zwartepoorte <Jeroen xs4all nl>
- Cc: gnome-components-list gnome org
- Subject: Re: problem getting PropertyBag
- Date: Thu, 26 Jul 2001 09:05:41 +0200
Jeroen Zwartepoorte wrote:
> Hi,
>
> I've added support for bonobo-conf to an already bonobo enabled widget.
> Everything works fine on my machine, but on somebody elses, it fails
> when trying to get the config:/scintilla PropertyBag.
>
> The widget exposes the PropertyControl interface. In the get method of
> the bonobo_property_control_new, i first need to get the PropertyBag
> containing the widget's properties:
>
> CORBA_exception_init (&ev);
>
> bag = bonobo_get_object ("config:/scintilla", "Bonobo/PropertyBag",
> &ev);
> g_assert (!BONOBO_EX (&ev));
>
> The bonobo_get_object call fails (the assertion on the next line fails).
>
> Why does this fail?
Difficult to say. What version of bonobo-conf do you use (you need at least
0.7)? Maybe you can extract the code into a little test program and send it
to me? I will then be able to debug it for you.
- Dietmar
> The other person did a backtrace and came up with
> the following:
>
> #5 0x0805b6ca in get_impl (control=0x80eb2e8, page_number=0,
> closure=0x80d8cc8) at scintilla-property-control.c:111
> 111 g_assert (!BONOBO_EX (&ev));
> (gdb) p ev
> $1 = {_major = CORBA_USER_EXCEPTION, _repo_id = 0x80f2e5c
> "IDL:Bonobo/Moniker/UnknownPrefix:1.0", _params = 0x0, _any = 0x0}
> (gdb)
>
> I'm relatively new to linux programming, so the above doesn't tell me
> much. What kind of CORBA exception occurred here and why?
>
> Thanks,
>
> Jeroen
>
> _______________________________________________
> gnome-components-list mailing list
> gnome-components-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-components-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]