Re: [web2py] OAuth2 + Twitter 'module' object has no attribute 'Consumer' error

2013-12-21 Thread Luciano Laporta Podazza
Hello Michele!, Well, it seems that I casually rebooted my Mac(OS X 10.9.1) and now magically works :P >>> print consumer Now i'm facing some issues with forms at Twitter/Facebook login so perhaps you'll see another new post from me. Just in case, do you have some good(newer) examples of int

Re: [web2py] OAuth2 + Twitter 'module' object has no attribute 'Consumer' error

2013-12-21 Thread Michele Comitini
oauth2 is an unfortunate name chosen for a module that actually implements oauth1.0a: see https://pypi.python.org/pypi/oauth2 About the error check that you have installed the above package on your system. You can do so in a python shell: $ python >>> import oauth2 >>> consumer = oauth2.Consumer

[web2py] OAuth2 + Twitter 'module' object has no attribute 'Consumer' error

2013-12-21 Thread Luciano Laporta Podazza
Hello, I've been trying to integrate Facebook/Twitter login with Web2py 2.8.2-stable and OAuth2(the built-in oauth20_account.py) using this example: https://groups.google.com/forum/#!topic/web2py/S9ukjWz6qMA Facebook login works but when I try the Twitter example I get this traceback: Traceb