gwibber-service crashed with TypeError in get_settings_iter(): super() takes at least 1 argument (0 given)

Bug #1098086 reported by shankao
90
This bug affects 19 people
Affects Status Importance Assigned to Milestone
Gwibber
Invalid
Undecided
Unassigned
libaccounts-glib (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

No idea when it happened

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: gwibber-service 3.6.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.7.0-7.15-generic 3.7.0
Uname: Linux 3.7.0-7-generic x86_64
ApportVersion: 2.8-0ubuntu1
Architecture: amd64
Date: Thu Jan 10 15:55:28 2013
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gwibber-service
InstallationDate: Installed on 2012-11-25 (46 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120627)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gwibber-service
ProcEnviron:
 LANGUAGE=en_SG:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_SG.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gwibber-service']
SourcePackage: gwibber
Title: gwibber-service crashed with TypeError in get_settings_iter(): super() takes at least 1 argument (0 given)
UpgradeStatus: Upgraded to raring on 2012-11-25 (46 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers

Revision history for this message
shankao (shankao) wrote :
tags: removed: need-duplicate-check
Changed in gwibber (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Traceback (most recent call last):
  File "/usr/bin/gwibber-service", line 83, in <module>
    dispatcher = dispatcher.Dispatcher(loop)
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/dispatcher.py", line 396, in __init__
    self.add_account(Account(account))
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/dispatcher.py", line 165, in __init__
    self.on_account_changed (account_service, account)
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/dispatcher.py", line 171, in on_account_changed
    iterator = account.get_settings_iter(None)
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Accounts.py", line 39, in get_settings_iter
    return super().get_settings_iter(prefix)
TypeError: super() takes at least 1 argument (0 given)

Changed in gwibber (Ubuntu):
status: New → Confirmed
information type: Private → Public
Revision history for this message
Jérôme Poulin (jeromepoulin) wrote :

A bit more complete stack trace.

┌─│01:21:08│0│
└──╼ gwibber-service

/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
Traceback (most recent call last):
  File "/usr/bin/gwibber-service", line 83, in <module>
    dispatcher = dispatcher.Dispatcher(loop)
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/dispatcher.py", line 396, in __init__
    self.add_account(Account(account))
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/dispatcher.py", line 165, in __init__
    self.on_account_changed (account_service, account)
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/dispatcher.py", line 171, in on_account_changed
    iterator = account.get_settings_iter(None)
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Accounts.py", line 39, in get_settings_iter
    return super().get_settings_iter(prefix)
TypeError: super() takes at least 1 argument (0 given)

┌─│01:21:11│1│
└──╼

Revision history for this message
Jérôme Poulin (jeromepoulin) wrote :

Some apport infos.

== ProcVersionSignature =================================
Ubuntu 3.8.0-0.2-generic 3.8.0-rc3

== SourcePackage =================================
gwibber

== Tags =================================
 raring

== Uname =================================
Linux 3.8.0-0-generic x86_64

== UpgradeStatus =================================
No upgrade log present (probably fresh install)

== gwibber.log =================================
2013-01-11 01:16:28,408 - root MainThread : INFO - Logger initialized
2013-01-11 01:16:28,408 - Service MainThread : INFO - Service starting
2013-01-11 01:16:28,408 - Service MainThread : INFO - Running from the source tree
2013-01-11 01:16:28,502 - root MainThread : ERROR - Could not find any typelib for Unity
2013-01-11 01:16:28,503 - root MainThread : ERROR - Could not find any typelib for Dbus

Revision history for this message
Xavier ALT (dex-phx) wrote :

Hi,

Traceback seems pretty obvious about the issue - super()... call is wrong, should be super(Account, self)...

See patch attached for a fix.

Cheers,
Xavier

Revision history for this message
Xavier ALT (dex-phx) wrote :

Hi,

I've open a upstream bug for this - seems caused by new "gir1.2-accounts-1.0" (version 1.5), see:

http://code.google.com/p/accounts-sso/issues/detail?id=140&can=1&q=account

Cheers,
Xavier

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "fix super() call" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
affects: gwibber (Ubuntu) → libaccounts-glib (Ubuntu)
Changed in gwibber:
status: New → Invalid
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.