gwibber crashed with AttributeError in __init__()

Bug #523964 reported by Matt Zimmerman
544
This bug affects 122 people
Affects Status Importance Assigned to Milestone
Gwibber
Confirmed
Undecided
Unassigned
Nominated for 3.0 by Gevorg Harutyunyan
gwibber (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: gwibber

With the latest Lucid updates applied, Gwibber fails to start up:

perseus:[~] gwibber

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

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

** (gwibber:18969): 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 70, in <module>
    client.Client()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 439, 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 397, in GetAccounts
    operations = [(o["target"]["account"], "send_thread", args, None)]
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 318, in get_records
    exists = self.view_exists(view_name, design_doc)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 265, 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'

ProblemType: Crash
Architecture: amd64
Date: Thu Feb 18 17:55:24 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/gwibber
InterpreterPath: /usr/bin/python2.6
Package: gwibber 2.29.90-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gwibber
ProcEnviron:
 SHELL=zsh
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_COLLATE=C
ProcVersionSignature: Ubuntu 2.6.32-13.18-generic
PythonArgs: ['/usr/bin/gwibber']
SourcePackage: gwibber
Title: gwibber crashed with AttributeError in __init__()
Uname: Linux 2.6.32-13-generic x86_64
UserGroups: adm admin audio cdrom dialout fuse kvm libvirtd lpadmin plugdev sambashare video

Revision history for this message
Matt Zimmerman (mdz) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Matt Zimmerman (mdz)
tags: added: need-duplicate-check regression-potential
tags: removed: need-duplicate-check
Revision history for this message
Matt Zimmerman (mdz) wrote :

I am able to work around this by killing and restarting gwibber and gwibber-service, but I haven't figured out what causes it in the first place. The other gwibber problem I have at the moment is bug 522067, but I have no reason to believe it's related yet.

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

@Matt is it still there, i.e. you have to kill gwibber every time? tried gwibber 2.29.92?

Changed in gwibber (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Matt Zimmerman (mdz) wrote :

It's getting difficult to verify my bugs with each Gwibber release in Lucid, because there are new and different problems.

At the moment, I can't start Gwibber at all (it crashes on a 400 error return from couchdb), so I can't say whether it can still get into this state or not.

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

I can confirm this crash with gwibber 2.29.92.1-0ubuntu1

Changed in gwibber (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Luis Barrueco (luis-barrueco) wrote :

I can reproduce this bug. Every time I come back from "hibernate", when I try to start Gwibber, I get this error.

Revision history for this message
Amran (amx109) wrote :

i can confirm this bug with Version: 2.29.92.1-0ubuntu1

Matt's workaround of killing the gwibber and gwibber-service processes works a treat.

Revision history for this message
Henry Litwhiler (hflitwhiler-deactivatedaccount) wrote :

I can confirm this on Lucid Beta 1 - killing gwibber-service and then restarting Gwibber works, so I can still use it. A major inconvenience, though.

Revision history for this message
Henry Litwhiler (hflitwhiler-deactivatedaccount) wrote :

It should also be mentioned that before I restart gwibber-service, it takes up 100% of the computer power of one of my cores.

Revision history for this message
DaveHi (davehi) wrote :

Gwibber stopped updating. Uninstalled from Synaptic and reinstalled. Gwibber now fails to start. Terminal returns;

~$ gwibber

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

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

** (gwibber:4130): 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 447, in __init__
    self.w = GwibberClient()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 41, 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 483, 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 447, in get_records
    exists = self.view_exists(view_name, design_doc)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 394, 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
Detlef Lechner (detlef-lechner) wrote :

I tried to call Applications > Internet > Gwibber Social Client, and Gwibber crashed.
This is after yesterday's dist-upgrade.
'uname -a; Linux T43 2.6.32-21-generic #31-Ubuntu SMP Tue Apr 13 20:34:00 UTC 2010 i686 GNU/Linux.'
I call this a regression because Gwibber did not crash before last night's Ubuntu dist-upgrade.

Revision history for this message
OttifantSir (ottifantsir) wrote :

Lucid beta2 with gwibber 2.30.0.1-0ubuntu1 crashes after hibernation, and this is the error I get when trying to start gwibber. Killing gwibber-service allows me to start gwibber again.

tags: added: bugpattern-needed
Chujie (umbrella-j)
description: updated
Revision history for this message
Mitchell (curious-mitchell) wrote :

I can confirm this bug also. Same problem, Gwibber won't start with same error. Killing Gwibber and Gwibber-service works. Haven't tested with hibernate, but gwibber crashes on wake up from suspend. Cheers.

Revision history for this message
Ken VanDine (ken-vandine) wrote :

I think this was actually bug 522538 in desktopcouch, which was fixed in desktopcouch 0.6.4-0ubuntu3

Please re-open if you reproduce this again.

Changed in gwibber (Ubuntu):
status: Confirmed → Fix Released
Changed in gwibber:
status: New → Invalid
Revision history for this message
Victor Vargas (kamus) wrote :

@Matt, is this issue still reproducible under latest version of desktopcouch 0.6.4-0ubuntu3?

Revision history for this message
Luciano Ziegler (emaildoluc) wrote :

I have the last desktopcouch 0.6.4-0ubuntu3 installed and it keeps giving this error message when I try to open it:

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

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

** (gwibber:2168): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Updating...
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 447, in __init__
    self.w = GwibberClient()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 58, in __init__
    self.setup_ui()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 144, in setup_ui
    self.stream_view.set_state(self.model.settings["streams"] or DEFAULT_SETTINGS["streams"])
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 491, in set_state
    for item in state: self.new_stream(item)
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 485, in new_stream
    if state: item.set_state(state)
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 625, in set_state
    self.update()
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 618, in update
    self.message_view.render([self.selected_stream["view"]])
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 736, in render
    accounts=accounts)
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 284, in render
    self.load_html_string(content, "file://%s/" % os.path.dirname(template_path))
TypeError: WebKitWebView.load_html_string() argument 1 must be string without null bytes, not str

Revision history for this message
ethosophical (chase-nordengren-deactivatedaccount) wrote :

I fixed this for myself by fixing my /etc/hosts file per instructions here: https://bugs.launchpad.net/ubuntu/+source/python-httplib2/+bug/523327

Revision history for this message
Giovanni Battista Lenoci (gianiaz) wrote :

Same problem here, ubuntu 10.04 installed from scratch, I've been able to update facebook status after first boot. Then I have installed some programs (sorry don't remember which ones) configured twitter (first time with a wrong pwd), edited the account (with the right pwd) and rebooted.

At the second reboot I can't see the input into mymenu, and if I start gwibber from xterm I have the above error.

Revision history for this message
T Anderson (unlimitedbacon) wrote :

I think this bug should be reopened. I have desktopcouch 0.6.4-0ubuntu3 installed and the problem still exists. Exactly the same terminal output as in the original description.

Revision history for this message
Alex Pretzlav (alex-turnlav) wrote :

I am also still experiencing this exact same crash after coming back from suspend on 10.04. I have desktopcouch 0.6.4-0ubuntu3 and gwibber 2.30.0.1. Manually killing gwibber-service allows gwibber to start.

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

bug 534941 is about the same problem which have also got quite a few duplicates. I am building python-httplib2 with a proposed patch at the upstream bug report that might solve the problem. But launchpad builders are taking time so the build will complete in quite few hours if everything goes well.

Revision history for this message
Jonathan Jobe (jonathan-jobe) wrote :

I don't know what I'm doing - accidentally clicked the wrong thing up above - sorry

Changed in gwibber:
status: Invalid → Fix Released
status: Fix Released → Incomplete
Omer Akram (om26er)
Changed in gwibber:
status: Incomplete → Invalid
Changed in gwibber (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
SD (ssdtonoy) wrote :

This is the same error i guess and no help yet http://paste.ubuntu.com/428665/

Revision history for this message
Jouke (digigram) wrote :

I have this issue. Same error message in console and killing gwibber-service solves it.
I did do an apt-get update, upgrade but that did not solve it. I am running gwibber version: 2.30.0.1

Changed in gwibber:
status: Invalid → Confirmed
Revision history for this message
Eemil Lagerspetz (eemil-lagerspetz) wrote :

Same error here with
gwibber 2.30.0.1-0ubuntu3
desktopcouch 0.6.4-0ubuntu3

Revision history for this message
produnis (schlarmann-uni-wh) wrote :

same here...

Revision history for this message
Matthew Schneider (mbschneider79) wrote :

I'm having the same problem, BUT its only with a secondary user account. It works fine on one of the user names, but on the other it doesn't. Both have the same rights and permissions. I'm a linux newbie, so I'm sure I'm missing something.

Revision history for this message
Matthew Schneider (mbschneider79) wrote :

This is what I get if I try running gwibber from terminal. Its a little different.

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

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

** (gwibber:8117): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Traceback (most recent call last):
  File "/usr/bin/gwibber", line 50, in <module>
    from gwibber import client
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 3, in <module>
    import gtk, gobject, gwui, util, resources, actions, json, gconf
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 2, in <module>
    import os, json, urlparse, resources, util
  File "/usr/lib/python2.6/dist-packages/gwibber/util.py", line 2, in <module>
    from microblog.util.couch import RecordMonitor
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py", line 4, in <module>
    import desktopcouch, pycurl, oauth, threading, urllib, re, json
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 20, in <module>
    from desktopcouch.start_local_couchdb import process_is_couchdb, read_pidfile
  File "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line 38, in <module>
    from desktopcouch import local_files
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 297, in <module>
    xdg_base_dirs.save_config_path("desktop-couch"))
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 237, in __init__
    self.configuration = _Configuration(self)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 91, in __init__
    {'desktopcouch': 'basic'})
