manage-credentials doesn't work without ~/.cache folder

Bug #317317 reported by Vernon Tang
4
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Medium
Jonathan Davies

Bug Description

Binary package hint: ubuntu-dev-tools

manage-credentials crashes with an OSError when it tries to create the ~/.cache/lp_credentials folder and the ~/.cache folder doesn't already exist.

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/manage-credentials
InterpreterPath: /usr/bin/python2.5
Package: ubuntu-dev-tools 0.54
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/manage-credentials create -c ubuntu-dev-tools -l 2
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_HK.UTF-8
PythonArgs: ['/usr/bin/manage-credentials', 'create', '-c', 'ubuntu-dev-tools', '-l', '2']
SourcePackage: ubuntu-dev-tools
Title: manage-credentials crashed with OSError in create_credentials()
Uname: Linux 2.6.28-4-server x86_64
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Vernon Tang (vtang) wrote :
Revision history for this message
Jonathan Davies (jpds) wrote :

Fixed in Bazaar revision 274.

------------------------------------------------------------
revno: 274
committer: Jonathan Davies <email address hidden>
branch nick: ubuntu-dev-tools
timestamp: Thu 2009-01-15 12:30:07 +0000
message:
  * manage-credentials: Use common.py's mkdir function to create as many
    subdirectories as necessary for the credentials directory (LP: #317317).

Changed in ubuntu-dev-tools:
assignee: nobody → jpds
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.55

---------------
ubuntu-dev-tools (0.55) jaunty; urgency=low

  * manage-credentials: Use common.py's mkdir function to create as many
    subdirectories as necessary for the credentials directory (LP: #317317).

 -- Jonathan Davies <email address hidden> Thu, 15 Jan 2009 12:33:31 +0000

Changed in ubuntu-dev-tools:
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.