'unicode' object has no attribute 'get' when calling lp_api.login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
High
|
Leonard Richardson | ||
lazr.restfulclient |
Fix Released
|
High
|
Leonard Richardson |
Bug Description
ActivePython 2.6.4.8 (ActiveState Software Inc.) based on
Python 2.6.4 (r264:75706, Nov 3 2009, 13:23:17) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import bzrlib.
>>> import bzrlib.
>>> lps = lp_r.LaunchpadS
>>> lp = lp_api.login(lps)
The authorization page:
(https:/
should be opening in your browser. After you have authorized
this program to access Launchpad on your behalf you should come
back here and press <Enter> to finish the authentication process.
**pressed enter after authorizing on webpage**
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "bzrlib\
proxy_
File "C:\Python26\
max_
File "C:\Python26\
version)
File "C:\Python26\
credentials, service_root, cache, timeout, proxy_info, version)
File "C:\Python26\
self._wadl = self._browser.
File "C:\Python26\
url, media_type=
File "C:\Python26\
str(url), method=method, body=data, headers=headers)
File "build\
AttributeError: 'unicode' object has no attribute 'get'
Bazaar (bzr) 2.2.0dev1
from bzr checkout C:/dev/bzr/bzr.dev
revision: 5076
revid: <email address hidden>
branch nick: bzr.dev
Python interpreter: C:\Python26\
Python standard library: C:\Python26\lib
Platform: Windows-
bzrlib: C:\dev\
Bazaar configuration: C:\Users\
Bazaar log file: C:\Users\
Plugins:
colo 0.0.2
Work with colocated branches using current technology.
email
Sending emails for commits and branch changes.
explorer 1.0.0rc2
Version Control for Human Beings.
fastimport 0.9.0dev
FastImport Plugin
launchpad 2.2.0dev1
Launchpad.net integration plugin for Bazaar.
netrc_credentia
Use ~/.netrc as a credential store for authentication.
news_merge 2.2.0dev1
Merge hook for bzr's NEWS file.
pqm 1.3.0
Functionality for controlling a Patch Queue Manager (pqm).
qbzr 0.18.3dev
QBzr - Qt-based frontend for Bazaar
summary: |
- unicode object has not attribute get when calling lp_api.login + 'unicode' object has no attribute 'get' when calling lp_api.login |
Changed in launchpadlib: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad-foundations: | |
assignee: | nobody → Leonard Richardson (leonardr) |
Changed in launchpadlib: | |
assignee: | nobody → Leonard Richardson (leonardr) |
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 10.03 |
affects: | launchpadlib → lazr.restfulclient |
Changed in lazr.restfulclient: | |
status: | Triaged → Fix Committed |
Changed in lazr.restfulclient: | |
status: | Fix Committed → Fix Released |
Changed in launchpad-foundations: | |
status: | Triaged → Invalid |
I'd be inclined to suspect launchpadlib, and to see if you can reproduce this error there.