PowerGrid works with the latests web2py 2+ ..... while Powertable does not
I was wondering what the real differences are between these 2 powerfull
plugins
they both seems to do basically the same things ... but PowerTable looks
much better and seems to have more options ... !
the app example for powertable does not work in web2py ...
the one named : web2py.app.skrywer_powertable.w2p
I tried to test it yersterday .. but does not work !
I get the following error on 2.0.9
<type 'exceptions.AttributeError'> 'Row' object has no attribute 'product'
Version
web2py™(2, 0, 9, datetime.datetime(2012, 10, 2, 3, 55, 58), 'dev')PythonPython
2.7.3: /usr/bin/python
Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
Traceback (most recent call last):
File "/home/www-data/web2py/gluon/restricted.py", line 209, in restricted
exec ccode in environment
File "/home/www-data/web2py/applications/powertable/controllers/default.py"
<http://web2py.loc/admin/default/edit/powertable/controllers/default.py>, line
80, in <module>
File "/home/www-data/web2py/gluon/globals.py", line 186, in <lambda>
self._caller = lambda f: f()
File "/home/www-data/web2py/applications/powertable/controllers/default.py"
<http://web2py.loc/admin/default/edit/powertable/controllers/default.py>, line
25, in index
table = table.create()
File
"/home/www-data/web2py/applications/powertable/models/plugin_powertable.py"
<http://web2py.loc/admin/default/edit/powertable/models/plugin_powertable.py>,
line 810, in plugin_powertable
PowerTable(),
File
"/home/www-data/web2py/applications/powertable/models/plugin_powertable.py"
<http://web2py.loc/admin/default/edit/powertable/models/plugin_powertable.py>,
line 214, in __init__
_id = record[keycolumntbl][keycolumnfld]
File "/home/www-data/web2py/gluon/dal.py", line 6369, in __getitem__
return ogetattr(self, key)
AttributeError: 'Row' object has no attribute 'product'
I was planning on using the powertable for my soccer app ... it seems I'll
have to do it with powergrid instead ...
Any news on powertable ??? ...
Bruno ... if I was half as good as you .. I would of helped you maintain
this beauty ! .. i watched your vimeo cast about it ... it is simply
powerfull ...and would be very usefull to me !
Don
--