Worked for me with a similar problem. I've confirmed that line 631 of model plugin_wiki.py at one point refers to the second item of a couplet (dictionary entry) which doesn't there, namely the content of [[``].
Of course, from the next tuple onward ( ['name', 'youtube'], for example) things would be fine. But as a reference to an non entity is already made, the error throws. Is this a bug for which perhaps I should submit a patch to handle `` \n correctly, or is `` \n not incorrect syntax? Cheers, Tim On Tuesday, November 13, 2012 6:52:09 AM UTC+11, piero crisci wrote: > > 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 >>>> >>> --