gwibber crashed with AttributeError in __init__()

Bug #539551 reported by KojiroAK
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gwibber (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Binary package hint: gwibber

As I clicked on Broadcast on the applet in the panel I received the crash report. That's on Lucid Lynx daily build LiveCD ca. 11:00 gmt +1.

ProblemType: Crash
Architecture: i386
Date: Tue Mar 16 13:44:09 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/gwibber
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100316)
InterpreterPath: /usr/bin/python2.6
Package: gwibber 2.29.92.1-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gwibber
ProcEnviron:
 SHELL=/bin/bash
 LANG=de_CH.utf8
ProcVersionSignature: Ubuntu 2.6.32-16.25-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
KojiroAK (kojiroak) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Changed in gwibber (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Christoph Korn (c-korn) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Changed in gwibber (Ubuntu):
status: New → Incomplete
Revision history for this message
KojiroAK (kojiroak) wrote :

* Is this reproducible?
Not at the moment, tried multiple times to press broadcast.

The envelope in the systemtray -> broadcast, first thougt that in the systemtray would be gwibber, now I've seen, that it only starts gwibber at the press of broadcast, sorry for being unclear.

The error occured the first time I clicked on broadcast.

Revision history for this message
Neatchee (neatchee) wrote :

Just experienced this bug after coming out of hibernation. Gwibber was running before entering hibernation, and produced a crash upon resuming the system. Since then, Gwibber crashes on any attempt to launch. I have not been able to predictably reproduce this bug.

Revision history for this message
Marco Ceruti (unknhawk) wrote :

I'm totally unable to start gwibber from today.
I ran it into the terminal and copied this code:

marco@kreios:~$ gwibber

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

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

** (gwibber:9649): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Updating...
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 441, in __init__
    self.w = GwibberClient()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 40, in __init__
    if len(json.loads(self.service.GetAccounts())) == 0:
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 422, in GetAccounts
    for account in self.accounts.get_records(COUCH_TYPE_ACCOUNT, True):
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 450, in get_records
    exists = self.view_exists(view_name, design_doc)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 397, in view_exists
    view_container = self.db[doc_id]["views"]
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 316, in __getitem__
    resp, data = self.resource.get(id)
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 978, in get
    return self._request('GET', 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 1129, 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 901, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 871, in _conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 984, in getresponse
    method=self._method)
  File "/usr/lib/python2.6/httplib.py", line 330, in __init__
    self.fp = sock.makefile('rb', 0)
AttributeError: 'NoneType' object has no attribute 'makefile'

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

Have you tried to run a rm ~/.cache/desktop-couch ~/.config/desktop-couch and ~/.local/share/desktop-couch and then start gwibber again (running latest version of gwibber 2.29.95)?, Thanks!

Revision history for this message
Goje Sandeep (sandeep-goje) wrote :

The remedy suggested by Kamus seems to work but it deleted all my accounts in broadcast.I think thats expected if do rm -rf for all those folders but it doesnot solve the crash

Omer Akram (om26er)
summary: - gwibber crashed with AttributeError in __init__() crashed at Broadcast
+ gwibber crashed with AttributeError in __init__()
Revision history for this message
Victor Vargas (kamus) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 523964, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.