NIGHTLIES: ValueError: invalid literal for int() with base 10: 'None' on init

Bug #476777 reported by Rick McBride
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
Critical
Guillermo Gonzalez
ubuntuone-client (Ubuntu)
Fix Released
Critical
dobey
Nominated for Jaunty by r12056
Karmic
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Critical
dobey

Bug Description

Full traceback. Seen on two machines.

2009-11-06 13:24:23,215 - ubuntuone.SyncDaemon - ERROR - Unexpected error
Traceback (most recent call last):
  File "/usr/lib/ubuntuone-client/ubuntuone-syncdaemon", line 182, in <module>
    main(sys.argv)
  File "/usr/lib/ubuntuone-client/ubuntuone-syncdaemon", line 135, in main
    throttling_enabled=options.bandwidth_throttling_on)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/main.py", line 101, in __init__
    read_limit = user_config.get_throttling_read_limit()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/config.py", line 134, in wrapped
    return meth(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/config.py", line 206, in get_throttling_read_limit
    value = self.getint(THROTTLING, 'read_limit')
  File "/usr/lib/python2.6/ConfigParser.py", line 340, in getint
    return self._get(section, int, option)
  File "/usr/lib/python2.6/ConfigParser.py", line 337, in _get
    return conv(self.get(section, option))
ValueError: invalid literal for int() with base 10: 'None'

Related branches

Revision history for this message
Rick McBride (rmcbride) wrote :

assigning to Elliot for analysis/re-assignment.

I'm also getting the following on one machine. Unclear as to if there's a connection at this point.

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/bin/ubuntuone-client-applet", line 162, in __new_credentials
    self.set_up_desktopcouch_pairing(consumer_key)
  File "/usr/bin/ubuntuone-client-applet", line 337, in set_up_desktopcouch_pairing
    db = CouchDatabase("management", create=True)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 55, in __init__
    server_class=server_class, oauth_tokens=oauth_tokens)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 121, in __init__
    if database not in self._server:
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__
    self.resource.head(validate_dbname(name))
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head
    return self._request('HEAD', path, headers=headers, **params)
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request
    raise ServerError((status_code, error))
ServerError: (401, '')

Changed in ubuntuone-client:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Elliot Murphy (statik)
Revision history for this message
Rick McBride (rmcbride) wrote :

The sole change to r274 was:

  * fix throttling_limit_parser and add tests for all all configglue parsers. (fixes: 455544)

This is almost certainly related to the first traceback. The second could be a symptom of a downed apiserver.

Changed in ubuntuone-client:
assignee: Elliot Murphy (statik) → Guillermo Gonzalez (verterok)
status: Confirmed → Fix Committed
Revision history for this message
Janne Nykänen (finguin) wrote :

Hey, I'm getting the following stack trace in Karmic (with all the latest updates), when running ubuntu-client-applet in console (after logging in in browser):

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/bin/ubuntuone-client-applet", line 162, in __new_credentials
    self.set_up_desktopcouch_pairing(consumer_key)
  File "/usr/bin/ubuntuone-client-applet", line 337, in set_up_desktopcouch_pairing
    db = CouchDatabase("management", create=True)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 50, in __init__
    desktopcouch.find_pid()
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 29, in find_pid
    pid = start_local_couchdb.start_couchdb()
  File "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line 300, in start_couchdb
    username, password = create_ini_file()
  File "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line 128, in create_ini_file
    True)
DeniedError

Is there any way to analize this further?

tags: added: ubuntuone-sru
Changed in ubuntuone-client (Ubuntu):
status: New → Confirmed
assignee: nobody → John Lenton (chipaca)
Changed in ubuntuone-client (Ubuntu):
assignee: John Lenton (chipaca) → Rodney Dawes (dobey)
dobey (dobey)
Changed in ubuntuone-client (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → Critical
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted ubuntuone-client into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in ubuntuone-client (Ubuntu Karmic):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client - 1.0.3-0ubuntu1

---------------
ubuntuone-client (1.0.3-0ubuntu1) karmic-proposed; urgency=high

  * New upstream release
    - Remove patch files now in upstream for #462828
    - Require python-ubuntuone-storageprotocol >= 1.0.1
    - BadTransition: SYS_CONNECTION_MADE (LP: #457147)
    - ValueError: invalid literal for int() with base 10: 'None' (LP: #476777)
    - Protocol version error with bw throttling enabled (LP: #455544)
    - Folder deletion from other machines results in conflicts (LP: #462003)
    - Syncdaemon doesn't disable throttling (LP: #483592)
    - Syncdaemon crashes with NoAccessToken (LP: #488413)
    - Error creating share from Nautilus: callback() (LP: #492100)
    - Work without NetworkManager installed (LP: #357395)
    - Create a POT during the build (LP: #455527)
    - Bring back timestamps in oauth-login.log (LP: #459175)
    - Applet starts syncdaemon without a token (LP: #491573)
    - Prefs changes don't take immediate affect (LP: #457564)
    - BW limit settings don't appear to be saved (LP: #465030)
    - Distinguish auth errors from other errors (LP: #450633)
    - Fix for running on python < 2.6.3 (LP: #451670)
 -- Rodney Dawes <email address hidden> Fri, 11 Dec 2009 15:45:52 -0500

Changed in ubuntuone-client (Ubuntu Karmic):
status: Fix Committed → Fix Released
dobey (dobey)
Changed in ubuntuone-client (Ubuntu Lucid):
status: In Progress → Fix Released
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.