Comment 10 for bug 479475

Revision history for this message
Roman Yepishev (rye) wrote :

Emblems are also misleading in the following cases:
 * u1conflict files
 * .u1partial (in case hidden files are displayed)
 * symlinks (Shared With Me) folder.

While the first two should get completely different emblems (new bug report?), the symlink item is more interesting.

Syncdaemon does NOT handle paths '$HOME/Ubuntu One/Shared with Me/$share from $user' resulting in KeyError:
(nautilus:9978): UbuntuOne-Nautilus-WARNING **: ERROR: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 626, in get_metadata
    mdobj = self.fs_manager.get_by_path(path.encode('utf-8'))
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py", line 521, in get_by_path
    mdid = self._idx_path[path]
KeyError: '/home/rtg/Ubuntu One/Shared With Me'

(nautilus:9978): UbuntuOne-Nautilus-WARNING **: ERROR: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 626, in get_metadata
    mdobj = self.fs_manager.get_by_path(path.encode('utf-8'))
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py", line 521, in get_by_path
    mdid = self._idx_path[path]
KeyError: '/home/rtg/Ubuntu One/Shared With Me/Study from User/cryptography'

Therefore it is not possible to find out whether the file is uploading, downloading or really synchronized if it is in shared folder.
I guess this is a different bug, but it is worth mentioning here, since this falls into a category of "emblems don't display correct sync status".