Hi,

I've been messing around with the Bonobo controls
example in :
http://www.pycage.de/howto_bonobo.html

As is, the script with:
container = bonobo.ui.Container()
control =
bonobo.ui.Widget("OAFIID:Nautilus_Text_View",
                          container.corba_objref())

causes a new window to be opened but nothing is
displaed i.e. the window is blank 
_____________________________
Using:
container = bonobo.ui.Container()
control = bonobo.ui.Widget("http://www.gnome.org";,
               container.corba_objref())

Bonobo-WARNING **: Activation exception 'Moniker
interface cannot be found'
Traceback (most recent call last):
  File "bonobotest.py", line 36, in ?
    container.corba_objref())
RuntimeError: could not create BonoboControl object

-----------------------
Trying to view a pdf file with:
   uri = "file:" + sys.argv[1]
   control = bonobo.ui.widget(uri,
           container.corba_objref())

causes:

 Bonobo-WARNING **: Activation exception 'Moniker
interface cannot be found'
Traceback (most recent call last):
  File "bonobotest.py", line 36, in ?
    container.corba_objref())
RuntimeError: could not create BonoboControl object

Anybody have any success with this?

Thanks,
Girish

Details of my installation:
 
I am using gentoo with 
python 2.3.3
gnome-python 2.0.0
orbit-python 1.99.0-r1

The controls I have installed 
 gwom $ activation-client -q --spec="has (repo_ids,
