[web2py] Re: Problem with wsgihandler.py Apache/Python3

2018-12-08 Thread Peter
Similar situation can happen when you try to access admin page through simple http protocol over network. Web2py will raise exception and we got that error: TypeError: sequence of byte string values expected, value of type str found Code responsible for that error is: if request.is_https:

[web2py] Re: SQLFORM.smartgrid exportclasses

2018-12-08 Thread Peter
Thank you. I will consider this option on next project :) On Wednesday, December 5, 2018 at 1:16:52 PM UTC+1, Tomasz Wrona wrote: > > Maybe this information will help you. If you use SQLFORM.grid it will > work. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - htt

[web2py] Re: Problem with wsgihandler.py Apache/Python3

2018-12-08 Thread Peter
In my environment this work. Of course, after that you should enable admin through http or configure https. This correction only enable to see what is problem. web2py/applications/admin/models/access.py # original code elif not request.is_local and not DEMO_MODE: raise HTTP(200, T('Admin i

[web2py] An Easy way to Support ADFS / AZURE / OKTA / Sibboleth and other SAML2 SSO Scenarios

2018-12-08 Thread Pbop
Greetings Fellow Web2Pyers, It's the season of giving. I hope what I share inspires others to share some of their tips and tricks in Web2Py that others can use! Many thanks to the community for your great help in the past! This post assumes the reader has limited exposure to SAML2. The solutio

[web2py] Re: Help with deploy with nginx and ubuntu 18.04

2018-12-08 Thread carlos valdez
Hi, I've downloded the web2py framework again, and it works, but I don't know if I have a bad configuration, because, when i try the project as stand alone with no server configuration it works, but when I tried to put on line with nginx, It shows me a ssl error. Here is my configuration file f

[web2py] Re: Help with deploy with nginx and ubuntu 18.04

2018-12-08 Thread 黄祥
> > length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG > checked it, temporary solution is set your web browser tls version *in firefox* about:config *search* security.tls.version.max change it's value to 0 or 1 (< 3) best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/bo

Re: [web2py] Re: "web2py.app“ wants access to control “System Events.app“

2018-12-08 Thread John McMaster
I just installed and ran the version you included and I get the same. I do see from the two links that you included that my setup has system events.app in the location mentioned. So the question that I have is what in web2py on seeing system events.app is it going to use it for? At this point I do

[web2py] Re: Problem in Ubuntu 18.04

2018-12-08 Thread Dave S
On Thursday, December 6, 2018 at 11:43:37 PM UTC-8, carlos valdez wrote: > > Hi, I have the next problem trying to running web2py, the problem is, I've > a old project, the guys used 2.9 framework, I'm trying to run it in > ubutuntu 18.04, It seems to work but when I access to de url > https:/

[web2py] Check box access

2018-12-08 Thread pradeep chauhan
hi, i have a form with 3 check boxes ..i want to give access to authorized person ..only authorized person can check the box..how can i do that..any example? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code