Opened 9 years ago

Closed 8 years ago

#4887 closed defect (fixed)

Connections in telepathy watcher cannot be accessed

Reported by: tch Owned by:
Priority: Normal Milestone: Unspecified
Component: Sugar Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Ubuntu
Bug Status: Unconfirmed


When the journal palettes are being created, it checks whether or not there are friends to be added to the send-to menu. This check is being done via the file_transfer_available helper.

The helper uses the telepathy connection watcher and, under some circunstances that I haven't been able to reproduce, the connections in the watcher cannot be reached via the DBus interface.

When this happens, an unhandled DBusException is thrown, breaking the palette. In other words, the journal palettes are not being displayed anymore until the shell session is restarted.

This issue was noticed running on Ubuntu 14.04.

Change History (3)

comment:1 Changed 9 years ago by tch

The error showed in the shell.log is:

tch@tch-nb:~$ tailf /home/tch/.sugar/default/logs/shell.log 
    friends_menu = FriendsMenu()
  File "/usr/lib/python2.7/dist-packages/jarabe/journal/", line 465, in __init__
    if filetransfer.file_transfer_available():
  File "/usr/lib/python2.7/dist-packages/jarabe/model/", line 300, in file_transfer_available
    properties = properties_iface.GetAll(CONNECTION_INTERFACE_REQUESTS)
  File "/usr/lib/python2.7/dist-packages/dbus/", line 145, in __call__
  File "/usr/lib/python2.7/dist-packages/dbus/", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.15 was not provided by any .service filess

comment:2 Changed 9 years ago by tch

I sent a PR [1] to make the helper more robust, so at least it won't break the journal palettes.


comment:3 Changed 8 years ago by quozl

  • Resolution set to fixed
  • Status changed from new to closed
  • is in 0.107.0
Note: See TracTickets for help on using tickets.