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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/0b4ffbc7-026e-4157-ae31-b7e99525594a%40googlegroups.com.

Reply via email to