volume_manager.py, sometimes share is a dict, and sometims a _Share
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Fix Released
|
High
|
Guillermo Gonzalez | ||
ubuntuone-client (Ubuntu) |
Fix Released
|
High
|
dobey |
Bug Description
Binary package hint: ubuntuone-client
After deleting keys to work around bug #529629, /usr/bin/python /usr/lib/
File "/usr/lib/
if share.path == self._root_dir or share.id == '':
AttributeError: 'dict' object has no attribute 'path'
After adding this at line 1341 it started working:
if type(share) is dict:
return Shared(
I presume it is not by design that share is sometimes a dict and sometimes a _Share, so I am submitting a bug rather than a patch.
ProblemType: Bug
.home.rick.
.home.rick.
[bandwidth_
read_limit = 0
write_limit = 0
on = False
.home.rick.
[ubuntuone]
connected = False
connect = 0
show_applet = 0
bookmarked = True
Architecture: i386
Date: Sun Feb 28 15:52:07 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091209)
NonfreeKernelMo
Package: ubuntuone-client 1.1.2-0ubuntu2
PackageArchitec
ProcEnviron:
LANG=C
SHELL=/bin/bash
ProcVersionSign
SourcePackage: ubuntuone-client
Uname: Linux 2.6.32-14-generic i686
Related branches
- Rick McBride (community): Approve
- Tim Cole (community): Approve
-
Diff: 186 lines (+135/-8)2 files modifiedtests/syncdaemon/test_vm.py (+116/-0)
ubuntuone/syncdaemon/volume_manager.py (+19/-8)
- 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)
tags: | added: broken-metadata |
tags: | added: u1-lucid |
tags: | added: chicharra |
tags: | added: package |
Changed in ubuntuone-client: | |
status: | Triaged → In Progress |
Changed in ubuntuone-client (Ubuntu): | |
assignee: | nobody → Guillermo Gonzalez (verterok) |
status: | Confirmed → In Progress |
Changed in ubuntuone-client: | |
milestone: | none → lucid-beta-2 |
Changed in ubuntuone-client (Ubuntu): | |
milestone: | none → ubuntu-10.04-beta-2 |
Changed in ubuntuone-client: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-client: | |
status: | Fix Committed → In Progress |
Changed in ubuntuone-client (Ubuntu): | |
assignee: | Guillermo Gonzalez (verterok) → Rodney Dawes (dobey) |
Changed in ubuntuone-client: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-client (Ubuntu): | |
status: | In Progress → Fix Released |
tags: | removed: package |
Changed in ubuntuone-client: | |
status: | Fix Committed → Fix Released |
Hi Rick,
After reading the #ubuntuone backlog, looks like a partial metadata upgrade (something broke during the metadata upgrade).
can you check if there are any logs of the first failure? (before getting this error)
Thanks.