On Monday, November 18, 2019 at 8:19:12 PM UTC-8, Fabrizzio Andrioli wrote: > > same here, how can I check which version of pydal i have... > i'm using > Version 2.17.1-stable+timestamp.2018.08.05.17.57.00 > > In my test copy of 2.18.2, the gluon/packages/dal/CHANGES file show 17.11 (Nov 13 2017) at the top. The README.md file has markup for the pypi version, but not the number. I don't see a VERSION file.
I see the same CHANGES in a 2.17.1 directory. I think I used the zip file from the main website for both of these, rather than using a git pull (needs a recursive pull). /dps > > On Thursday, October 31, 2019 at 12:21:23 AM UTC-3, 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/d51fe1cf-164e-42b6-95ec-d86598dc66c0%40googlegroups.com.

