Re: [web2py] DId.app auth is good for web2py apps ?

2020-03-21 Thread Massimo Di Pierro
Did you get this to work. This is very valuable. I can help fix it during the week-end. Not going anywhere. ;-) On Friday, 13 March 2020 06:00:40 UTC-7, Kevin Keller wrote: > > You need to change your okta tenant URLs and the client Id and Secret. > > I still points to my tenant :) > > > > >

[web2py] Re: 6th book release

2020-03-21 Thread Massimo Di Pierro
The book online has some edits. Not major. On Saturday, 14 March 2020 10:47:47 UTC-7, Andrea Fae' wrote: > > What are the differences between 5th book release and 6th online book > prerelease? > thank you > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://gith

[web2py] Re: py4web in Google App Engine route app

2020-03-21 Thread Massimo Di Pierro
This is a good solution. One trick is to symlink _default to myapp On Monday, 16 March 2020 02:17:56 UTC-7, Jacinto Parga wrote: > > Finally solved. > >1. I add an entrypoint to the app.yaml . The app runs fine: >runtime: python37 >entrypoint: gunicorn -b :8080 -w 2 main:app > >

[web2py] Re: MacOS Catalina, Apache SSL

2020-03-21 Thread Massimo Di Pierro
Do not use apache. You do not need it. f you need to serve from outside to osx, consider nginx. On Tuesday, 17 March 2020 08:42:48 UTC-7, Karl McHugh wrote: > > I'm having trouble setting up web2py with the following setup: > > MacOS Catalina, > Apache, > SSL > web2py > > I've been unable to inst

[web2py] Re: Error (web2py on GAE): ImportError: No module named gluon.settings

2020-03-21 Thread Massimo Di Pierro
Maybe the file got deleted or corrupted or excluded fro deployment? It exists in web2py. On Tuesday, 17 March 2020 12:21:43 UTC-7, PRACHI VAKHARIA wrote: > > *web2py on GAE* gives the following error: > > > *ImportError: No module named gluon.settings > (/base/data/home/apps/s~appname/appversion

[web2py] Re: web2py 2.18.5 breaks mysql connection

2020-03-21 Thread Massimo Di Pierro
This week-end. On Tuesday, 17 March 2020 12:33:23 UTC-7, Donald McClymont wrote: > > Any update on when 2.18.6 will be released - or is there an accepted > workaround other than taking latest version? This seems a rather > fundamental bug when you upgrade a mysql setup? > > Regards > Donald > >

[web2py] Re: tailwindcss with web2py ?

2020-03-21 Thread Massimo Di Pierro
The barrier of entry seems pretty high. What do you like about it? On Friday, 20 March 2020 04:37:23 UTC-7, Ramos wrote: > > any thoughts about tailwindcss ? > > Seems to me that could be the best option for web2py as it is very > programable as we all like :) > > just one nice thing i like... >

[web2py] Re: error

2020-03-21 Thread Massimo Di Pierro
Sorry. need more info. What has coursera got to do with web2py? On Friday, 20 March 2020 23:20:09 UTC-7, Rashdan Hadri wrote: > > I cant seem to log in when i get redirected from COursera python basics > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github

RE: [web2py] Re: Py4web readonly Form

2020-03-21 Thread John Bannister
Hi Massimo, My use case is really to give the user the option to view data stored in a table without the ability to change anything hence readonly. Once they have finished viewing the form (normally by hitting the submit button) they will be redirected to whatever. Hope it makes sense J

Re: [web2py] Re: tailwindcss with web2py ?

2020-03-21 Thread António Ramos
I´m just looking into it but after the start barrier it seems that it give more freedom of creation over bootstrap. We just have to learn the utility classes https://blog.logrocket.com/tailwind-css-is-it-tomorrows-bootstrap-ebe560f9d00b/ https://dev.to/lauragift21/love-at-second-sight-with

[web2py] web2py LOAD on localhost vs pythonanywhere

2020-03-21 Thread Maurice Waka
I have this code on both local host and pythonanywhere test page. {{if post.message:}} {{=post.created_on}} {{=post.message}} {{else:}} {{pass}}

