i got it working
i updated to latest version of ubuntuone-client via Update manager, and still it didnt work.
then i lookd a bit on the code, and made a litle change. works fine for me
Error message:
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/bin/ubuntuone-preferences", line 162, in do_rest_request
callback(result)
File "/usr/bin/ubuntuone-preferences", line 681, in got_quota_info
self.update_quota_display(used, total)
File "/usr/bin/ubuntuone-preferences", line 635, in update_quota_display
'percent' : percent })
KeyError: 'brukt'
i got it working
i updated to latest version of ubuntuone-client via Update manager, and still it didnt work.
then i lookd a bit on the code, and made a litle change. works fine for me
Error message: python2. 6/threading. py", line 532, in __bootstrap_inner python2. 6/threading. py", line 484, in run __target( *self._ _args, **self.__kwargs) ubuntuone- preferences" , line 162, in do_rest_request result) ubuntuone- preferences" , line 681, in got_quota_info update_ quota_display( used, total) ubuntuone- preferences" , line 635, in update_ quota_display
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/bin/
callback(
File "/usr/bin/
self.
File "/usr/bin/
'percent' : percent })
KeyError: 'brukt'
Patch: ubuntuone- preferences~ 2010-08-06 01:09:14.710720068 +0200 ubuntuone- preferences 2010-08-06 01:10:29.282723002 +0200 for_gb_ display( used)
self. usage_label. set_text( 0.1f%%) ") % {
self. usage_graph. set_fraction( percent / 100)
--- /usr/bin/
+++ /usr/bin/
@@ -629,10 +629,7 @@
percent = (float(used) / float(total)) * 100
real_used, real_type = self._format_
- _("%(used)0.1f %(type)s Used (%(percent)
- 'used' : real_used,
- 'type' : real_type,
- 'percent' : percent })
+ _("%0.1f %s Used (%0.1f%%)") %(real_used, real_type, percent))
# assumes all paid accounts will have more than 50GB