Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#445 closed defect (incomplete)

Log activity: there is already a handler

Reported by: erikos Owned by: wadeb
Priority: Unspecified by Maintainer Milestone:
Component: Sugar Version: 0.84.x
Severity: Major Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Needinfo


I had the Log activity open and was switching between it and Browse using the Frame. After I while I had the launcher of the Log activity again and it could not start. So I stopped it using the button in the Frame. After that I could not start another Log activity anymore in this session.

[erikos@beet ~]$ cat .sugar/default/logs/org.laptop.Log-2.log 
Traceback (most recent call last):
  File "/home/erikos/sugar-jhbuild/install/bin/sugar-activity", line 21, in <module>
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/", line 132, in main
  File "/usr/lib/python2.5/site-packages/dbus/", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.5/site-packages/dbus/", line 140, in __call__
  File "/usr/lib/python2.5/site-packages/dbus/", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/dbus/", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/", line 55, in create
    create_activity_instance(self.constructor, handle)
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/", line 34, in create_activity_instance
    activity = constructor(handle)
  File "/home/erikos/sugar-jhbuild/install/share/sugar/activities/Log.activity/", line 322, in __init__
    activity.Activity.__init__(self, handle)
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/", line 497, in __init__
    self._bus = ActivityService(self)
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/", line 58, in __init__
    dbus.service.Object.__init__(self, bus_name, object_path)
  File "/usr/lib/python2.5/site-packages/dbus/", line 480, in __init__
    self.add_to_connection(conn, object_path)
  File "/usr/lib/python2.5/site-packages/dbus/", line 571, in add_to_connection
KeyError: "Can't register the object-path handler for '/org/laptop/Activity/b015ca6dc25e08ce42d212e37456177025ade100': there is already a handler"

Change History (9)

comment:1 Changed 15 years ago by erikos

Hmm, I am not really sure how to reproduce this - had no luck so far :/

comment:2 Changed 15 years ago by erikos

  • Owner changed from marcopg to erikos
  • Status changed from new to assigned

comment:3 Changed 15 years ago by erikos

  • Bug Status changed from Unconfimed to Needinfo

comment:4 Changed 15 years ago by erikos

  • Milestone changed from Unspecified by Release Team to 0.84
  • Version changed from Unspecified to 0.84.x

comment:5 Changed 15 years ago by wadeb

  • Owner changed from erikos to wadeb
  • Status changed from assigned to accepted

comment:6 Changed 15 years ago by wadeb

I'm unable to repro this with Log v17 which is GIO based. Can someone try to repro it with an earlier version?

If it happens in older versions of Log, the best fix is probably to update 0.84 with Log v17.

comment:7 Changed 15 years ago by erikos

I had problems as well to reproduce it.

comment:8 Changed 15 years ago by erikos

  • Resolution set to incomplete
  • Status changed from accepted to closed

Never seen this anymore.

comment:9 Changed 11 years ago by godiard

  • Milestone 0.84 deleted

Milestone 0.84 deleted

Note: See TracTickets for help on using tickets.