Hello,

The following line in a view which used to work in web2py 2.6.x no longer 
works in 2.17.2.  I expect it has something to do with moving pydal to it's 
own package, but I'm not sure how to rectify the issue.

<th class="{{='numeric' if 
db._adapter.is_numerical_type(table[fieldname].type) else 
''}}">{{=db.error_invoice_line[fieldname].label}}</th>

The error given is:

1.
2.
3.
4.
5.
6.

Traceback (most recent call last):
  File "/opt/web-apps/web2py/gluon/restricted.py", line 219, in restricted
    exec(ccode, environment)
  File "/opt/web-apps/web2py/applications/wspg/views/error_invoice/view.html", 
line 225, in <module>
AttributeError: 'PostgrePsyco' object has no attribute 'is_numerical_type'

Any assistance would be appreciated.
Carl

-- 
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.

Reply via email to