I started receiving this traceback on the console after the upgrade:
Traceback (most recent call last):
File "web2py.py", line 20, in <module>
File "gluon/widget.py", line 781, in start
File "gluon/shell.py", line 194, in run
File "<string>", line 1, in <module>
File "applications\Jellybean_Kingdom\controllers\internal.py", line
43, in lottery
db.lottery.truncate()
File "gluon/dal.py", line 3764, in truncate
File "gluon/dal.py", line 830, in truncate
File "gluon/dal.py", line 3702, in __getattr__
KeyError: '_db_adapter'
This is received running web2py 1.90.2 from a cron job on Windows.
On Dec 18, 11:38 am, mdipierro <[email protected]> wrote:
> This is a major - major release mostly because it includes the new
> DAL.
>
> It is supposed to be 100% backward compatible but cleaner, and more
> readable. We have fixed every known issue. If 1.90.1 breaks you DAL
> queries, please report it asap so that it can be addressed sooner.
>
> It also includes a lot of new features as described below.
>
> Changelog 1.90.1:
>
> - new DAL (complete rewrite of the web2py DAL is more modular)
> - rewrite has fail safe reload, thanks Jonathan
> - better CAS with v2 support, thanks Olivier ROCH VILATO
> - better markmin2latex
> - session.connect(separate=True) to handle many session files, thanks
> huaiyu wang
> - changed bahvior of impersonate (more secure, can generate form or
> used as API)
> - new rocket, thanks Tim
> - new pyfpdf
> - no more old style classes (we did some cleanup in the past sbut we
> had missed a few).
> - experimental couchdb support in new dal (only insert, select, update
> by id)
> - mysql support out of the box via pymysql
> - SQLITABLE(...,headers='labels') thanks Bruno
> - optional: digitally signed URLs, thanks Brian Meredyk
> - minor bug fixes