This might be getting a little off topic, as it deals with my
Python/Bonobo issues.
On Tue, 05 Feb 2002, Thomas Mailund wrote:
> I can get the shell by the python script:
> #!/usr/bin/env python
>
> import bonobo
> import Bonobo
> from GNOME import Evolution
>
> shell = bonobo.get_object("OAFIID:GNOME_Evolution_Shell",
> "IDL:GNOME/Evolution/Shell:1.0")
get_object crashes python for me. I'm guessing this must be a
bonobo-python problem, rather than a bonobo problem...
This is not specific to GNOME_Evolution_Shell, *ANY* get_object or
bonobo.BonoboWiget() fails for me.
>>> import bonobo
>>> import Bonobo
>>> from GNOME import Evolution
>>> shell = bonobo.get_object("OAFIID:GNOME_Evolution_Shell",
... "IDL:GNOME/Evolution/Shell:1.0")
python: error while loading shared libraries:
/usr/local/lib/bonobo/monikers/libmoniker_std.so: undefined symbol:
bonobo_shlib_factory_new_multi
That symbol is in bonobo.so.2
nicholas@piamox7:~$ nm /usr/local/lib/libbonobo.so.2 | grep
bonobo_shlib_factory_new_multi
0004bde8 T bonobo_shlib_factory_new_multi
Which the python module links with
nicholas@piamox7:~$ ldd
/usr/local/lib/python2.1/site-packages/_bonobomodule.so | grep bonobo
libbonobo.so.2 => /usr/local/lib/libbonobo.so.2 (0x40034000)
libbonobox.so.2 => /usr/local/lib/libbonobox.so.2 (0x40136000)
libbonobo-print.so.2 => /usr/local/lib/libbonobo-print.so.2 (0x40191000)
So I'm a little confused. I thought the monikers were only used by
bonobo-conf stuff, but I'm not really up on all that stuff at all.
I've asked the bonobo-python authors for ideas, but I've not heard
back. Do you have the bonobo/monikers installed ?
Thanks,
Nick
--
Part 3 MEng Cybernetics; Reading, UK http://www.nickpiper.co.uk/
Change PGP actions of mailer or fetch key see website 1024D/3ED8B27F
Choose life. Be Vegan :-) Please reduce needless cruelty + suffering !
_______________________________________________
evolution maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution