zeitgeist interface changed, AttributeError: 'Symbol' object has no attribute 'MODIFY_EVENT'

Bug #814820 reported by Chad Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-dbus
Fix Released
High
Jelmer Vernooij
bzr-dbus (Ubuntu)
Fix Released
High
Jelmer Vernooij

Bug Description

zeitgeist in oneiric, 0.8.1-1ubuntu1 .

$ bzr commit

bzr: ERROR: exceptions.AttributeError: 'Symbol' object has no attribute 'MODIFY_EVENT'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 3316, in run
    lossy=lossy)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 217, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/workingtree_4.py", line 209, in commit
    result = WorkingTree.commit(self, message, revprops, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 217, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/mutabletree.py", line 210, in commit
    *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commit.py", line 289, in commit
    lossy=lossy)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 131, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commit.py", line 481, in _commit
    self._process_post_hooks(old_revno, new_revno)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commit.py", line 587, in _process_post_hooks
    self._process_hooks("post_commit", old_revno, new_revno)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commit.py", line 626, in _process_hooks
    self.rev_id)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/dbus/hook.py", line 103, in on_post_commit
    interpretation = Interpretation.MODIFY_EVENT
  File "/usr/lib/pymodules/python2.7/zeitgeist/datamodel.py", line 143, in __getattr__
    raise AttributeError("'%s' object has no attribute '%s'" %(self.__class__.__name__, name))
AttributeError: 'Symbol' object has no attribute 'MODIFY_EVENT'

 dbus 0.1.0dev
   D-Bus integration for bzr/bzrlib.
    /usr/lib/python2.7/dist-packages/bzrlib/plugins/dbus

BzrVersion: 2.4b5
CommandLine: ['/usr/bin/bzr', 'commit']
CrashDb: bzr
Date: Fri Jul 22 17:15:12 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InterpreterPath: /usr/bin/python2.7
Locale: en_US.UTF-8

Chad Miller (cmiller)
Changed in bzr-dbus (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
description: updated
Jelmer Vernooij (jelmer)
Changed in bzr-dbus:
status: New → Triaged
importance: Undecided → High
Changed in bzr-dbus (Ubuntu):
importance: Medium → High
status: Confirmed → Triaged
Changed in bzr-dbus:
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Travis Glenn Hansen (travisghansen) wrote :

I'm seeing this for all my datasources for example...

Traceback (most recent call last):
  File "/usr/lib64/gedit-2/plugins/zeitgeist_plugin.py", line 71, in TabRemovedHandler
    self.SendToZeitgeist(doc, Interpretation.LEAVE_EVENT)
  File "/usr/lib64/python2.7/site-packages/zeitgeist/datamodel.py", line 143, in __getattr__
    raise AttributeError("'%s' object has no attribute '%s'" %(self.__class__.__name__, name))
AttributeError: 'Symbol' object has no attribute 'LEAVE_EVENT'

I can no longer open GAJ either with similar output.

Jelmer Vernooij (jelmer)
Changed in bzr-dbus:
status: Triaged → Fix Committed
Changed in bzr-dbus (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzr-dbus - 0.1~bzr51-1

---------------
bzr-dbus (0.1~bzr51-1) unstable; urgency=low

  * New upstream snapshot.
   + Removes zeitgeist support, which is incompatible with newer versions
     of zeitgeist and also provided by zeitgeist-datasource-bzr. LP: #814820

bzr-dbus (0.1~bzr50-2) unstable; urgency=low

  * Add dependency on gobject. Closes: #637607
 -- Jelmer Vernooij <email address hidden> Wed, 31 Aug 2011 16:14:56 +0000

Changed in bzr-dbus (Ubuntu):
status: In Progress → Fix Released
Jelmer Vernooij (jelmer)
Changed in bzr-dbus:
status: Fix Committed → 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.