It indeed works fine... but you need a recent version of web2py (> 2.5.3 IIRC) for py2 compatibiĺity functions. I'm working on an update for avoiding this specific error.
Nico Il giorno Lun 21 Gen 2019, 01:00 黄祥 <steve.van.chris...@gmail.com> ha scritto: > tested also got same result, step > docker pull ubuntu > docker run -it ubuntu /bin/bash > > apt update > apt install -y git unzip wget python > wget -c http://web2py.com/examples/static/web2py_src.zip > unzip -o web2py_src.zip > cd web2py/applications > git clone https://github.com/web2py/web2py-book books > python ../web2py.py --nogui --no-banner -a a -i 0.0.0.0 -p 8000 > > *result:* > > http://localhost:8000/books/default/index?FLASH_MSG=%3Ctype+%27exceptions.ImportError%27%3E > > *tested:* > - git clone https://github.com/web2py/web2py-book > *result* > not appears in admin page http://localhost:8000/admin/default/site > > - check the error on web2py book application and under admin found nothing > > 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. > -- 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.