KeyError in metadata upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Fix Released
|
Medium
|
Guillermo Gonzalez |
Bug Description
I was getting an error from the applet and it wouldn't connect so I decided to apt-get purge it. After doing that I reinstalled but found that I couldn't reconnect. I tried purging again, deleting the Ubuntu One folder and reinstalling. I still couldn't connect so I used a fix I found on launchpad and deleted the authorising key in seahorse. This allowed me to reconnect with ubuntuone (via the web page). However the Ubuntu One folder hasn't been recreated so I tried recreating it manually. This doesn't work though as nothing gets synced to in even though in nautilus it shows the connect button (which greys showing 'connecting' when clicked). If I left-click on the applet it crashes and apport pops up. That is where I'm at now.
You can ask me to perform any neccecary test.
ProblemType: Bug
Architecture: i386
CrashDB: ubuntuone
DistroRelease: Ubuntu 9.04
Package: ubuntuone-client 0.95.0+
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntuone-client
ThirdParty: True
Uname: Linux 2.6.28-15-generic i686
UnreportableReason: This is not a genuine Ubuntu package
Related branches
- Facundo Batista (community): Approve
- Natalia Bidart (community): Approve
-
Diff: 292 lines (+158/-34)4 files modifiedtests/syncdaemon/test_fileshelf.py (+39/-3)
tests/syncdaemon/test_vm.py (+71/-1)
ubuntuone/syncdaemon/file_shelf.py (+9/-0)
ubuntuone/syncdaemon/volume_manager.py (+39/-30)
summary: |
- applet crashes on left clicking + KeyError in metadata upgrade |
Changed in ubuntuone-client: | |
assignee: | nobody → Guillermo Gonzalez (verterok) |
status: | New → Triaged |
Changed in ubuntuone-client: | |
status: | Confirmed → Incomplete |
tags: | added: broken-metadata |
Changed in ubuntuone-client: | |
status: | Incomplete → Fix Committed |
Changed in ubuntuone-client: | |
status: | Fix Committed → Fix Released |
Hi,
Thanks for trying Ubuntu One!
The issue seems to be related to broken metadata. (possibly caused by an old version of the client)
As you already deleted all the files, the actually fix/workaround would be delete also syncdaemon metadata, as it looks like it's broked in some way, to be more precise the shares/shared folders metadata.
The metadata is located at: ~/.cache/ ubuntuone/ syncdaemon/ ubuntuone/ syncdaemon/
please do a backup of it and then: rm -Rf ~/.cache/
I'll work on a fix to discard broken metadata during metadata migration.
Regards,