hmm,

You'll need to import current somewhere in one of your models i guess..

Try to add this:

from gluon.globals import current


to \models\plugin_social_auth.py

I will update the source code...

On Wednesday, April 2, 2014 12:57:19 PM UTC+2, Dragan Matic wrote:
>
> I have installed the plugin and I think I have configured it according to 
> manual but it keeps giving me this error: 
>
> <type 'exceptions.NameError'> name 'current' is not defined
>
> File c:\web2py\applications\authtest\models\plugin_social_auth.py in 
> <module> at line 41
>
>
>
> Am I missing something?
>
>
> On Thursday, February 27, 2014 8:27:57 PM UTC+1, Quint wrote:
>>
>> Thanks!
>>
>> You could help by installing and testing the plugin:
>>
>>
>>    1. You need at least a API key/secret for 1 oauth provider. I know 
>>    that the Twitter <https://dev.twitter.com/discussions/631> or Live 
>>    work with the version of python-social-auth packaged with the plugin. But 
>>    python-social-auth <https://github.com/omab/python-social-auth> supports 
>>    many more providers. 
>>    2. Install the plugin in a (test / development / new / welcome) 
>>    web2py app. (copy the modules/controllers/models to 
>>    their respective folders)
>>    3. Configure the plugin like described 
>> here<https://code.google.com/p/w2p-social-auth>
>>     
>>    4. Post any issues you find in the issue list
>>
>> Quint
>>
>> On Thursday, February 27, 2014 5:57:33 PM UTC+1, mweissen wrote:
>>>
>>> Ok, what can I do, how can I help?
>>>
>>> Regards, Martin
>>>
>>>
>>> 2014-02-27 16:39 GMT+01:00 Quint <muijse...@gmail.com>:
>>>
>>>> Hi,
>>>>
>>>> I need some people to test-drive this.
>>>>
>>>> Who want to help here and try it out?
>>>>
>>>> As soon as I get the initial bugs out and any bugs resulting from 
>>>> platform differences, it can be advertised.
>>>>
>>>> Thanks!
>>>>
>>>> Quint
>>>>
>>>> --
>>>> Resources:
>>>> - http://web2py.com
>>>> - http://web2py.com/book (Documentation)
>>>> - http://github.com/web2py/web2py (Source code)
>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>> ---
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "web2py-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to web2py+un...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>>
>>>
>>>  

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to