Opened 12 years ago

Closed 12 years ago

Last modified 8 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

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 (9)

comment:1 Changed 12 years ago by erikos

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

comment:2 Changed 12 years ago by erikos

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

comment:3 Changed 12 years ago by erikos

  • Bug Status changed from Unconfimed to Needinfo

comment:4 Changed 12 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 12 years ago by wadeb

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

comment:6 Changed 12 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 12 years ago by erikos

I had problems as well to reproduce it.

comment:8 Changed 12 years ago by erikos

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

Never seen this anymore.

comment:9 Changed 8 years ago by godiard

  • Milestone 0.84 deleted

Milestone 0.84 deleted

Note: See TracTickets for help on using tickets.