You have a recent version of web2py with an old version of pydal

On Wednesday, 30 October 2019 20:21:23 UTC-7, Vlad Doster wrote:
>
> Hi all,
>
> I am currently trying to get a dev environment up and running. I try to 
> login and the pydal/object.py 
> complains about __call__() taking 3 arguments but expecting exactly 2.
>
> Is this a web2py issue or Python versioning issue?
>
> Traceback (most recent call last):
>   File "/home/vlad/V_ENVS/ims/web2py/gluon/restricted.py", line 219, in 
> restricted
>     exec(ccode, environment)
>   File "/home/vlad/V_ENVS/ims/web2py/applications/ims/controllers/default.py" 
> <http://127.0.0.1:8000/admin/default/edit/ims/controllers/default.py>, line 
> 1210, in <module>
>   File "/home/vlad/V_ENVS/ims/web2py/gluon/globals.py", line 414, in <lambda>
>     self._caller = lambda f: f()
>   File "/home/vlad/V_ENVS/ims/web2py/applications/ims/controllers/default.py" 
> <http://127.0.0.1:8000/admin/default/edit/ims/controllers/default.py>, line 
> 920, in user
>     user = auth.login_bare(email, password)
>   File "/home/vlad/V_ENVS/ims/web2py/gluon/tools.py", line 2400, in login_bare
>     settings.passfield].validate(password)[0]
>   File "/home/vlad/V_ENVS/ims/web2py/gluon/packages/dal/pydal/objects.py", 
> line 2006, in validate
>     (value, error) = validator(value, record_id)
> TypeError: __call__() takes exactly 2 arguments (3 given)
>
>
> Any ideas? We are using Python2.7.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/72681174-32e3-4a0e-b45b-e1db7c156344%40googlegroups.com.

Reply via email to