** Description changed:

  Running 1.1.0+r306-0ubuntu1~ppa1~karmic on 32-bit Karmic the bandwidth
  usage/throttling settings are not saved properly every time. In
  particular, the upload (write_limit) setting does not get saved properly
- after attempting to change and save the value a couple of times.
+ after attempting to change and save the value a couple of times. In some
+ cases, users see the settings saved to "0", which doesn't allow the
+ client to connect any longer and will produce the following syncdaemon-
+ exceptions.log entry, when the read_limit is at 0 and the write_limit is
+ greater than 0:
  
- Steps to reproduce:
+ File "/usr/lib/python2.6/dist-packages/ubuntuone/storageprotocol/client.py", 
line 1462, in checkReadBandwidth
+     throttle_time = (float(self.readThisSecond) / self.readLimit) - 1.0
+ exceptions.ZeroDivisionError: float division
+ 
+ ----------------------------------------------------------
+ 
+ WORK AROUND
+ 
+ 1. Quit the Ubuntu One client
+ 2. Delete the file: ~/.config/ubuntuone/syncdaemon.conf
+     (If using Nautilus, make sure you do a Ctrl-H to view hidden files when 
in your home directory)
+ 3. Start the Ubuntu One client
+ 
+ You can try resetting the bandwidth usage preferences but if you
+ continue to run into problems, follow the steps above and don't turn the
+ limit bandwidth usage on for the time being.
+ 
+ ----------------------------------------------------------
+ 
+ STEPS TO REPRODUCE
  
  1. Right-click Ubuntu One client applet and select "Preferences"
  2. Click on "Limit Bandwidth Usage" checkbox
  3. Set Maximum upload and download speed inputs to: 3000
  4. Click "Close" button
  
  Result: ~/.config/ubuntuone/syncdaemon.conf set to:
  [bandwidth_throttling]
  read_limit = 3072000
  write_limit = 3072000
  on = True
  
  5. Right-click Ubuntu One client applet and select "Preferences"
  6. Set Maximum upload speed input to: 1000
-    Leave Maximum upload at: 3000
+    Leave Maximum upload at: 3000
  7. Click "Close" button
  
  Result:
  ~/.config/ubuntuone/syncdaemon.conf set to:
  [bandwidth_throttling]
  read_limit = 3072000
  write_limit = 3072000
  on = True
  
  And Ubuntu One Client preferences show 3000 for upload & download
  
  ---
  
- Expected Result: 
+ Expected Result:
  ~/.config/ubuntuone/syncdaemon.conf set to:
  [bandwidth_throttling]
  read_limit = 3072000
  write_limit = 1024000
  on = True
  
  And Ubuntu One Client preferences show 1000 for upload & 3000 for
  download

-- 
Maximum upload speed does not save consistently in client GUI
https://bugs.launchpad.net/bugs/509740
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