[web2py] Re: setup-web2py-nginx-uwsgi-centos7.sh

2018-02-19 Thread Val K
if you want to have other domains - just add sever blocks (block per domain) with server_name www.mydom.com (or you can use regex to hold several doamins by one sever block ); If you want to have web2py app per doamin - specify location in more explicit form - /myapp/ instead just / see th

[web2py] setup-web2py-nginx-uwsgi-centos7.sh

2018-02-19 Thread lucas
hello one and all, i have run bash shell script "setup-web2py-nginx-uwsgi-centos7.sh" from under web2py scripts on centos 7.4, web2py 2.16.1, and nginx 1.12.2. and everything is working for a single domain. ssl and comodo certificates are working also. right now, i have all of the configurat

Re: [web2py] Re: How to have a view getting data from a long running time controller ?

2018-02-19 Thread Val K
keep in mind, that production servers have buffering. For example, if you are using nginx you should turn off 'proxy_buffering' for the 'streamer' location. On Monday, February 19, 2018 at 4:40:43 PM UTC+3, Ramos wrote: > > Thank you. > It works ... > > 2018-02-19 12:00 GMT+00:00 Val K >: > >>

[web2py] Re: INNER JOIN and WHERE clause in web2py

2018-02-19 Thread Anthony
On Monday, February 19, 2018 at 3:12:19 AM UTC-5, Annet wrote: > > Hi Anthony, > > Thanks for your reply. > > I get the results I want. Two more questions, using this syntax, how would > I join > > ntw_edge_inID on vtx_vertex.id > > and > > ntw_edge_labelID on ntw_edge_label_set.id > > without end

Re: [web2py] Re: How to have a view getting data from a long running time controller ?

2018-02-19 Thread António Ramos
Thank you. It works ... 2018-02-19 12:00 GMT+00:00 Val K : > I don't have PY3, so can't test. If it's bytes, then it 's already encoded > and all should work OK. Try ...xml().decode().encode('utf-8') or try to > yield something simple - just 'hello' > > On Sunday, February 18, 2018 at 11:40:40

Re: [web2py] Re: How to have a view getting data from a long running time controller ?

2018-02-19 Thread Val K
I don't have PY3, so can't test. If it's bytes, then it 's already encoded and all should work OK. Try ...xml().decode().encode('utf-8') or try to yield something simple - just 'hello' On Sunday, February 18, 2018 at 11:40:40 PM UTC+3, Ramos wrote: > > Stil some error about no attribute encode

[web2py] Re: INNER JOIN and WHERE clause in web2py

2018-02-19 Thread 'Annet' via web2py-users
Hi Anthony, Thanks for your reply. I get the results I want. Two more questions, using this syntax, how would I join ntw_edge_inID on vtx_vertex.id and ntw_edge_labelID on ntw_edge_label_set.id without ending up with more records than I have now. Second, up to now I have been writing joins