web2py 2.21.1 is OUT

226 views
Skip to first unread message

Massimo Di Pierro

unread,
Nov 27, 2020, 11:22:19 PM11/27/20
to web2py-users

Hello everybody,

first of all my apologies to you all. I have been absent from this list for some time, mostly because busy with py4web.

I made a new release (2.21.1) of web2py which includes mostly small bug fixes but no new features. Please report any problem.

At this point web2py has been stable for long time so we are not planning to add features.

py4web on the other side is growing fast. It now has Auth, internationalization, Form, Grid and it is 20x faster than wb2py. pyDAL woks the in the same way as in web2py. I insist you should check it out and consider moving you code. It is easy and we will help.

Massimo


Warwick JC

unread,
Nov 28, 2020, 5:18:37 AM11/28/20
to web...@googlegroups.com
Thank you for your great product.
Regards 

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/3db686af-90dc-4864-891a-fe7050cf40c7n%40googlegroups.com.

Andrew Rogers

unread,
Nov 28, 2020, 9:21:52 AM11/28/20
to web2py-users
Yes, thank for web2py. It has been great. Plan to make my next app in py4web and then look at migrating my first one across.

Jacinto Parga

unread,
Nov 30, 2020, 3:34:48 AM11/30/20
to web2py-users
Hello, 

I think it is an issue that comes from previous version. It has to do with IS_NOT_IN_DB validator and auth. It worked in 2.17.2 version with no problem

Traceback (most recent call last): 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/restricted.py", line 219, in restricted exec(ccode, environment) 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/applications/myapp/controllers/mycontroller.py", line 199, in <module> 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/globals.py", line 430, in <lambda> self._caller = lambda f: f() 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/tools.py", line 3875, in f return action(*a, **b) 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/applications/myapp/controllers/mycrontroller.py", line 110, in crear_usuario if form.accepts(request.vars, session): 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/sqlhtml.py", line 1790, in accepts **kwargs 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/html.py", line 2162, in accepts status = self._traverse(status, hideerror) 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/html.py", line 921, in _traverse newstatus = c._traverse(status, hideerror) and newstatus 
  File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/html.py", line 921, in _traverse newstatus = c._traverse(status, hideerror) and newstatus 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/html.py", line 921, in _traverse newstatus = c._traverse(status, hideerror) and newstatus 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/html.py", line 921, in _traverse newstatus = c._traverse(status, hideerror) and newstatus 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/html.py", line 928, in _traverse newstatus = self._validate() 
 File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/html.py", line 1908, in _validate raise Exception(msg) 
Exception: Validation error, field:email <pydal.validators.IS_NOT_IN_DB object at 0x3ebef34de910>

This is the code of the controller where it breaks


    form = SQLFORM(db.auth_user)
    if form.accepts(request.vars, session):

It also fails in appadmin db.auth_user new record

felix jimenez

unread,
Nov 30, 2020, 10:19:19 AM11/30/20
to web...@googlegroups.com
Hello Massimo, 
could you please post                      a new video full practical example with py4web, thanks
image.png


--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/3db686af-90dc-4864-891a-fe7050cf40c7n%40googlegroups.com.


--
04166293294
04141160952

tyoc213

unread,
Nov 30, 2020, 2:24:39 PM11/30/20
to web...@googlegroups.com
can you set a discourse for py4web? or some specific channel for that?

By the way, are there any recommended sources to learn vue but with py4web?

Massimo Di Pierro

unread,
Dec 5, 2020, 1:10:34 PM12/5/20
to web2py-users
Hello Felix,

This is the only video I made
But the app in the video ships with py4web.

Massimo

Massimo Di Pierro

unread,
Dec 5, 2020, 1:11:02 PM12/5/20
to web2py-users
Will look into this asap.

felix jimenez

unread,
Dec 6, 2020, 5:59:10 PM12/6/20
to web...@googlegroups.com
Gracias 



--
04166293294
04141160952

Chris

unread,
Dec 10, 2020, 8:35:47 AM12/10/20
to web...@googlegroups.com
Thanks for this new release!

Web2py is something really great!

A big thanks to all the team behind of the preoject.


Cheers.
Chris.


--


Reply all
Reply to author
Forward
0 new messages