Volume info with None as the free space causes syncdaemon to emit QuotaExceeded
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Client | Status tracked in Trunk | |||||
Stable-1-4 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Medium
|
Ubuntu One Client Engineering team | |||
ubuntuone-client (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | |||
Maverick |
Fix Released
|
Medium
|
dobey | |||
Natty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Most of the users experiencing bug LP:650671 have stale metadata info with None as the free space. This causes syncdaemon to emit QuotaExceeded for each and every file added to the storage. This happens since None < 0 == True.
I believe syncdaemon should not react that bad upon its own outdated metadata.
----
TEST CASE:
1. Open Applications > Accessories > Terminal and run:
u1sdtool -q
cd /tmp
wget https:/
python 671023_test.py
u1sdtool -c
echo "test" > ~/Ubuntu\ One/671023.txt
Result: Syncdaemon emits QuotaExceeded (ubuntuone.
Expected result: Syncdaemon doesn't emit QuotaExceeded
----
Related branches
- Roman Yepishev (community): Approve (code)
- dobey (community): Approve
-
Diff: 70 lines (+20/-3)3 files modifiedtests/syncdaemon/test_action_queue.py (+17/-0)
ubuntuone/platform/linux/dbus_interface.py (+2/-2)
ubuntuone/syncdaemon/action_queue.py (+1/-1)
- Roman Yepishev (community): Approve (code)
- dobey (community): Approve
-
Diff: 47 lines (+18/-1)2 files modifiedtests/syncdaemon/test_action_queue.py (+17/-0)
ubuntuone/syncdaemon/action_queue.py (+1/-1)
tags: | added: support u1-maverick-sru |
tags: | added: foundations+ |
Changed in ubuntuone-client (Ubuntu Natty): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ubuntuone-client (Ubuntu Maverick): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ubuntuone-client (Ubuntu Maverick): | |
assignee: | nobody → Rodney Dawes (dobey) |
milestone: | none → maverick-updates |
status: | Triaged → In Progress |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
This bug was fixed in the package ubuntuone-client - 1.5.1-0ubuntu1
---------------
ubuntuone-client (1.5.1-0ubuntu1) natty; urgency=low
* New upstream release.
- Add syncdaemon autoconnect option (LP: #688694)
- SSO help text does not appear translated in UI (LP: #686647)
- QuotaExceeded warning appears when free space is 'None' (LP: #671023)
- Syncdaemon needs to store events in zeitgeist (LP: #674252)
- Deleting volume on one computer doesn't elsewhere (LP: #674092)
-- Rodney Dawes <email address hidden> Tue, 14 Dec 2010 14:57:03 -0500