lp-project-upload crashed with KeyError in __getitem__(): 'online-accounts-signon-ui'

Bug #1056265 reported by Alberto Mardegan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lptools (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Looks like lp-project-upload doesn't work anymore (I've been successfully using this script for several months).

==========
lp-project-upload online-accounts-signon-ui 0.11 signon-ui-0.11.tar.bz2 2012-09-25 release_notes.KzfaEX release_notes.KzfaEX
Traceback (most recent call last):
  File "/usr/bin/lp-project-upload", line 175, in <module>
    main()
  File "/usr/bin/lp-project-upload", line 110, in main
    proj = launchpad.projects[project]
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/resource.py", line 950, in __getitem__
    raise KeyError(key)
KeyError: 'online-accounts-signon-ui'
==========

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: lptools 0.0.1~bzr38-1
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Tue Sep 25 16:50:43 2012
ExecutablePath: /usr/bin/lp-project-upload
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/lp-project-upload online-accounts-signon-ui 0.11 signon-ui-0.11.tar.bz2 2012-09-25 release_notes.KzfaEX release_notes.KzfaEX
PythonArgs: ['/usr/bin/lp-project-upload', 'online-accounts-signon-ui', '0.11', 'signon-ui-0.11.tar.bz2', '2012-09-25', 'release_notes.KzfaEX', 'release_notes.KzfaEX']
SourcePackage: lptools
Title: lp-project-upload crashed with KeyError in __getitem__(): 'online-accounts-signon-ui'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin nopasswdlogin plugdev sambashare

Revision history for this message
Alberto Mardegan (mardy) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Changed in lptools (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Alberto Mardegan (mardy) wrote :

I changed the resource.py code to print the url and the error:

==============
https://api.launchpad.net/1.0/online-accounts-signon-ui, error: HTTP Error 401: Unauthorized
Response headers:
---
-content-encoding: gzip
content-length: 47
content-type: text/plain
date: Tue, 25 Sep 2012 15:43:44 GMT
server: zope.server.http (HTTP)
status: 401
vary: Accept-Encoding
via: 1.1 api.launchpad.net
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
Timestamp appears to come from bad system clock
---
==============

And indeed I had the wrong system time...

Changed in lptools (Ubuntu):
status: New → Invalid
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.