Ticket #445 (closed defect: incomplete)

Opened 4 years ago

Last modified 4 years ago

Log activity: there is already a handler

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

Description

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>
    main.main()
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/main.py", line 132, in main
    single_process.create(activity_handle.get_dict())
  File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.5/site-packages/dbus/connection.py", 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/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/main.py", line 55, in create
    create_activity_instance(self.constructor, handle)
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/main.py", line 34, in create_activity_instance
    activity = constructor(handle)
  File "/home/erikos/sugar-jhbuild/install/share/sugar/activities/Log.activity/logviewer.py", line 322, in __init__
    activity.Activity.__init__(self, handle)
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/activity.py", line 497, in __init__
    self._bus = ActivityService(self)
  File "/home/erikos/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/activityservice.py", line 58, in __init__
    dbus.service.Object.__init__(self, bus_name, object_path)
  File "/usr/lib/python2.5/site-packages/dbus/service.py", line 480, in __init__
    self.add_to_connection(conn, object_path)
  File "/usr/lib/python2.5/site-packages/dbus/service.py", line 571, in add_to_connection
    self._fallback)
KeyError: "Can't register the object-path handler for '/org/laptop/Activity/b015ca6dc25e08ce42d212e37456177025ade100': there is already a handler"

Change History

Changed 4 years ago by erikos

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

Changed 4 years ago by erikos

  • owner changed from marcopg to erikos
  • status changed from new to assigned

Changed 4 years ago by erikos

  • status_field changed from Unconfimed to Needinfo

Changed 4 years ago by erikos

  • version changed from Unspecified to 0.84.x
  • milestone changed from Unspecified by Release Team to 0.84

Changed 4 years ago by wadeb

  • owner changed from erikos to wadeb
  • status changed from assigned to accepted

Changed 4 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.

Changed 4 years ago by erikos

I had problems as well to reproduce it.

Changed 4 years ago by erikos

  • status changed from accepted to closed
  • resolution set to incomplete

Never seen this anymore.

Note: See TracTickets for help on using tickets.