Crashes if not logged into Ubuntu One

Bug #781119 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntuone-couch
Fix Released
Medium
Eric Casteleijn
ubuntuone-couch (Ubuntu)
Fix Released
Medium
Ubuntu One Client Engineering team

Bug Description

Binary package hint: ubuntuone-couch

Without ever signing into Ubuntu One (say, after a fresh install), if you run, say "u1oauthrequest http://blarg" you get the following:

Traceback (most recent call last):
  File "/usr/bin/u1oauthrequest", line 43, in <module>
    consumer_secret=OPTIONS.consumer_secret)
  File "/usr/lib/pymodules/python2.7/ubuntuone-couch/ubuntuone/couch/auth.py", line 102, in request
    credentials = get_oauth_credentials()
  File "/usr/lib/pymodules/python2.7/ubuntuone-couch/ubuntuone/couch/auth.py", line 67, in get_oauth_credentials
    'consumer_key', 'consumer_secret', 'token', 'token_secret')])
KeyError: 'consumer_key'

It should probably handle this more gracefully.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ubuntuone-couch 0.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Wed May 11 14:45:22 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110422)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntuone-couch
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Michael Terry (mterry) wrote :
Changed in ubuntuone-couch:
assignee: nobody → Eric Casteleijn (thisfred)
Changed in ubuntuone-couch (Ubuntu):
assignee: nobody → Eric Casteleijn (thisfred)
Changed in ubuntuone-couch:
importance: Undecided → Medium
Changed in ubuntuone-couch (Ubuntu):
importance: Undecided → Medium
Changed in ubuntuone-couch:
status: New → Confirmed
Changed in ubuntuone-couch (Ubuntu):
status: New → Confirmed
Revision history for this message
Eric Casteleijn (thisfred) wrote :

Hi Michael,

I have a proposed fix up for review. If you have time, please confirm that it fixes the problem for you.

Changed in ubuntuone-couch:
status: Confirmed → In Progress
Changed in ubuntuone-couch (Ubuntu):
status: Confirmed → In Progress
Changed in ubuntuone-couch:
status: In Progress → Fix Committed
Changed in ubuntuone-couch (Ubuntu):
assignee: Eric Casteleijn (thisfred) → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Michael Terry (mterry)
Changed in ubuntuone-couch:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-couch - 0.3.0-0ubuntu1

---------------
ubuntuone-couch (0.3.0-0ubuntu1) oneiric; urgency=low

  * New upstream bug-fix release, that incorporates some of our patches
    - Fixes crash if not logged into Ubuntu One (LP: #781119)
  * debian/patches/auth-fixups.patch:
    - Dropped, applied upstream
  * debian/patches/dynamic-timeout.patch:
    - Backported from trunk, to allow longer timeouts for larger packets
  * debian/rules:
    - Run test suite during build
 -- Michael Terry <email address hidden> Tue, 06 Sep 2011 14:22:18 -0400

Changed in ubuntuone-couch (Ubuntu):
status: In Progress → 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.