Public bug reported:

When I run this:
jb@jb-K7S41:~$ /usr/lib/desktopcouch/desktopcouch-service

I get the following output:
Traceback (most recent call last):
  File "/usr/lib/desktopcouch/desktopcouch-service", line 41, in <module>
    from desktopcouch.service import DesktopcouchService
  File "/usr/lib/pymodules/python2.7/desktopcouch/service.py", line 9, in 
<module>
    from desktopcouch.application.service import *
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/service.py", line 
44, in <module>
    from desktopcouch.application import local_files
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/local_files.py", 
line 297, in <module>
    keyring=Keyring())
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/local_files.py", 
line 226, in __init__
    self.configuration = _Configuration(self)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/local_files.py", 
line 128, in __init__
    ctx.keyring.get_oauth_data()
  File 
"/usr/lib/pymodules/python2.7/desktopcouch/application/platform/linux/keyring.py",
 line 68, in get_oauth_data
    consumer_key = self.make_random_string(10)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/util.py", line 
26, in make_random_string
    return ''.join([entropy.choice(string.letters) for _ in range(count)])
  File "/usr/lib/python2.7/random.py", line 274, in choice
    return seq[int(self.random() * len(seq))]  # raises IndexError if seq is 
empty
ValueError: cannot convert float NaN to integer

This last line is the same error I get in red on the Services tab of the 
UbuntuOne Control Panel.
(fresh install)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: desktopcouch 1.0.8-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Uname: Linux 3.0.0-13-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Fri Nov  4 14:49:25 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
PackageArchitecture: all
SourcePackage: desktopcouch
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: desktopcouch (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/886159

Title:
  desktopcouch Value error cannot covert float Nan to integer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/desktopcouch/+bug/886159/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to