gwibber crashed with AttributeError in __init__()

Bug #534941 reported by David Reyna Jr.
452
This bug affects 99 people
Affects Status Importance Assigned to Milestone
gwibber (Ubuntu)
Fix Released
Medium
Unassigned
python-defaults (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gwibber

Description: Ubuntu lucid (development branch)
Release: 10.04

Gwibber 2.29.91
Indicator Applet 0.3.2

I think I was using the MeMenu, the app that ties together Empathy, Gwibber and the Evolution Indicator Applet... well honestly I get these crash reports before I realize anything wrong has happened. I'll sign in and get a crash report and check everything but everything will be working fine *scratches head*

ProblemType: Crash
Architecture: i386
Date: Tue Mar 9 00:27:23 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/gwibber
InstallationMedia: Error: [Errno 13] Permission denied: '/var/log/installer/media-info'
InterpreterPath: /usr/bin/python2.6
Package: gwibber 2.29.91-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gwibber
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.utf8
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
PythonArgs: ['/usr/bin/gwibber']
SourcePackage: gwibber
Title: gwibber crashed with AttributeError in __init__()
Uname: Linux 2.6.32-16-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
David Reyna Jr. (universal-enigma) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, is this still an issue with latest Gwibber on Lucid?

Changed in gwibber (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
J. Austin Rodriguez (jeanaustinr) wrote :

Hi, Pedro. I believe it is still a problem. I'm having the same issue as well. Opening Gwibber from the Me Menu or from the Applications menu or from my launcher crashes the application immediately.

Revision history for this message
Thomas Nash (tom-summerbee) wrote :

Hi, I'm having the same problem as well

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the confirmation, setting this as Triaged.

Changed in gwibber (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Thomas Nash (tom-summerbee) wrote :

now on latest version 2.29.93-0ubuntu1 - seems to be working fine so far, fingers crossed.

Revision history for this message
mikbini (mikbini) wrote :

It just crashed for me with the same backtrace (modulo small line number differences probably due to different versions), though this is not 100% reproducible. I'm attaching the apport-generated report

Revision history for this message
mikbini (mikbini) wrote :

I forgot to say I have 2.29.94-0ubuntu1

Revision history for this message
Rich (takeshikovacs) wrote :

Same problem, tried to manually refresh Gwibber and it crashed with the above error

Revision history for this message
slibuntu (stuohy1) wrote :

I am having this problem under 2.29.95-0ubuntu2. Selecting "Set up broadcast account" from the MeMenu(?) results in this bug

Revision history for this message
Rolando Blanco (rolando) wrote :

Still having the problem in 10.04

Revision history for this message
Omer Akram (om26er) wrote :

this might actually be the consequency of bug 523327

Revision history for this message
Omer Akram (om26er) wrote :
Revision history for this message
Elie M. (elie-md) wrote :
Download full text (3.2 KiB)

A fix was listed there as Fail_to_connect_crashes.diff, I downloaded that diff and applied it successfully but now something else happens. if u can point me to its fix I would be really grateful (and I hope the fix wouldnt get me into another crash..........................................)

elie-m@elie-m-laptop:/usr/lib/pymodules/python2.6/httplib2$ gwibber

** (gwibber:3338): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'

** (gwibber:3338): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'

** (gwibber:3338): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Removing stale, deceptive pid file.
Apache CouchDB has started, time to relax.
WARNING:root:Pid file does not contain int: '\n\n'
WARNING:root:Pid file does not contain int: '\n\n'
Browse your desktop CouchDB at file:///home/elie-m/.local/share/desktop-couch/couchdb.html
Traceback (most recent call last):
  File "/usr/bin/gwibber", line 67, in <module>
    client.Client()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 447, in __init__
    self.w = GwibberClient()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 29, in __init__
    self.model = gwui.Model()
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 42, in __init__
    self.settings = util.SettingsMonitor()
  File "/usr/lib/python2.6/dist-packages/gwibber/util.py", line 91, in __init__
    DEFAULT_SETTINGS)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py", line 66, in __init__
    self.database = CouchDatabase(dbname, create=True)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 57, in __init__
    server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 152, in __init__
    self._reconnect()
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 176, in _reconnect
    if self._database_name not in self._server:
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__
    self.resource.head(validate_dbname(name))
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head
    return self._request('HEAD', path, headers=headers, **params)
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1014, in _request
    resp, data = _make_request()
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1009, in _make_request
    body=body, headers=headers)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 1130, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 902, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 876, in _conn_request
    conn.connect()
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 750, in connec...

Read more...

Revision history for this message
Omer Akram (om26er) wrote :

Elie M, the problem you are facing now would be bug 522538

Revision history for this message
Omer Akram (om26er) wrote :

Can any one facing this issue please install the attached file and check if it might solve the problem. If it does not you can simply revert back with sudo apt-get install python-httplib2/lucid Thanks

Revision history for this message
sirmacik (sirmacik) wrote :

I didn't felt any difference. I still have same error message and gwibber doesn't want to start.
Here is the output http://sirmacik.pastebin.com/XGbZMTpX

Revision history for this message
Omer Akram (om26er) wrote :

must have mentioned relogin would have been good :)

