Songs not downloading, even after a local and server rescan, but available via the web
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Client | Status tracked in Trunk | |||||
Stable-1-2 |
Fix Released
|
Critical
|
Guillermo Gonzalez | |||
Trunk |
Fix Released
|
Critical
|
Guillermo Gonzalez | |||
Ubuntu One Servers |
Invalid
|
Critical
|
Guillermo Gonzalez | |||
ubuntuone-client (Ubuntu) |
Fix Released
|
Critical
|
dobey | |||
Lucid |
Fix Released
|
Undecided
|
Unassigned | |||
Maverick |
Fix Released
|
Critical
|
dobey |
Bug Description
jono and bac reported a very similar issue, songs (or entire albums) not downloading but available via the web.
So, the files are on the server but the client isn't downloading them.
-------
WORK AROUND:
Open Applicaitons-
This will put a "placeholder" file in your ~/.ubuntuone/
-------
TEST CASE:
Need to clients to test. Client A & B which are referenced below.
1) Sync Client A
# then start a single client (a.k.a: A) and create a UDF, e.g:
u1sdtool -c
u1sdtool -s (wait to reach idle)
u1sdtool --create-
u1sdtool -s (wait to reach idle)
# create some files and dirs inside $HOME/MyUDF
mkdir $HOME/MyUDF/subdir
mkdir $HOME/MyUDF/subdir2
touch $HOME/MyUDF/
touch $HOME/MyUDF/
# create a file in the root
touch $HOME/MyUDF/foo
u1sdtool -s (wait to reach idle)
2) Sync Client B
# start a second client (probably a different machine), a.k.a: B
u1sdtool -c
u1sdtool -s (wait to reach idle)
# it should download all the files/dirs created in client A
# quit the client B
u1sdtool -q
3) Sync new file on Client A
# on client A, create a new file/dir in the root
touch $HOME/MyUDF/bar
u1sdtool -s (wait to reach idle)
# quit and restart the client A to make sure everything it's ok
u1sdtool -q
u1sdtool -c
u1sdtool -s (wait to reach idle)
# now get the info of the UDF root metadata
u1sdtool --info=$HOME/MyUDF
# keep the output around, we are going to need the 'server_hash' value for the next step
4) Run md_server.py script (http://
# on client B, we need to fake a interrupted download
# use the server_hash from the previous step (from client A)
python md_server.py $HOME/MyUDF <server_hash>
5) Sync Client B (again)
# still on client B, let's start syncdaemon again
u1sdtool -c
u1sdtool -s (wait to reach idle)
# with the current version of ubuntuone-client we should see that the new file ($HOME/MyUDF/bar) wasn't downloaded on client B
6) Sync Client B with fix
# using the fix on #571548, we should get the new file downloaded to client B
# to check this, run:
u1sdtool -q
# get a fresh copy of trunk or the branch linked to #571548 and run:
ln -s /usr/lib/
PYTHONPATH=. bin/ubuntuone-
u1sdtool -c
u1sdtool -s (wait to reach idle)
Expected result: $HOME/MyUDF/bar is on Client B
-------
Related branches
- Rodrigo Moya (community): Approve
- Tim Cole (community): Approve
- Natalia Bidart (community): Approve
-
Diff: 207 lines (+104/-13)3 files modifiedcontrib/testing/testcase.py (+7/-8)
tests/syncdaemon/test_localrescan.py (+78/-5)
ubuntuone/syncdaemon/local_rescan.py (+19/-0)
- Tim Cole (community): Approve
- Natalia Bidart (community): Approve
-
Diff: 207 lines (+104/-13)3 files modifiedcontrib/testing/testcase.py (+7/-8)
tests/syncdaemon/test_localrescan.py (+78/-5)
ubuntuone/syncdaemon/local_rescan.py (+19/-0)
tags: |
added: foundations+ removed: founda |
Changed in ubuntuone-servers: | |
assignee: | nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+) |
Changed in ubuntuone-servers: | |
status: | New → Invalid |
Changed in ubuntuone-client: | |
importance: | Undecided → Critical |
assignee: | nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+) |
status: | New → Triaged |
assignee: | Ubuntu One Foundations+ team (ubuntuone-foundations+) → Guillermo Gonzalez (verterok) |
Changed in ubuntuone-client: | |
status: | Triaged → In Progress |
tags: | added: u1-lucid-sru |
Changed in ubuntuone-client: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-client (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → Confirmed |
milestone: | none → lucid-updates |
assignee: | nobody → Rodney Dawes (dobey) |
description: | updated |
description: | updated |
description: | updated |
visibility: | private → public |
description: | updated |
tags: | added: current-trouble |
tags: | added: patch |
tags: |
added: verification-done removed: verification-needed |
Changed in ubuntuone-client (Ubuntu Maverick): | |
milestone: | none → maverick-alpha-2 |
tags: | added: testcase |
To work around this, the artist folder was created manually, and a file was created inside it.
IMO, only the first step was needed to trigger the download.