Great Stifan, thanks for confirming. I'll file a bug report with the dev team.
Regards, Jose On Sunday, 8 July 2018 12:41:59 UTC+1, 黄祥 wrote: > > yes, have the same error too on docker, not sure on line 329, i've checked > it shown: > 'import IPython error; use default python shell') > > *step to reproduce an error on docker* > *python 2 docker ubuntu image with web2py nightly source* > docker pull ubuntu > docker run -it ubuntu /bin/bash > > apt update > apt install -y python-pip unzip wget > pip install ipython > wget -c https:// > mdipierro.pythonanywhere.com/examples/static/nightly/web2py_src.zip > unzip -o web2py_src.zip > > root@c989eef9003b:/# ipython > Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34) > Type "copyright", "credits" or "license" for more information. > > IPython 5.7.0 -- An enhanced Interactive Python. > ? -> Introduction and overview of IPython's features. > %quickref -> Quick reference. > help -> Python's own help system. > object? -> Details about 'object', use 'object??' for extra details. > > In [1]: > Do you really want to exit ([y]/n)? > root@c989eef9003b:/# web2py/web2py.py -S welcome > web2py Web Framework > Created by Massimo Di Pierro, Copyright 2007-2018 > Version 2.16.1-stable+timestamp.2018.06.02.04.50.21 > Database drivers available: sqlite3, imaplib, pymysql > WARNING:web2py:import IPython error; use default python shell > Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34) > [GCC 7.3.0] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > (InteractiveConsole) > >>> > > *python 3 docker ubuntu image with web2py nightly source* > docker pull ubuntu > docker run -it ubuntu /bin/bash > > apt update > apt install -y python3-pip unzip wget > pip3 install ipython > wget -c https:// > mdipierro.pythonanywhere.com/examples/static/nightly/web2py_src.zip > unzip -o web2py_src.zip > > root@9454510a3068:/# ipython > Python 3.6.5 (default, Apr 1 2018, 05:46:30) > Type 'copyright', 'credits' or 'license' for more information > IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help. > > In [1]: > Do you really want to exit ([y]/n)? > root@9454510a3068:/# python3 web2py/web2py.py -S welcome > web2py Web Framework > Created by Massimo Di Pierro, Copyright 2007-2018 > Version 2.16.1-stable+timestamp.2018.06.02.04.50.21 > Database drivers available: sqlite3, imaplib, pymysql > WARNING:web2py:import IPython error; use default python shell > Python 3.6.5 (default, Apr 1 2018, 05:46:30) > [GCC 7.3.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > (InteractiveConsole) > >>> > > 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.