gwibber-accounts crashed with TypeError in __init__(): Gtk.Window.set_icon_from_file() argument 1 must be string, not None

Bug #811915 reported by tr33m4n
This bug report is a duplicate of:  Edit Remove
74
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Gwibber
Invalid
High
Unassigned
gwibber (Ubuntu)
Triaged
High
Ken VanDine

Bug Description

Tried to open the add an account dialogue when this error occurred

Description: Ubuntu oneiric (development branch)
Release: 11.10
gwibber:
  Installed: 3.1.2-0ubuntu1
  Candidate: 3.1.2-0ubuntu1
  Version table:
 *** 3.1.2-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: gwibber 3.1.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-5.6-generic 3.0.0-rc7
Uname: Linux 3.0.0-5-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Sun Jul 17 16:03:08 2011
ExecutablePath: /usr/bin/gwibber-accounts
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705.1)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: python /usr/bin/gwibber-accounts
ProcEnviron:
 LANGUAGE=en_GB:en
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gwibber-accounts']
SourcePackage: gwibber
Title: gwibber-accounts crashed with TypeError in __init__(): Gtk.Window.set_icon_from_file() argument 1 must be string, not None
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/gwibber-accounts", line 109, in <module>
     accounts.GwibberAccountManager(selected_account=selected_account, condition=condition, message=message)
   File "/usr/lib/python2.7/dist-packages/gwibber/accounts.py", line 58, in __init__
 TypeError: Gtk.Window.set_icon_from_file() argument 1 must be string, not None
UpgradeStatus: Upgraded to oneiric on 2011-07-17 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

tr33m4n (tr33m4n)
visibility: private → public
Revision history for this message
Victor Vargas (kamus) wrote :

Confirmed and 100% reproducible here

Changed in gwibber (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Xavier Guillot (valeryan-24) wrote :

Same here with Gwibber 3.1.4 on Oneiric, too, each time I want to open Accounts manager I get this error message :

Traceback (most recent call last):
  File "/usr/bin/gwibber-accounts", line 112, in <module>
    accounts.GwibberAccountManager(selected_account=selected_account, condition=condition, message=message)
  File "/usr/lib/python2.7/dist-packages/gwibber/accounts.py", line 58, in __init__
TypeError: Gtk.Window.set_icon_from_file() argument 1 must be string, not None

Victor Vargas (kamus)
Changed in gwibber (Ubuntu):
assignee: nobody → Ken VanDine (ken-vandine)
Revision history for this message
Xavier Guillot (valeryan-24) wrote :

Here is the crash file for Gwibber account bug.

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

Xavier, please do not attach .crash files into reports, instead please use apport or double click into this file and apport will recollect all the necessary information.

Revision history for this message
Robbie Williamson (robbiew) wrote :

Curious...what's the reasoning behind marking this bug as medium. Basically gwibber is broken, because you can't add any accounts, so I would think this to be a High/Critical issue. Is this only affecting people with existing accounts, i.e. an upgrade? Is there a workaround to avoid this? Does this only happen for a specific Oneiric configuration? Not trying to be an @$$, just wanting to understand the reason for the "Medium" importance classification.

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

Based on the number of dupes, I guess I need to raise the priority. It isn't happening for everyone, but not sure what the specific history is for the users hitting it. It is only for upgrades, and not all upgrades.

The problem seems to be related to switching from pycentral to dh_python2, it isn't cleaning up the old .pyc files. The Work around is to remove /usr/lib/python2.*/dist-packages/gwibber

It looks like i need to clean those files in the package, but I would think pycentral should do that automatically, so want to ask around first.

Changed in gwibber (Ubuntu):
importance: Medium → High
Changed in gwibber:
importance: Undecided → High
milestone: none → 3.1.5
Changed in gwibber:
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gwibber - 3.1.4+r1093-0ubuntu2

---------------
gwibber (3.1.4+r1093-0ubuntu2) oneiric; urgency=low

  * debian/preinst
    - cleanup the cruft left from pycentral (LP: #811915)
 -- Ken VanDine <email address hidden> Thu, 04 Aug 2011 02:48:49 -0400

Changed in gwibber (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Just installed 3.1.4+r1093-0ubuntu2 but I still have the .pyc files in /usr/lib/python2.*/dist-packages/gwibber and getting the same crash. Manually removing the files made everything work.

Changed in gwibber (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Ken VanDine (ken-vandine) wrote :

What version did you upgrade from?

Revision history for this message
Xavier Guillot (valeryan-24) wrote :

I also still have the same problem with Gwibber 3.1.4+r1093 normally upgraded from Ubuntu Oneiric packages (no ppa).

Acounts window does not launch :

(gwibber:3094): Json-CRITICAL **: json_object_get_string_member: assertion `node != NULL' failed
** (gwibber:3094): DEBUG: streams.vala:249: Storing gwibber.transient_model
** (gwibber:3094): DEBUG: streams.vala:251: transient_model has 3000 rows
Loading plugin for statusnet
Loading plugin for twitter
Loading plugin for identica
Loading plugin for facebook
Traceback (most recent call last):
  File "/usr/bin/gwibber-accounts", line 112, in <module>
    accounts.GwibberAccountManager(selected_account=selected_account, condition=condition, message=message)
  File "/usr/lib/python2.7/dist-packages/gwibber/accounts.py", line 58, in __init__
TypeError: Gtk.Window.set_icon_from_file() argument 1 must be string, not None

Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #814259, so 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. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.
  • Duplicate of a private bug Remove

Other bug subscribers

Remote bug watches

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