[web2py] Re: Python3 and uwsgi

2018-02-23 Thread Ari Lion BR Sp
if installing on aws ec2 - need to add this repo:

https://packages.ubuntu.com/search?keywords=uwsgi-plugin-python3=names=artful=all


Em sexta-feira, 23 de fevereiro de 2018 14:55:46 UTC-3, Ari Lion BR Sp 
escreveu:
>
> Hi, I have tryed a little bit, and got something...:
>
>
> https://github.com/arisobel/web2py_scripts/blob/master/setup-web2py-nginx-p3-uwsgi-ubuntu.sh
> As I am new at all of this stuff, please better the code.
>
>
> 
>
>
> Em quinta-feira, 22 de fevereiro de 2018 11:59:38 UTC-3, Ari Lion BR Sp 
> escreveu:
>>
>> Hi, is there already a script for making
>> web2py, python3 and uwsgi work together ?
>>
>> please create it at:
>> web2py/scripts/*
>>
>>
>> Em quarta-feira, 23 de agosto de 2017 12:53:49 UTC-3, Henri Chapelle 
>> escreveu:
>>>
>>> Hi,
>>> I can't get web2py to work with uwsgi and python3.
>>> Does anybody succeeded with a similar setup ?
>>>
>>> From what I see by searching the internet and my tests, uwsgi doesn't 
>>> accept unicode text for headers (need to be latin1 encoded text).
>>> All the pages have 0bytes in the log.
>>>
>>> My setup is working well with python2 and uwsgi tough.
>>>
>>> Is there an easy way to make web2py, python3 and uwsgi work together ?
>>>
>>> Regards,
>>> Henri
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Python3 and uwsgi

2018-02-23 Thread Ari Lion BR Sp
Hi, I have tryed a little bit, and got something...:

https://github.com/arisobel/web2py_scripts/blob/master/setup-web2py-nginx-p3-uwsgi-ubuntu.sh
As I am new at all of this stuff, please better the code.




Em quinta-feira, 22 de fevereiro de 2018 11:59:38 UTC-3, Ari Lion BR Sp 
escreveu:
>
> Hi, is there already a script for making
> web2py, python3 and uwsgi work together ?
>
> please create it at:
> web2py/scripts/*
>
>
> Em quarta-feira, 23 de agosto de 2017 12:53:49 UTC-3, Henri Chapelle 
> escreveu:
>>
>> Hi,
>> I can't get web2py to work with uwsgi and python3.
>> Does anybody succeeded with a similar setup ?
>>
>> From what I see by searching the internet and my tests, uwsgi doesn't 
>> accept unicode text for headers (need to be latin1 encoded text).
>> All the pages have 0bytes in the log.
>>
>> My setup is working well with python2 and uwsgi tough.
>>
>> Is there an easy way to make web2py, python3 and uwsgi work together ?
>>
>> Regards,
>> Henri
>>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Python3 and uwsgi

2018-02-22 Thread Ari Lion BR Sp
Hi, is there already a script for making
web2py, python3 and uwsgi work together ?

please create it at:
web2py/scripts/*


Em quarta-feira, 23 de agosto de 2017 12:53:49 UTC-3, Henri Chapelle 
escreveu:
>
> Hi,
> I can't get web2py to work with uwsgi and python3.
> Does anybody succeeded with a similar setup ?
>
> From what I see by searching the internet and my tests, uwsgi doesn't 
> accept unicode text for headers (need to be latin1 encoded text).
> All the pages have 0bytes in the log.
>
> My setup is working well with python2 and uwsgi tough.
>
> Is there an easy way to make web2py, python3 and uwsgi work together ?
>
> Regards,
> Henri
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Python3 and uwsgi

2017-09-30 Thread Massimo Di Pierro
Can you help?

On Wednesday, 23 August 2017 18:33:08 UTC-5, Leonel Câmara wrote:
>
> wsgibase in gluon/main.py probably needs a few to_bytes calls
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Python3 and uwsgi

2017-08-23 Thread Leonel Câmara
wsgibase in gluon/main.py probably needs a few to_bytes calls

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.