oops bug. fixed in trunk. I will repost web2py 1.83.2 later today or
tomorrow.



On Aug 13, 5:15 am, sherdim <[email protected]> wrote:
> Good day, ALL!
>
> After update in one of old app the error appears:
>
> Traceback (most recent call last):
>   File "D:\a\w2p\gluon\restricted.py", line 186, in restricted
>     exec ccode in environment
>   File "D:/a/w2p/applications/bioforum/views/manage.html", line 165,
> in <module>
>     <div class="content">
>   File "D:\a\w2p\gluon\sqlhtml.py", line 1175, in __init__
>     r = field.represent(r)
>   File "D:\a\w2p\gluon\sql.py", line 498, in <lambda>
>     field.represent = lambda id, r=referenced, f=ff: f(r,id)
>   File "D:\a\w2p\gluon\sql.py", line 472, in ff
>     return r._format(row)
> TypeError: 'NoneType' object is not callable
>
> This is happened only with one main table - other simple tables are
> shown nice.
>
> Nothing special is in the table - database SQLite, integrity is OK
>
> Error is off after I change sql.py with sql.py.orig!!!
>
> Think a bug or incompatibility.

Reply via email to