web2py version 2.16.1-stable python version 2.7.15 pip install wsgiref flup cherrypy rocket paste gevent tornado twisted gunicorn eventlet motor waitress
tried to install via pip but failed in mac : fapws mongrel2 diesel bjoern pulsar repoze *note:* - for linux os is tested using docker - for diesel is work in debian and ubuntu (via pip), but error on other linux distribution : centos, fedora, opensuse, scientifix, alpine, mageia, mac - cgi is use wsgiref in anyserver.py, tested using -s cgi an error occured (in any environment linux and mac) but tested using -s wsgiref is running smoothly - tested using flup is error using python 2 but not respond in python 3 (no error occured in terminal but cant access it via browser), while add the test using python 3 later - tested using motor is error in any environment (linux and mac) $ python ~/project/python/web2py/anyserver.py -s cgi -i 0.0.0.0 -p 8000 starting cgi on 0.0.0.0:8000... ERROR:web2py:Traceback (most recent call last): File "/Users/sugizo/web2py/gluon/main.py", line 317, in wsgibase (static_file, version, environ) = url_in(request, environ) File "/Users/sugizo/web2py/gluon/rewrite.py", line 189, in url_in return regex_url_in(request, environ) File "/Users/sugizo/web2py/gluon/rewrite.py", line 628, in regex_url_in path = urllib_unquote(request.env.path_info) or '/' File "/Users/sugizo/miniconda3/envs/python2_test/lib/python2.7/urllib.py", line 1233, in unquote bits = s.split('%') AttributeError: 'NoneType' object has no attribute 'split' Status: 500 INTERNAL SERVER ERROR Content-Type: text/html; charset=UTF-8 web2py_error: ticket unrecoverable Content-Length: 719 <html><body><h1>Internal error</h1>Ticket issued: <a href="/admin/default/ticket/unrecoverable" target="_blank">unrecoverable</a></body><!-- this is junk text else IE does not display the page: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx //--></html> $ python ~/project/python/web2py/anyserver.py -s flup -i 0.0.0.0 -p 8000 starting flup on 0.0.0.0:8000... Traceback (most recent call last): File "/Users/sugizo/web2py/anyserver.py", line 367, in <module> main() File "/Users/sugizo/web2py/anyserver.py", line 364, in main options=options) File "/Users/sugizo/web2py/anyserver.py", line 316, in run getattr(Servers, servername)(application, (ip, int(port)), options=options) File "/Users/sugizo/web2py/anyserver.py", line 30, in flup import flup.server.fcgi File "/Users/sugizo/miniconda3/envs/python2_test/lib/python2.7/site-packages/flup/server/fcgi.py", line 54, in <module> from .fcgi_base import BaseFCGIServer, FCGI_RESPONDER File "/Users/sugizo/miniconda3/envs/python2_test/lib/python2.7/site-packages/flup/server/fcgi_base.py", line 45, in <module> import _dummy_thread as thread ImportError: No module named _dummy_thread $ python ~/project/python/web2py/anyserver.py -s motor -i 0.0.0.0 -p 8000 starting motor on 0.0.0.0:8000... Traceback (most recent call last): File "/Users/sugizo/web2py/anyserver.py", line 367, in <module> main() File "/Users/sugizo/web2py/anyserver.py", line 364, in main options=options) File "/Users/sugizo/web2py/anyserver.py", line 316, in run getattr(Servers, servername)(application, (ip, int(port)), options=options) File "/Users/sugizo/web2py/anyserver.py", line 172, in motor app = motor.WSGIContainer(app) AttributeError: 'module' object has no attribute 'WSGIContainer' any idea how to fix it? thanks and 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 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.