[web2py] Re: uwsgi: strange messages

2015-02-13 Thread cem
I used the same script to setup nginx and uwsgi and it helped me a lot 
speeding up my learning process, as it is almost turnkey. I had the same 
warning message for uid though it has been clearly configured in 
web2py.ini. I just added --uid param to the exec command and did not 
further investigate why uwsgi did not read properly that parameter from the 
ini file.

On Tuesday, February 3, 2015 at 10:18:51 AM UTC+2, Niphlod wrote:

 the  from operator import _compare_digest as compare_digest is 
 documented on the interwebs just google it... standard issues are 
 playing with different versions of python in the same server.
 the how do I run it not from root well. Don't start uwsgi while 
 logged in as root ! You stated this is the result of installing nginx+uwsgi 
 using the script on a test server  if the script is this 
 https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
  it 
 has the correct permissions to AVOID running as root if the script is 
 another one. it's wrong.


  

-- 
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: uwsgi: strange messages

2015-02-03 Thread Martin Weissenboeck
You are right, there is a lot of entries about from operator... and I
have tried some proposlas, but without success. Therefore I postet my
question here.

Anyway, your hints was helpful - thank you: it seems that there are
diffenent libraries python2.7: I wanted to use Python 2.7.9, but uwsgi
expected Python 2.7.6

Maybe it is possible to use Python 2.7.9 together with web2py and 2.7.6 for
the rest of the Ubuntu server, but I had not enough time to try it.

2015-02-03 9:18 GMT+01:00 Niphlod niph...@gmail.com:

 the  from operator import _compare_digest as compare_digest is
 documented on the interwebs just google it... standard issues are
 playing with different versions of python in the same server.
 the how do I run it not from root well. Don't start uwsgi while
 logged in as root ! You stated this is the result of installing nginx+uwsgi
 using the script on a test server  if the script is this
 https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
  it
 has the correct permissions to AVOID running as root if the script is
 another one. it's wrong.




-- 
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: uwsgi: strange messages

2015-02-03 Thread Niphlod
the  from operator import _compare_digest as compare_digest is documented 
on the interwebs just google it... standard issues are playing with 
different versions of python in the same server.
the how do I run it not from root well. Don't start uwsgi while 
logged in as root ! You stated this is the result of installing nginx+uwsgi 
using the script on a test server  if the script is this 
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
 it 
has the correct permissions to AVOID running as root if the script is 
another one. it's wrong.


  

-- 
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.