gnomekeyring.IOError

Revision history for this message
Eemil Lagerspetz (eemil-lagerspetz) wrote :

My gwibber stopped starting when I added two searches in it. On my other computer without the searches, gwibber works fine.

Revision history for this message
Omer Akram (om26er) wrote : Re: [Bug 523964] Re: gwibber crashed with AttributeError in __init__()
Download full text (6.2 KiB)

mathew, start gnome-keyring-daemon from terminal and the start gwibber again
it should work then

On Sat, May 22, 2010 at 5:22 AM, Matthew Schneider
<email address hidden>wrote:

> This is what I get if I try running gwibber from terminal. Its a little
> different.
>
>
> ** (gwibber:8117): WARNING **: Trying to register gtype 'WnckWindowState'
> as enum when in fact it is of type 'GFlags'
>
> ** (gwibber:8117): WARNING **: Trying to register gtype
> 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
>
> ** (gwibber:8117): WARNING **: Trying to register gtype
> 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
> ** Message: secret service operation failed: The name
> org.freedesktop.secrets was not provided by any .service files
> Traceback (most recent call last):
> File "/usr/bin/gwibber", line 50, in <module>
> from gwibber import client
> File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 3, in
> <module>
> import gtk, gobject, gwui, util, resources, actions, json, gconf
> File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 2, in
> <module>
> import os, json, urlparse, resources, util
> File "/usr/lib/python2.6/dist-packages/gwibber/util.py", line 2, in
> <module>
> from microblog.util.couch import RecordMonitor
> File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py",
> line 4, in <module>
> import desktopcouch, pycurl, oauth, threading, urllib, re, json
> File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 20,
> in <module>
> from desktopcouch.start_local_couchdb import process_is_couchdb,
> read_pidfile
> File
> "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line
> 38, in <module>
> from desktopcouch import local_files
> File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line
> 297, in <module>
> xdg_base_dirs.save_config_path("desktop-couch"))
> File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line
> 237, in __init__
> self.configuration = _Configuration(self)
> File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line
> 91, in __init__
> {'desktopcouch': 'basic'})
> gnomekeyring.IOError
>
> --
> gwibber crashed with AttributeError in __init__()
> https://bugs.launchpad.net/bugs/523964
> You received this bug notification because you are subscribed to gwibber
> in ubuntu.
>
> Status in Gwibber: Confirmed
> Status in “gwibber” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: gwibber
>
> With the latest Lucid updates applied, Gwibber fails to start up:
>
> perseus:[~] gwibber
>
> ** (gwibber:18969): WARNING **: Trying to register gtype 'WnckWindowState'
> as enum when in fact it is of type 'GFlags'
>
> ** (gwibber:18969): WARNING **: Trying to register gtype
> 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
>
> ** (gwibber:18969): 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 70, in <module>
> client.Client()
> File "/usr/lib/python2...