Revision history for this message
sirmacik (sirmacik) wrote :

So after relogin it works so far. I've to wait few hours. It usually freezes after some time [;

Revision history for this message
Elie M. (elie-md) wrote :

I did apply it, and it still doesnt work.

  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 751, in connect
    raise socket.error, msg
socket.error: [Errno 111] Connection refused

this is still the problem. Gwibber is running me out of my mind just to try it successfully once in my life! damn!

Revision history for this message
Omer Akram (om26er) wrote :

I think this bug is actually the same as bug 522538

The reason of saying that: the bug report of httplib2 says that "AttributeError: 'NoneType' object has no attribute 'makefile'" is a cryptic error and the actual error here would be "socket.error: [Errno 111] Connection refused" the patched version of httplib2 that I proposed might just be showing the real error, but its just my guess :)

Revision history for this message
Elie M. (elie-md) wrote :

man I've been refered to that link b4, and that link's solution was supposedly fixed in the newest version as written there, but it wasnt.. thanks for helping but I dont think gwibber will work for me ever.

Revision history for this message
Facundo Batista (facundo) wrote :

Why this bug is medium? Gwibber is not usable at all for me, always crashes with this every time I want to open it.

Revision history for this message
iamjabour (iamjabour) wrote :

I agree, this bug need be fixed ASAP! When some one ask me about ubuntu 10.4 I can't forget about the big problem I had with gwibber. Poor error messages and a lot of crashes.

Sorry about this claim, but the only big problem I have in ubuntu 10.4 is gwibber and gwibber-server.

Revision history for this message
Elie M. (elie-md) wrote :

that's what I'm trying to freakin tell them since 10 dayz in 3 different bug posts and ubuntuforums topic that is now one at the top of the google search for that topic! fix this broken thing..

Revision history for this message
Omer Akram (om26er) wrote :

This bug is not actually a cause of gwibber so does not matter changing gwibber's importance.

Revision history for this message
Luke Plant (spookylukey) wrote :

Please can we move this to high priority? A month later and no activity, yet Gwibber always crashes for me because of this bug.

Revision history for this message
Omer Akram (om26er) wrote :

the problem actually exists in desktopcouch bug 522538. gwibber service crashes because connection is refused.

Revision history for this message
André Klausnitzer (aklausni) wrote :

I'm not sure if there is any difference in my startup log.

I have DBus-Errors and most errors com from __init__.py: "AttributeError".

Revision history for this message
André Klausnitzer (aklausni) wrote :

I have version 2.30.1-0ubuntu1 of gwibber.

Revision history for this message
Walter Beckerleg (spayk-99) wrote :

This happens to me when I suspend.

Revision history for this message
André Klausnitzer (aklausni) wrote :

I uninstalled gwibber for now; hopefully my gnome-panel won't freeze anymore. /:

Matthias Klose (doko)
Changed in python-defaults (Ubuntu):
status: New → Invalid
Revision history for this message
Omer Akram (om26er) wrote :

Have anyone been able to reproduce the issue with gwibber 2.32.2 ? if you are facing the issue and dont have 2.32.2 installed you can install it from this ppa in ubuntu-10.04. please do the install and let us know if that solves the issue for you.

PS: gwibber 2.32.2 is already in Ubuntu-10.10

Changed in gwibber (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Victor Vargas (kamus) wrote :

Folks, any news about this issue?

Revision history for this message
Géza Búza (medve) wrote :

As for me, the latest version of Gwibber (2.32.2) works fine with Ubuntu 10.10.

Revision history for this message
Victor Vargas (kamus) wrote :

All those guys who are facing this issue please use gwibber stable ppa repository (see Omer recommendations in comment #33), for now I will mark this report as solved.

Changed in gwibber (Ubuntu):
status: Incomplete → 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.