In KDE links open in Gwibber instead of browser

Bug #394381 reported by aqeeliz
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Gwibber
Fix Released
Undecided
Unassigned
gwibber (Arch Linux)
New
Undecided
Unassigned

Bug Description

When I click on a link, instead of opening it in browser, it opens it in Gwibber's current tab. Here is the console output I get, when I click on a link:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 87, in on_click_link
    gintegration.load_url(uri)
  File "/usr/lib/python2.6/dist-packages/gwibber/gintegration.py", line 53, in load_url
    def load_url(url): gnome.url_show(url)
AttributeError: 'module' object has no attribute 'url_show'

I am using Kubuntu 9.04 with Gwibber 0.9.2. I don't remember when I first got this problem, but I removed Gnome after updating to 9.04, so maybe I removed some important package required by gwibber.

P.S: When trying to create facebook account, "authorize facebook" button doesn't open any page (not even in Gwibber), in case that helps.

Related branches

aqeeliz (aqeeliz)
description: updated
Revision history for this message
aqeeliz (aqeeliz) wrote :

Another guy on identi.ca was experiencing the same problem on Gnome.

http://identi.ca/notice/5959170 :
"Why has !gwibber on my desktop suddenly started opening web links inside !gwibber, and not inside #firefox?"

I pointed him to this bug, he later replied, http://identi.ca/notice/5978384 :
"Check under System > Preferred applications (in Ubuntu) what your default browser is. That was my problem, now all is fine."

I am assuming that means Gwibber can't figure out what the default browser is in KDE. What about adding an option in Gwibber to choose which browser to open link in with option to manually enter the browser command or use "default" (just as pidgin do).

Revision history for this message
the_curator (andrew-factory44) wrote :

I think I have the same problem. Although I'm running kdm in Kubuntu 9.04 (32-bit), I am running the LXDE (0.3.2.1+svn20080509-5) desktop. Gwibber version is 0.8-0ubuntu5. Python 2.6.2-0ubuntu1.

At least for my desktop configuration, this bug might be related to: https://bugs.launchpad.net/gwibber/+bug/382679.

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 82, in on_click_link
    gintegration.load_url(uri)
  File "/usr/lib/python2.6/dist-packages/gwibber/gintegration.py", line 51, in load_url
    def load_url(url): gnome.url_show(url)
AttributeError: 'module' object has no attribute 'url_show'
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 82, in on_click_link
    gintegration.load_url(uri)
  File "/usr/lib/python2.6/dist-packages/gwibber/gintegration.py", line 51, in load_url
    def load_url(url): gnome.url_show(url)
AttributeError: 'module' object has no attribute 'url_show'
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 82, in on_click_link
    gintegration.load_url(uri)
  File "/usr/lib/python2.6/dist-packages/gwibber/gintegration.py", line 51, in load_url
    def load_url(url): gnome.url_show(url)
AttributeError: 'module' object has no attribute 'url_show'

(gwibber:15724): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(gwibber:15724): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(gwibber:15724): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
Segmentation fault

Which of course causes gwibber to crash.

Revision history for this message
Alice Kærast (kaerast) wrote :

I'm having the same problem in xfce, setting the preferred application in Applications > Settings > Preferred Applications doesn't make any difference. Gwibber 1.2.0~bzr346-0ubuntu3.

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 111, in on_click_link
    gintegration.load_url(uri)
  File "/usr/lib/python2.6/dist-packages/gwibber/gintegration.py", line 57, in load_url
    def load_url(url): gnome.url_show(url)
glib.GError: There was an error launching the default action command associated with this location.
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 111, in on_click_link
    gintegration.load_url(uri)
  File "/usr/lib/python2.6/dist-packages/gwibber/gintegration.py", line 57, in load_url
    def load_url(url): gnome.url_show(url)
glib.GError: There was an error launching the default action command associated with this location.

Revision history for this message
Markus Golser (golserma) wrote :

/usr/lib/python2.6/site-packages/gwibber/client.py:285: GtkWarning: Theme file for Oxygen_Black has no directories

  self.show_all()
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gwibber/configui.py", line 41, in <lambda>
    lambda *a: gintegration.load_url("http://www.facebook.com/code_gen.php?v=1.0&api_key=%s" % microblog.facebook.APP_KEY))
  File "/usr/lib/python2.6/site-packages/gwibber/gintegration.py", line 53, in load_url
    def load_url(url): gnome.url_show(url)
glib.GError: There was an error launching the default action command associated with this location.

Revision history for this message
Bo Hansen (bohans) wrote :

Could this be that the application is trying to use gnome_url_show in libgnome which is DEPRECATED?

I believe it the code needs to be updated to use the correct syntax.

Ryan Paul (segphault)
Changed in gwibber:
status: New → Fix Committed
Revision history for this message
Omer Akram (om26er) wrote :

This should be fixed in the development release (2.29.95) of gwibber. If you still face this feel free to open this bug again

Changed in gwibber:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.