dbus.proxies:Introspect error
I am just getting started using launchpadlib and am trying to get authenticated access to launchpad but can't seem to get it to work. I'm trying to run a simple hello-world app which has the following lines:
from launchpadlib.
launchpad = Launchpad.
print 'Hello, %s!' % launchpad.
When I run this application I get this:
johnstac@pern2:~$ python hello-world
The authorization page:
(https:/
should be opening in your browser. Use your browser to authorize
this program to access Launchpad on your behalf.
Press any key to continue or wait (5) seconds...
Waiting to hear from Launchpad about your decision...
Which doesn't open a browser and just sits there until I enter the link in a browser manually and authorize the application. In the browser the authorization appears to work but then I get these errors:
ERROR:dbus.
ERROR:dbus.
Traceback (most recent call last):
File "hello-world", line 2, in <module>
launchpad = Launchpad.
File "/usr/lib/
credential_
File "/usr/lib/
credentials = authorization_
File "/usr/lib/
credential_
File "/usr/lib/
raise e
TypeError: Expected a string or unicode object
Did I miss a setup step somewhere that is causing this error?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Stacey Johnson
- Solved:
- Last query:
- Last reply: