If the shell is run and a from apps.showcase.examples.common import db issued (as explained in the docs) before running once a py4web run apps, the db in the showcase/example is not created correctly - and a strange "sqlite3.OperationalError: no such table: person" error is shown.
It's not usual, but quite misleading. This explain it and simply show how to fix it.
If the shell is run and a
from apps.showcase.examples.common import db
issued (as explained in the docs) before running once apy4web run apps
, the db in the showcase/example is not created correctly - and a strange "sqlite3.OperationalError: no such table: person" error is shown.It's not usual, but quite misleading. This explain it and simply show how to fix it.