'IDL:Bonobo/Control:1.0')" | grep '^IID'
IID OAFIID:Gst_Player_View, type factory, location
OAFIID:Gst_Player_View_Factory
IID OAFIID:GNOME_ShowDesktopApplet, type factory,
location OAFIID:GNOME_Wncklet_Factory
IID OAFIID:GNOME_WindowListApplet, type factory,
location OAFIID:GNOME_Wncklet_Factory
IID OAFIID:GNOME_TasklistApplet, type factory,
location OAFIID:GNOME_Wncklet_Factory
IID OAFIID:GNOME_WorkspaceSwitcherApplet, type
factory, location OAFIID:GNOME_Wncklet_Factory
IID OAFIID:GNOME_PagerApplet, type factory, location
OAFIID:GNOME_Wncklet_Factory
IID OAFIID:GNOME_WindowMenuApplet, type factory,
location OAFIID:GNOME_Wncklet_Factory
IID OAFIID:GNOME_SystemTrayApplet, type factory,
location OAFIID:GNOME_NotificationAreaApplet_Factory
IID OAFIID:GNOME_GDictApplet, type factory, location
OAFIID:GNOME_GDictApplet_Factory
IID OAFIID:GNOME_EOG_Control, type factory, location
OAFIID:GNOME_EOG_Factory
IID OAFIID:GNOME_EOG_CollectionControl, type factory,
location OAFIID:GNOME_EOG_CollectionFactory
IID OAFIID:GNOME_DriveMountApplet, type factory,
location OAFIID:GNOME_DriveMountApplet_Factory
IID OAFIID:GNOME_Gedit_Control, type factory, location
OAFIID:GNOME_Gedit_ViewerFactory
IID OAFIID:Themus_Theme_Properties_View, type shlib,
location
/usr/lib/bonobo/libthemus-theme-properties-view.so
IID OAFIID:GNOME_PDF_NautilusPropertyPage, type
factory, location OAFIID:GNOME_PDF_Factory
IID OAFIID:GNOME_PDF_Control, type factory, location
OAFIID:GNOME_PDF_Factory
IID OAFIID:Nautilus_Audio_Properties_View, type shlib,
location
/usr/lib/bonobo/libnautilus-audio-properties-view.so
IID OAFIID:Nautilus_Audio_View, type factory, location
OAFIID:Nautilus_Audio_View_Factory
IID OAFIID:GNOME_NotificationAreaApplet, type factory,
location OAFIID:GNOME_NotificationAreaApplet_Factory
IID OAFIID:GNOME_FishApplet, type factory, location
OAFIID:GNOME_FishApplet_Factory
IID OAFIID:Nautilus_File_Manager_Search_List_View,
type factory, location OAFIID:Nautilus_Factory
IID OAFIID:Nautilus_File_Manager_List_View, type
factory, location OAFIID:Nautilus_Factory
IID OAFIID:Nautilus_File_Manager_Desktop_Icon_View,
type factory, location OAFIID:Nautilus_Factory
IID OAFIID:Nautilus_File_Manager_Icon_View, type
factory, location OAFIID:Nautilus_Factory
IID OAFIID:Square_Controller, type factory, location
OAFIID:Square_ControllerFactory
IID OAFIID:Circle_Controller, type factory, location
OAFIID:Circle_ControllerFactory
IID OAFIID:Bonobo_Sample_Entry, type factory, location
OAFIID:Bonobo_Sample_ControlFactory
IID OAFIID:Nautilus_History_View, type shlib, location
/usr/lib/bonobo/libnautilus-history-view
IID OAFIID:Nautilus_Notes_View, type shlib, location
/usr/lib/bonobo/libnautilus-notes-view
IID OAFIID:Nautilus_Printers_View, type shlib,
location /usr/lib/bonobo/libnautilus-printers-view.so
IID OAFIID:GNOME_ClockApplet, type factory, location
OAFIID:GNOME_ClockApplet_Factory
IID OAFIID:GNOME_Epiphany_NautilusView, type factory,
location OAFIID:GNOME_Epiphany_NautilusViewFactory
IID OAFIID:Nautilus_Image_Properties_View, type shlib,
location
/usr/lib/bonobo/libnautilus-image-properties-view
IID OAFIID:Nautilus_Emblem_View, type shlib, location
/usr/lib/bonobo/libnautilus-emblem-view
IID OAFIID:Nautilus_Tree_View, type shlib, location
/usr/lib/bonobo/libnautilus-tree-view
IID OAFIID:Nautilus_Throbber, type factory, location
OAFIID:Nautilus_Throbber_Factory
IID OAFIID:Nautilus_Text_View, type factory, location
OAFIID:Nautilus_Text_View_Factory
IID OAFIID:GNOME_CharpickerApplet, type factory,
location OAFIID:GNOME_CharpickerApplet_Factory
IID OAFIID:GNOME_MixerApplet, type factory, location
OAFIID:GNOME_MixerApplet_Factory
IID OAFIID:GNOME_BattstatApplet, type factory,
location OAFIID:GNOME_BattstatApplet_Factory
IID OAFIID:GNOME_GWeatherApplet, type factory,
location OAFIID:GNOME_GWeatherApplet_Factory
IID OAFIID:GNOME_MultiLoadApplet, type factory,
location OAFIID:GNOME_MultiLoadApplet_Factory
IID OAFIID:GNOME_Panel_WirelessApplet, type factory,
location OAFIID:GNOME_Panel_WirelessApplet_Factory
IID OAFIID:Gst_Player_Control, type factory, location
OAFIID:Gst_Player_ControlFactory
IID OAFIID:GNOME_MiniCommanderApplet, type factory,
location OAFIID:GNOME_MiniCommanderApplet_Factory
IID OAFIID:GNOME_GtikApplet, type factory, location
OAFIID:GNOME_GtikApplet_Factory
IID OAFIID:GNOME_CDPlayerApplet, type factory,
location OAFIID:GNOME_CDPlayerApplet_Factory
IID OAFIID:GNOME_KeyboardApplet, type factory,
location OAFIID:GNOME_KeyboardApplet_Factory
IID OAFIID:GNOME_StickyNotesApplet, type factory,
location OAFIID:GNOME_StickyNotesApplet_Factory
IID OAFIID:GNOME_ModemLightsApplet, type factory,
location OAFIID:GNOME_ModemLightsApplet_Factory
IID OAFIID:GNOME_GGV_Control, type factory, location
OAFIID:GNOME_GGV_Factory
IID OAFIID:GNOME_MailcheckApplet, type factory,
location OAFIID:GNOME_MailcheckApplet_Factory
IID OAFIID:GNOME_GeyesApplet, type factory, location
OAFIID:GNOME_GeyesApplet_Factory
IID OAFIID:GNOME_AccessxStatusApplet, type factory,
location OAFIID:GNOME_AccessxStatusApplet_Factory


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to