KeyError in metadata upgrade

Bug #430964 reported by sampattuzzi
10
This bug affects 2 people
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+r213-0ubuntu1~ppa2~jaunty
PackageArchitecture: all
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

Revision history for this message
sampattuzzi (sam-pattuzzi) wrote :
dobey (dobey)
summary: - applet crashes on left clicking
+ KeyError in metadata upgrade
Changed in ubuntuone-client:
assignee: nobody → Guillermo Gonzalez (verterok)
status: New → Triaged
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

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/
please do a backup of it and then: rm -Rf ~/.cache/ubuntuone/syncdaemon/

I'll work on a fix to discard broken metadata during metadata migration.

Regards,

Changed in ubuntuone-client:
status: Triaged → Confirmed
importance: Undecided → Medium
tags: added: ubuntuone-karmic
tags: removed: ubuntuone-karmic
tags: added: foundations+
Revision history for this message
sampattuzzi (sam-pattuzzi) wrote :

Excellent, thanks for the prompt reply. I will try that out as soon as I can.

Changed in ubuntuone-client:
status: Confirmed → Incomplete
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

sampatuzzi, any news on your testing?

Guillermo, is the fix already deployed?

tags: added: broken-metadata
Changed in ubuntuone-client:
status: Incomplete → Fix Committed
Revision history for this message
Roman Yepishev (rye) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 506559, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in ubuntuone-client:
status: Fix Committed → Confirmed
status: Confirmed → Fix Committed
tags: added: bugpattern-invalid-duplicate
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
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.