[web2py] Re: Migrate from sqlite to mysql

2019-02-17 Thread Web2_3py
Hi, I am having the same error (Failure to connect). I checked the connection to mysql using python command line 1 2 >>> import mysql.connector >>> mysql.connector.connect(host='localhost',database='mysql',user='root', password='') and it is success. What could be the reason of that error?

[web2py] Re: Rocket Error after (easy and successful) switch to Python 3

2019-02-17 Thread Yi Liu
Thanks for reply, Massimo. Yesterday, it seems it throws this error whenever I load a different app (I have three apps), not subsequent actions. Today, it seems it is fine when I first load an app. After 1-3 refreshes, it throws this error. I checked web2py.log, basically it records the same

[web2py] Re: Update web2py manually

2019-02-17 Thread Константин Комков
Maybe it help. Last 3 rows contain my transition on "ererer" project then erererAjax is ajax function name on server and I don't know why I GET welcome. After I push one button I get http://192.168.XXX.XXX/ererer 303 0 0 5 and http://192.168.XXX.XXX/ererer 200 0 0 1068. Moreover I see time is

[web2py] Re: Rocket Error after (easy and successful) switch to Python 3

2019-02-17 Thread Massimo Di Pierro
How often? Cany chance you can identify from the logs which http requests causes this? On Sunday, 17 February 2019 22:15:36 UTC-8, Yi Liu wrote: > > Hi, I switch my server and local macbook web2py to Python 3 successfully > without any change to web2py or applications, except minor 2to3 syntax

[web2py] Rocket Error after (easy and successful) switch to Python 3

2019-02-17 Thread Yi Liu
Hi, I switch my server and local macbook web2py to Python 3 successfully without any change to web2py or applications, except minor 2to3 syntax changes. Amazing! On my local macbook, I start to have this error in the terminal. And it seems does not affect anything at the app. All the app

Re: [web2py] Re: standalone templates

2019-02-17 Thread Carlos Cesar Caballero Díaz
Awesome!! I will test it ASAP. A colleague and I have been playing with your idea of a bottle-based framework and it has became a quite good exercise. So far right now we got this https://github.com/daxslab/ron Greetings. El 17/2/19 a las 9:52 p.m., Massimo Di Pierro escribió: Thanks for all

Re: [web2py] Re: standalone templates

2019-02-17 Thread Massimo Di Pierro
Thanks for all your help with templates. So far I have posted this: https://pypi.org/project/yatl/ and this: https://github.com/web2py/yatl I could use some more help with testing. if we are good we can switch web2py to use this. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Lighttpd deploy issue

2019-02-17 Thread xgp . latino
Hi, My conf: $HTTP["host"] =~ "sub.domain.com$" { server.document-root="/home/www-data/web2py" url.rewrite-once = ( "^(/.+?/static/.+)$" => "/applications$1", "(^|/.*)$" => "/handler_web2py.fcgi$1", ) } $SERVER["socket"] == ":443" { ssl.engine = "enable"

[web2py] Re: Lighttpd deploy issue

2019-02-17 Thread 黄祥
perhaps you can show the step and the configuration best regards, stifan -- 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

[web2py] Lighttpd deploy issue

2019-02-17 Thread xgp . latino
Hi everyone, I'm deploying lighttpd server. Sites are working normal either http or https. But admin site doesnt load scripts and render plain. Here is the error log: 2019-02-17 13:18:41: (response.c.565) -- handling physical path 2019-02-17 13:18:41: (response.c.566) Path :

[web2py] Web2py Windows edition with 3.x Interpreter

2019-02-17 Thread Jitun John
"It requires Python 2.6 (no more supported), Python 2.7 (stable) or Python 3.5+ (*recommended for new projects*) already installed on your system. There are also *binary packages for Windows* and Mac OS X.* They include the Python 2.7 interpreter* so you do not need to have it pre-installed."

[web2py] Re: install script for web2py using python 3

2019-02-17 Thread Ari Lion BR Sp
I did my onw scipt: https://github.com/arisobel/web2py_scripts Em terça-feira, 5 de fevereiro de 2019 17:28:14 UTC-2, Ben Lawrence escreveu: > > HI > If anyone has a working install script for web2py using python3 + a > webserver, can you please share with me? > I am using

[web2py] Re: install script for web2py using python 3

2019-02-17 Thread Ari Lion BR Sp
Em terça-feira, 5 de fevereiro de 2019 17:28:14 UTC-2, Ben Lawrence escreveu: > > HI > If anyone has a working install script for web2py using python3 + a > webserver, can you please share with me? > I am using setup-web2py-nginx-uwsgi-ubuntu.sh and modified it to use > python3 but the