Re: [web2py] installing web2py book from git

2019-01-20 Thread Nico Zanferrari
Hi, I've already noticed this behaviour (also on other applications). It happens if have an application's main folder name that contains non-alphabetical characters, even simple ones like dot or dash For example, web2py-book or examples.20190110 have this problem. Rename the folder to 'book' or

[web2py] Display errors on the same page tutorial

2019-01-20 Thread Alfonso Serra
I believe i have found a proper way to display errors on the same page that causes them without having to modify web2py core files. [image: 2019-01-20_152028.png] This is useful on the development stage since we would see the problem directly without having to navigate to the admin area or sw

[web2py] Re: cant access error admin

2019-01-20 Thread Alfonso Serra
Hi the traceback is pretty clear, these are 2 different errors and the full traceback should point you to where these happened, unfortunately just with a fragment we cant see where the error was originated. The ascii error should go away by declaring "# coding: utf-8" at the begining of the py

Re: [web2py] installing web2py book from git

2019-01-20 Thread Vlad
Oh, I've tried - renamed into TheBook. It did appear under apps, yet it still doesn't work. Is it supposed to work?? default/index brings up a bunch of languages - the first one being English. Clicking on any of them refreshes the page with the URL now staing "http://127.0.0.1:8000/TheBook/defau

Re: [web2py] installing web2py book from git

2019-01-20 Thread 黄祥
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

Re: [web2py] installing web2py book from git

2019-01-20 Thread Nico Zanferrari
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 黄祥 ha scritto: > tested also got same result, step > docker pull ubuntu > docker run