Read more...

Revision history for this message
rjb (ricardobarbieri) wrote :

I configured Twitter account, I can't update status or log in.
Gwibber 2.30.0.1

Revision history for this message
ooze (zoe-gauthier) wrote :
Download full text (3.8 KiB)

I have been running gwibber-service manually and this is the traceback when the problem happens:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 541, in refresh
    operations = list(self.collector.get_operations())
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 161, in get_operations
    for acct in self.accounts.get_records(COUCH_TYPE_ACCOUNT, True):
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 482, in get_records
    exists = self.view_exists(view_name, design_doc)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 429, in view_exists
    self.with_reconnects(self.db.__getitem__, doc_id)["views"]
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 164, in with_reconnects
    return func(*args, **kwargs)
  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 875, in _conn_request
    conn.connect()
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 750, in connect
    raise socket.error, msg
socket.error: [Errno 111] Connexion refusée
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py", line 62, in run
    self.curl.perform()
error: (18, 'transfer closed with outstanding read data remaining')

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py", line 62, in run
    self.curl.perform()
error: (18, 'transfer closed with outstanding read data remaining')

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py", line 62, in run
    self.curl.perform()
error: (18, 'transfer closed with outstanding read data remaining')

Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self...

Read more...

Revision history for this message
Hari Gangadharan (hari-g) wrote :