Re: [web2py] Re: Py4web readonly Form

2020-03-21 Thread villas
Hi John What you say doesn't make much sense because you can style and view data however you wish, including in a readonly form. Similarly a button can redirect your users to wherever you wish. You don't need the framework forms for that. Just style your page how you wish. On Saturday, 21

[web2py] Re: web2py with python 2.7 and web2py running on python 3

2020-03-21 Thread Andrea Fae'
I have a windows 10 PC. I installed c:\python27 and c:\python3 and they are working. I can choose. But if I try to start web2py it happens this error: c:\Python3>python.exe c:\web2py\web2py.py Traceback (most recent call last): File "c:\web2py\web2py.py", line 21, in import gluon.widget

[web2py] web2py 2.19.1 is OUT

2020-03-21 Thread Massimo Di Pierro
Sorry it took so long. Web2py 2.19.1 is finally out. It contains many small bug fixes including better support for python 3.6, 3.7, and 3.8 https://travis-ci.org/github/web2py/web2py -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (

Re: [web2py] web2py 2.19.1 is OUT

2020-03-21 Thread Nico Zanferrari
Thanks Massimo! Please note that the binaries listed on http://www.web2py.com/init/default/download are supposed to be the new ones with Pyinstaller, but in fact they are the old broken ones. I'm working for buiding the new binaries - you cannot just replace the sources inside because the main web

[web2py] python3 + web2py + Lighttpd + fastcgi

2020-03-21 Thread patito feo
Hi all, I've been trying to run web2py using python3 but unable to do it sucessful. Using latest build 2.19.1 I keep getting this error: Traceback (most recent call last): File "/folder/folder/folder/fcgihandler.py", line 44, in import gluon.contrib.gateways.fcgi as fcgi File "/folder/

[web2py] Re: python3 + web2py + Lighttpd + fastcgi

2020-03-21 Thread Massimo Di Pierro
Fixed right now on github. Python 3 does not like the L On Saturday, 21 March 2020 16:11:38 UTC-7, patito feo wrote: > > Hi all, > > I've been trying to run web2py using python3 but unable to do it sucessful. > Using latest build 2.19.1 > > I keep getting this error: > > Traceback (most recent ca

Re: [web2py] web2py 2.19.1 is OUT

2020-03-21 Thread Massimo Di Pierro
Let me know when ready. On Saturday, 21 March 2020 16:12:13 UTC-7, Nico Zanferrari wrote: > > Thanks Massimo! > > Please note that the binaries listed on > http://www.web2py.com/init/default/download are supposed to be the new > ones with Pyinstaller, but in fact they are the old broken ones. >

Re: [web2py] web2py 2.19.1 is OUT

2020-03-21 Thread Christian Varas
Thanks! 🎉🎉🎉🎊 El El sáb, 21 de mar. de 2020 a la(s) 18:52, Massimo Di Pierro < massimo.dipie...@gmail.com> escribió: > Sorry it took so long. > > Web2py 2.19.1 is finally out. > > It contains many small bug fixes including better support for python 3.6, > 3.7, and 3.8 > > https://travis-ci.org/git

Re: [web2py] web2py 2.19.1 is OUT

2020-03-21 Thread Lovedie JC
I've updated it. Flawless 👍 Good work. Much appreciated. Regards On Sun, Mar 22, 2020, 04:28 Christian Varas wrote: > Thanks! 🎉🎉🎉🎊 > > El El sáb, 21 de mar. de 2020 a la(s) 18:52, Massimo Di Pierro < > massimo.dipie...@gmail.com> escribió: > >> Sorry it took so long. >> >> Web2py 2.19.1 is final

[web2py] Re: python3 + web2py + Lighttpd + fastcgi

2020-03-21 Thread patito feo
Thank you Massimo. As a result the code now shows more "L" cases, i just removed them. But now it presents incompatibilities with exceptions and raises. File , line 618 def _end(self, appStatus=0L, protocolStatus=FCGI_REQUEST_COMPLETE): ^ SyntaxError: invalid