** Description changed:

  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:
- 1. Open Places->Home
- 2. In your home folder, press Ctrl-h to show hidden folders
- 3. Double-click on the "Purchased from Ubuntu One" folder
- 4. Right-click and select "Create Folder" and give the folder any name
- 5. Open Applicaitons->Accessories->Terminal and run: u1sdtool --quit; 
u1sdtool -d; u1sdtool --start; u1sdtool -c
+ Open Applicaitons->Accessories->Terminal and run: touch 
~/.ubuntuone/Purchased\ from\ Ubuntu\ One/placeholder; u1sdtool -q; u1sdtool -c
+ 
+ This will put a "placeholder" file in your ~/.ubuntuone/Purchased from
+ Ubuntu One/ folder and then force the syncdaemon to reconnect and try to
+ sync that folder.
  
  -----------------------------------------------
  
  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-folder=$HOME/MyUDF
  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/subdir/bar
  touch $HOME/MyUDF/subdir2/foo
  # 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://launchpadlibrarian.net/48350344/md_server.py)
  # 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/python2.6/dist-packages/ubuntuone/storageprotocol 
ubuntuone/storageprotocol
  PYTHONPATH=. bin/ubuntuone-syncdaemon &
  u1sdtool -c
  u1sdtool -s (wait to reach idle)
  
  Expected result: $HOME/MyUDF/bar is on Client B
  
  -----------------------------------------------

-- 
Songs not downloading, even after a local and server rescan, but available via 
the web
https://bugs.launchpad.net/bugs/571548
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to