KeyError: '/home/stub/.ubuntuone/Purchased from Ubuntu One

Bug #556388 reported by Stuart Bishop
76
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Confirmed
Undecided
Ubuntu One Foundations+ team

Bug Description

From ~/.cache/ubuntuone/log$ less syncdaemon-exceptions.log

2010-04-03 18:46:56,597 - ubuntuone-preferences - ERROR - DesktopCouch replication API not found
2010-04-03 18:46:58,638 - ubuntuone-preferences - ERROR - [Failure instance: Traceback (failure with no frames): <class 'dbus.exceptions.DBusException'>: org.freedesktop.DBus.Python.KeyError: 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 1294, in get_info
    mdobj = self.fs.get_by_path(path.encode('utf-8'))
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py", line 549, in get_by_path
    mdid = self._idx_path[path]
KeyError: '/home/stub/.ubuntuone/Purchased from Ubuntu One'

]

Things do seem to be syncing though.

Revision history for this message
Duane Hinnen (duanedesign) wrote :

Lucid - 2.6.32-19-generic
ii ubuntuone-client 1.1.91+r479-0ubuntu1~ppa1~lucid Ubuntu One client

I can confirm this. I am receiving a similar error.

2010-04-08 12:18:53,287 - ubuntuone-preferences - ERROR - [Failure instance: Traceback (failure with no frames): <class 'dbus.exceptions.DBusException'>: org.freedesktop.DBus.Python.KeyError: 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 1294, in get_info
    mdobj = self.fs.get_by_path(path.encode('utf-8'))
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py", line 549, in get_by_path
    mdid = self._idx_path[path]
KeyError: '/home/duanedesign/.ubuntuone/Purchased from Ubuntu One'

Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+)
Changed in ubuntuone-client:
status: New → Confirmed
summary: - KeyError exception in syncdaemon-exceptions.log
+ KeyError: '/home/stub/.ubuntuone/Purchased from Ubuntu One
Revision history for this message
Wolfgang Silbermayr (silwol) wrote :

I receive the same error, although it does *not* sync anything in contrary to the original bug report. The error occurs on a nearly blank new install of Ubuntu 10.04.

Revision history for this message
d selby (kbmaniac) wrote :

Same problem here, same error message, totally fails to sync, its a show stopper for ubuntu one in my book

Revision history for this message
blurry (brendan-robert) wrote :

New Lucid install, bought music from Ubuntu One store and cannot sync files with Ubuntu One now.

Revision history for this message
William (williamvoor) wrote :

Still seeing the same error here and things are NOT syncing. Any news on this bug?

Revision history for this message
blurry (brendan-robert) wrote : Re: [Bug 556388] Re: KeyError: '/home/stub/.ubuntuone/Purchased from Ubuntu One

It's cleared up for me from a week or so after I reported it. There was a
bugfix in the python pieces, and that seemed to do the trick.
 My apologies if the bug was left open erroneously on my part, I figured it
would have been flagged as a dupe.

-Brendan

On Wed, Aug 4, 2010 at 11:43 PM, William <email address hidden> wrote:

> Still seeing the same error here and things are NOT syncing. Any news on
> this bug?
>
> --
> KeyError: '/home/stub/.ubuntuone/Purchased from Ubuntu One
> https://bugs.launchpad.net/bugs/556388
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu One Client: Confirmed
>
> Bug description:
> >From ~/.cache/ubuntuone/log$ less syncdaemon-exceptions.log
>
> 2010-04-03 18:46:56,597 - ubuntuone-preferences - ERROR - DesktopCouch
> replication API not found
> 2010-04-03 18:46:58,638 - ubuntuone-preferences - ERROR - [Failure
> instance: Traceback (failure with no frames): <class
> 'dbus.exceptions.DBusException'>: org.freedesktop.DBus.Python.KeyError:
> 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 1294, in get_info
> mdobj = self.fs.get_by_path(path.encode('utf-8'))
> File
> "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py",
> line 549, in get_by_path
> mdid = self._idx_path[path]
> KeyError: '/home/stub/.ubuntuone/Purchased from Ubuntu One'
>
> ]
>
>
> Things do seem to be syncing though.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntuone-client/+bug/556388/+subscribe
>

Revision history for this message
Christian Reinsfelt (reinsfelt) wrote :

Experiencing same issue in Maverick. Songs containing Norwegian characters æ ø å Æ Ø Å do not download/sync.

ubuntuone-client 1.3.6-0ubuntu2
libsyncdaemon-1.0.-1 1.3.6-0ubuntu2

From ~/.cache/ubuntuone/log/syncdaemon-exceptions.log (file giving error is Vadsø.mp3):

2010-08-09 18:27:36,019 - ubuntuone.SyncDaemon.sync - ERROR - -:-:- - ['0a192dc4-2dc1-44b3-9aeb-632b0f94ce42'::'a168d98e-158d-4616-9e5a-df588cdbb912'] ''-'' | Executing ACTION_FUNC 'server_moved' gave an exception: KeyError(u'/home/christian/.ubuntuone/Purchased from Ubuntu One/Banana Airlines/Banana Airlines Beste/Vads\xf8.mp3',)
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/fsm/fsm.py", line 137, in on_event
    af(event_name, parameters, *args)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/sync.py", line 745, in server_moved
    self.key.move_file(new_share_id, new_parent_id, new_name)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/sync.py", line 184, in move_file
    self.fs.move_file(new_share_id, source_path, dest_path)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py", line 658, in move_file
    self.moved(new_share_id, path_from, path_to)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py", line 674, in moved
    mdid = self._idx_path.pop(path_from)
KeyError: u'/home/christian/.ubuntuone/Purchased from Ubuntu One/Banana Airlines/Banana Airlines Beste/Vads\xf8.mp3'
2010-08-09 18:27:36,020 - ubuntuone.SyncDaemon.sync - ERROR - Node delta for 0a192dc4-2dc1-44b3-9aeb-632b0f94ce42:a168d98e-158d-4616-9e5a-df588cdbb912 can't be applied.
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/sync.py", line 1142, in handle_AQ_DELTA_OK
    self.m.fs.set_by_mdid(node.mdid, generation=dt.generation)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py", line 605, in set_by_mdid
    mdobj = self.fs[mdid]
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/file_shelf.py", line 226, in __getitem__
    value = super(CachedFileShelf, self).__getitem__(key)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/file_shelf.py", line 144, in __getitem__
    return self._load_pickle(key, self.key_file(key))
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/file_shelf.py", line 138, in _load_pickle
    raise KeyError(key)
KeyError: 'c8228ace-5bb1-417e-bfd9-adf75ff1dbd0'

Rest of syncdaemon-exceptions.log with more examples attached.

Revision history for this message
daqron (daqron) wrote :

Same problem here. I took everything out of the U1 folder and tried just syncing one file with no weird characters, and still no luck. Nothing syncs at all. Just the grey "!" icon on my Ubuntu One folder and everything in it.

Revision history for this message
Duane Hinnen (duanedesign) wrote :

daqron,
Could you please file a separate bug report. Sounds like your issue is not related to this one. That way we can take a look at your logs and debug the problem. Please run the following command to file the bug:

ubuntu-bug ubuntuone-client

Please attach the logs to the report you file. Just right-click and 'compress' your $HOME/.cache/ubuntuone/log/ folder and attach the archive here. This will help in debugging your issue.

thank you,
duanedesign

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.