I had the same issue as #16 - last lines of the trace:
    accounts=accounts)
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 284, in render
    self.load_html_string(content, "file://%s/" % os.path.dirname(template_path))
TypeError: WebKitWebView.load_html_string() argument 1 must be string without null bytes, not str

The issue is var "content" in the line 284 has null:
    self.load_html_string(content, "file://%s/" % os.path.dirname(template_path))

I edited /usr/lib/python2.6/dist-packages/gwibber/gwui.py and added a line before line 284 to strip the nulls and that fixed this issue:
content = content.replace("\0","")

I don't know python but I know programming :-) - probably this is fine.

Hari Gangadharan

Revision history for this message
نايف عواض (naifawwadh) wrote :

gwibber does not work at all for ubuntu 10.04 LTS on my notebook acer travelmate 4100

Revision history for this message
Szabó Zoltán (be-cool) wrote :

This is my Gwibber Crash: http://paste.ubuntu.com/471433/

Revision history for this message
Omer Akram (om26er) wrote :
Download full text (4.3 KiB)

be.cool, you are facing bug 544753

On Sat, Jul 31, 2010 at 4:06 PM, be.cool <email address hidden> wrote:

> *** This bug is a duplicate of bug 522538 ***
> https://bugs.launchpad.net/bugs/522538
>
> This is my Gwibber Crash: http://paste.ubuntu.com/471433/
>
> --
> gwibber crashed with AttributeError in __init__()
> https://bugs.launchpad.net/bugs/523964
> You received this bug notification because you are subscribed to gwibber
> in ubuntu.
>
> Status in Gwibber: Confirmed
> Status in “gwibber” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: gwibber
>
> With the latest Lucid updates applied, Gwibber fails to start up:
>
> perseus:[~] gwibber
>
> ** (gwibber:18969): WARNING **: Trying to register gtype 'WnckWindowState'
> as enum when in fact it is of type 'GFlags'
>
> ** (gwibber:18969): WARNING **: Trying to register gtype
> 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
>
> ** (gwibber:18969): 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 70, in <module>
> client.Client()
> File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 439, 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 397, in GetAccounts
> operations = [(o["target"]["account"], "send_thread", args, None)]
> File
> "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line
> 318, in get_records
> exists = self.view_exists(view_name, design_doc)
> File
> "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line
> 265, 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/__in...

Read more...

Revision history for this message
Claudio Bastos (claudiobastos) wrote :

It's a shame that a bug that prevents gwibber from work is just "medium".

What could be critical : "Every time I start Gwibber, my house burns down" ???
That's it?

Revision history for this message
antrecu (antrecu-yahoo) wrote :

hey guys, same behavior on maverick amd64

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

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

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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