gwibber-accounts crashed with TypeError in account_show()

Bug #611804 reported by Dooitze de Jong
46
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gwibber (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: gwibber

The integration with Buzz and facebook doesn't work

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: gwibber 2.31.3-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-12.17-server 2.6.35-rc6
Uname: Linux 2.6.35-12-server x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri Jul 30 20:11:56 2010
ExecutablePath: /usr/bin/gwibber-accounts
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gwibber-accounts
ProcEnviron:
 SHELL=/bin/bash
 LC_MESSAGES=nl_NL.utf8
 LANGUAGE=nl_NL.utf8
 LANG=nl_NL.utf8
PythonArgs: ['/usr/bin/gwibber-accounts']
SourcePackage: gwibber
Title: gwibber-accounts crashed with TypeError in account_show()
UserGroups: adm admin audio cdrom dialout dip fax floppy ftp fuse libvirtd lpadmin netdev plugdev sambashare tape video www-data

Revision history for this message
Dooitze de Jong (dooitze) wrote :
visibility: private → public
Revision history for this message
Dooitze de Jong (dooitze) wrote :

Source Code Gwibber-Accounts

#!/usr/bin/python
#
# Copyright (C) 2010 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (C) 2010 Ken VanDine <email address hidden>
#
# Launch script for Gwibber Accounts
#

import sys
from os.path import join, dirname, exists, realpath, abspath
import gtk, gobject, wnck
from dbus.mainloop.glib import DBusGMainLoop

######################################################################
# Don't run again if we are already running
progname = "gwibber-accounts"
screen = wnck.screen_get_default()
while gtk.events_pending():
  gtk.main_iteration()
for w in screen.get_windows():
  if w.get_application().get_name() == progname:
    import time
    w.move_to_workspace(screen.get_active_workspace())
    w.activate(int(time.time()))
    print int(time.time())
    quit()

######################################################################
# Setup path
LAUNCH_DIR = abspath(sys.path[0])
SOURCE_DIR = join(LAUNCH_DIR, "..", "gwibber")

# If we were invoked from a Gwibber source directory add that as the
# preferred module path ...
if exists(join(SOURCE_DIR, "accounts.py")):
    sys.path.insert(0, realpath(dirname(SOURCE_DIR)))
    try:
        from gwibber.microblog.util import log
        log.logger.name = "Gwibber Accounts"
        log.logger.info("Running from the source tree")
        from gwibber import accounts
    finally:
        del sys.path[0]
else:
    from gwibber.microblog.util import log
    log.logger.name = "Gwibber Accounts"
    log.logger.info("Running from the system path")
    from gwibber import accounts

######################################################################
# Options
from optparse import OptionParser
parser = OptionParser()
parser.add_option("-d", "--debug", action="store_true",
                  dest="debug", default=False,
                  help="Log debug messages")
(options, args) = parser.parse_args()

if options.debug:
  log.logger.setLevel(log.logging.DEBUG)
else:
  log.logger.setLevel(log.logging.INFO)
######################################################################

DBusGMainLoop(set_as_default=True)
accounts.GwibberAccountManager()
gtk.main()

Revision history for this message
Dooitze de Jong (dooitze) wrote :

Debugging the app ** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)

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

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

** (gwibber-accounts:8259): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
/usr/lib/python2.6/dist-packages/gwibber/accounts.py:49: Warning: invalid (NULL) pointer instance
  self.ui.add_from_file(resources.get_ui_asset("gwibber-accounts-dialog.ui"))
/usr/lib/python2.6/dist-packages/gwibber/accounts.py:49: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.ui.add_from_file(resources.get_ui_asset("gwibber-accounts-dialog.ui"))

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

just got the same crash

Changed in gwibber (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
tags: removed: need-duplicate-check
Revision history for this message
Omer Akram (om26er) wrote :

why are you posting gwibber source code in bug reports? are you proposing a fix?

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

Please can you check if this behaviour is still occurring with latest release 2.32.2-0ubuntu2 included in Ubuntu Maverick?

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

Any news about this issue? are you still facing this behaviour?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gwibber (Ubuntu) because there has been no activity for 60 days.]

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