lp-project-upload crashed with KeyError in __getitem__(): 'online-accounts-signon-ui'
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-
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
proj = launchpad.
File "/usr/lib/
raise KeyError(key)
KeyError: 'online-
==========
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: lptools 0.0.1~bzr38-1
ProcVersionSign
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/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
PythonArgs: ['/usr/
SourcePackage: lptools
Title: lp-project-upload crashed with KeyError in __getitem__(): 'online-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin nopasswdlogin plugdev sambashare
tags: | removed: need-duplicate-check |
Changed in lptools (Ubuntu): | |
importance: | Undecided → Medium |
I changed the resource.py code to print the url and the error:
============== /api.launchpad. net/1.0/ online- accounts- signon- ui, error: HTTP Error 401: Unauthorized
https:/
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...