My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 8: TypeError using python-openid 2.0.0
6 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by david.rubert, Aug 11, 2007
What steps will reproduce the problem?
1. Install the library python-openid 2.0.0
2. Using django-openid on my project
3. Trying to validate with any OpenID server.

What is the expected output? What do you see instead?
The expected output is a validation complete, but a TypeError is obtained:

useNonce() takes exactly 2 arguments (4 given)
Request Method: 	GET
Request URL: 	http://192.168.1.100:8000/openid/complete/
Exception Type: 	TypeError
Exception Value: 	useNonce() takes exactly 2 arguments (4 given)
Exception Location: 
/usr/lib/python2.4/site-packages/openid/consumer/consumer.py in
_idResCheckNonce, line 725
Python Executable: 	/usr/bin/python
Python Version: 	2.4.4

What version of the product are you using? On what operating system?

SVN version of django-openid. SVN version of django. Debian Sid System.

Please provide any additional information below.


Comment 2 by jon.tingvold, Sep 08, 2007
Same problem using python-openid 1.2.0, Python 2.5 and WinXP
Comment 3 by aenor.realm, Sep 19, 2007
Got openid from "easy_install python-openid", set up minimal site and caught this error.
Comment 4 by aenor.realm, Sep 19, 2007
found that in openid/interface.py:13

Version 2.0 removed the storeNonce, getAuthKey, and isDumb}                         
        methods, and changed the behavior of the useNonce method to support one-way
nonces.
Comment 5 by bchesneau, Nov 10, 2007
http://code.google.com/p/django-openid/issues/detail?id=10 could be a solution ;)
Sign in to add a comment

Hosted by Google Code