gajim doesn't start after first launch

Bug #1087917 reported by Maksim Kasherny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gajim (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After one(first) normal start and working process, create of some dirs in ~/.config, configuring app and closing it; gajim won't more run, cleaning of config files and dirs doesn't help; the same problem appears after first run;

What gajim prints in terminal...
 and
$ gajim
/usr/share/gajim/src/common/demandimport.py:95: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:

    from dbus.mainloop.glib import DBusGMainLoop

    DBusGMainLoop(set_as_default=True)

  return _import(name, globals, locals, fromlist, level)
Traceback (most recent call last):
  File "gajim.py", line 448, in <module>
    interface = Interface()
  File "/usr/share/gajim/src/gui_interface.py", line 2610, in __init__
    cfg_was_read = parser.read()
  File "/usr/share/gajim/src/common/optparser.py", line 79, in read
    self.update_config(old_version, new_version)
  File "/usr/share/gajim/src/common/optparser.py", line 234, in update_config
    caps_cache.capscache.initialize_from_db()
  File "/usr/share/gajim/src/common/caps_cache.py", line 389, in initialize_from_db
    self._remove_outdated_caps()
  File "/usr/share/gajim/src/common/caps_cache.py", line 401, in _remove_outdated_caps
    self.logger.clean_caps_table()
  File "/usr/share/gajim/src/common/logger.py", line 929, in clean_caps_table
    self.simple_commit(sql)
  File "/usr/share/gajim/src/common/logger.py", line 170, in simple_commit
    self.cur.execute(sql_to_commit)
sqlite3.OperationalError: no such column: last_seen
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 66, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/share/gajim/src/common/demandimport.py", line 95, in _demandimport
    return _import(name, globals, locals, fromlist, level)
  File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 1, in <module>
    from apport.report import Report
  File "/usr/share/gajim/src/common/demandimport.py", line 114, in _demandimport
    mod = _origimport(name, globals, locals)
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 155, in <module>
    class Report(problem_report.ProblemReport):
  File "/usr/share/gajim/src/common/demandimport.py", line 86, in __getattribute__
    self._load()
  File "/usr/share/gajim/src/common/demandimport.py", line 58, in _load
    mod = _origimport(head, globals, locals)
  File "/usr/lib/python2.7/dist-packages/problem_report.py", line 93, in <module>
    class ProblemReport(UserDict):
TypeError: Error when calling the metaclass bases
    module.__init__() takes at most 2 arguments (3 given)

Original exception was:
Traceback (most recent call last):
  File "gajim.py", line 448, in <module>
    interface = Interface()
  File "/usr/share/gajim/src/gui_interface.py", line 2610, in __init__
    cfg_was_read = parser.read()
  File "/usr/share/gajim/src/common/optparser.py", line 79, in read
    self.update_config(old_version, new_version)
  File "/usr/share/gajim/src/common/optparser.py", line 234, in update_config
    caps_cache.capscache.initialize_from_db()
  File "/usr/share/gajim/src/common/caps_cache.py", line 389, in initialize_from_db
    self._remove_outdated_caps()
  File "/usr/share/gajim/src/common/caps_cache.py", line 401, in _remove_outdated_caps
    self.logger.clean_caps_table()
  File "/usr/share/gajim/src/common/logger.py", line 929, in clean_caps_table
    self.simple_commit(sql)
  File "/usr/share/gajim/src/common/logger.py", line 170, in simple_commit
    self.cur.execute(sql_to_commit)
sqlite3.OperationalError: no such column: last_seen

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gajim 0.15-1
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic-pae 3.2.30
Uname: Linux 3.2.0-32-generic-pae i686
ApportVersion: 2.0.1-0ubuntu15
Architecture: i386
CheckboxSubmission: a1062a498e0e3d51f9039ae47e5da677
CheckboxSystem: e704f33cc0866ff0f0256a33de39ea1c
Date: Sat Dec 8 12:43:35 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=ru:ru_RU:en_GB:en
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: gajim
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Maksim Kasherny (jmaks) wrote :
Revision history for this message
Daniel (wurstsalat3000) wrote :

Please update to a recent version of Gajim.

Changed in gajim (Ubuntu):
status: New → Fix Released
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.