Try: ``name: read table: message record_id: id ``:widget Instead of: `` name: read table: message record_id: id ``:widget
Il giorno domenica 14 ottobre 2012 10:21:48 UTC+2, finlayson ha scritto: > > I have got the same error message with the classic friend database within > a wiki page. So now waiting for an upgrade? Or can you please show what to > cahnge. If I remember well in an earlier version of web2py 1.99.6 there was > no problem... > > Op woensdag 1 augustus 2012 17:38:27 UTC+2 schreef Massimo Di Pierro het > volgende: >> >> This is a bug in plugin_wiki but the bug is triggered by >> >> record_id: id >> >> id should be a number. >> >> On Wednesday, 1 August 2012 10:07:17 UTC-5, Larry Wapnitsky wrote: >>> >>> I'm attempting to access database tables created in my db.py file using >>> different aspects of plugin_wiki. Whenever I enter the table name, I get >>> the following as my results on my "page": >>> >>> Traceback (most recent call last): >>> File >>> "/home/lwapnitsky/web2py/applications/EARS_web2py/models/plugin_wiki.py", >>> line 631, in render_widget >>> args = dict((item[0].strip(), self.parse_value(item[1].strip())) for >>> item in items) >>> File >>> "/home/lwapnitsky/web2py/applications/EARS_web2py/models/plugin_wiki.py", >>> line 631, in >>> args = dict((item[0].strip(), self.parse_value(item[1].strip())) for >>> item in items) >>> IndexError: list index out of range >>> >>> >>> Here is the code on the wiki page that was generated by the builder: >>> `` >>> name: read >>> table: message >>> record_id: id >>> ``:widget >>> >>> Thanks >>> >> --

