#476955 extensions API changed but the directory to look for them is the same

Package:
epiphany-browser
Source:
epiphany-browser
Description:
Intuitive GNOME web browser
Submitter:
Patrizio Bruno
Date:
2014-12-26 21:59:21 UTC
Severity:
important
#476955#5
Date:
2008-04-20 11:08:09 UTC
From:
To:
When I try to launch epiphany-gecko or epiphany-webkit nothing happens.
I ran epiphany in gdb and killed it to find when it freezes up:

Starting program: /usr/bin/epiphany-browser
[Thread debugging using libthread_db enabled]
[New Thread 0x2ab2e0591200 (LWP 4467)]
/home/patrizio/.themes/Candido-Rusty/gtk-2.0/menubar.rc:25: Background image options specified without filename
/home/patrizio/.themes/Candido-Rusty/gtk-2.0/menubar.rc:43: Background image options specified without filename
/home/patrizio/.themes/Candido-Rusty/gtk-2.0/panel.rc:48: Background image options specified without filename
/home/patrizio/.themes/Candido-Rusty/gtk-2.0/panel.rc:58: Background image options specified without filename
/home/patrizio/.themes/Candido-Rusty/gtk-2.0/panel.rc:69: Background image options specified without filename
/home/patrizio/.themes/Candido-Rusty/gtk-2.0/panel.rc:78: Background image options specified without filename
Traceback (most recent call last):
  File "/home/patrizio/.gnome2/epiphany/extensions/tabs_on_treeview.py", line 426, in attach_window
    self.winlist[window].attach_window()
  File "/home/patrizio/.gnome2/epiphany/extensions/tabs_on_treeview.py", line 308, in attach_window
    self.build_custom()
  File "/home/patrizio/.gnome2/epiphany/extensions/tabs_on_treeview.py", line 132, in build_custom
    self.treemodel = gtk.ListStore(epiphany.Tab, str, gtk.gdk.Pixbuf)
AttributeError: 'module' object has no attribute 'Tab'

** (epiphany-browser:4467): WARNING **: Python code for 'attach_window' failed to execute
[New Thread 0x40800950 (LWP 4470)]
Traceback (most recent call last):
  File "/home/patrizio/.gnome2/epiphany/extensions/urgentcontentnotify.py", line 45, in attach_tab
    embed = tab.get_embed()
AttributeError: '__main__.MozillaEmbed' object has no attribute 'get_embed'

** (epiphany-browser:4467): WARNING **: Python code for 'attach_tab' failed to execute
Traceback (most recent call last):
  File "/home/patrizio/.gnome2/epiphany/extensions/tabs_on_treeview.py", line 429, in attach_tab
    self.winlist[window].attach_tab(tab)
  File "/home/patrizio/.gnome2/epiphany/extensions/tabs_on_treeview.py", line 367, in attach_tab
    self.treemodel.insert(page_num, [tab, tab.get_title(), tab.get_icon()])
AttributeError: TreeviewTabs instance has no attribute 'treemodel'

** (epiphany-browser:4467): WARNING **: Python code for 'attach_tab' failed to execute
sys:1: Warning: invalid cast from `EphyNotebook' to `EphyWindow'
sys:1: Warning: invalid cast from `EphyNotebook' to `EphyEmbedContainer'

** (epiphany-browser:4467): CRITICAL **: ephy_embed_container_get_active_child: assertion `EPHY_IS_EMBED_CONTAINER (container)' failed

** (epiphany-browser:4467): CRITICAL **: ephy_window_get_notebook: assertion `EPHY_IS_WINDOW (window)' failed
sys:1: GtkWarning: gtk_notebook_get_tab_label: assertion `GTK_IS_NOTEBOOK (notebook)' failed
sys:1: Warning: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

** (epiphany-browser:4467): CRITICAL **: get_real_tab_label: assertion `label != NULL' failed
sys:1: GtkWarning: gtk_widget_modify_font: assertion `GTK_IS_WIDGET (widget)' failed

** (epiphany-browser:4467): CRITICAL **: ephy_window_set_active_tab: assertion `gtk_widget_get_toplevel (GTK_WIDGET (new_embed)) == GTK_WIDGET (window)' failed

** (epiphany-browser:4467): CRITICAL **: ephy_window_show: assertion `EPHY_IS_EMBED (embed)' failed
sys:1: GtkWarning: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

** (epiphany-browser:4467): WARNING **: Need to realize the embed before grabbing focus!


Program received signal SIGTERM, Terminated.
[Switching to Thread 0x2ab2e0591200 (LWP 4467)]
0x00002ab2dc1be336 in poll () from /lib/libc.so.6
(gdb)

#476955#10
Date:
2008-04-20 11:50:52 UTC
From:
To:
retitle 476955 extensions API changed but the directory to look for them is the same
severity 476955 important
thanks

Le dimanche 20 avril 2008 à 13:08 +0200, Patrizio Bruno a écrit :

The python API of epiphany extensions has changed in 2.22. You need to
update your hand-installed extensions to a version that is compatible
with 2.22.

I’ll see if it is possible to version the extensions directory in the
home so that things like this don’t happen.

Cheers,