I have this function in my controller:
def help():
return
auth.wiki(render='markmin',menu_groups=['wiki_editor'],manage_permissions
=True)
and I have created some wiki pages.
After updating to 2.6.4 (from 2.5.1), I am getting this Ticket. How it
could be fixed??
Error ticket for myapp Ticket ID
10.31.1.23.2013-10-01.15-48-35.5897c826-3166-4256-a2ae-8bb92eb32a6b
<class 'sqlite3.OperationalError'> no such column: wiki_page.render Version
web2py™ Version 2.6.4-stable+timestamp.2013.09.22.01.43.37 Python Python
2.6.6: /usr/bin/python (prefix: /usr) Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
Traceback (most recent call last):
File "/opt/web-apps/web2py/gluon/restricted.py", line 217, in restricted
exec ccode in environment
File "/opt/web-apps/web2py/applications/prolims/models/menu.py"
<https://prolims-dev.lifesci.dundee.ac.uk/admin/default/edit/prolims/models/menu.py>,
line 80, in <module>
wikimenu = Wiki(auth).menu(controller="utils", function="help")
File "/opt/web-apps/web2py/gluon/tools.py", line 5706, in menu
menu_page = db.wiki_page(slug='wiki-menu')
File "/opt/web-apps/web2py/gluon/dal.py", line 8579, in __call__
return self._db(query).select(limitby=(0,1),for_update=for_update,
orderby=orderby, orderby_on_limitby=False).first()
File "/opt/web-apps/web2py/gluon/dal.py", line 10071, in select
return adapter.select(self.query,fields,attributes)
File "/opt/web-apps/web2py/gluon/dal.py", line 2301, in select
return super(SQLiteAdapter, self).select(query, fields, attributes)
File "/opt/web-apps/web2py/gluon/dal.py", line 1748, in select
return self._select_aux(sql,fields,attributes)
File "/opt/web-apps/web2py/gluon/dal.py", line 1713, in _select_aux
self.execute(sql)
File "/opt/web-apps/web2py/gluon/dal.py", line 1833, in execute
return self.log_execute(*a, **b)
File "/opt/web-apps/web2py/gluon/dal.py", line 1827, in log_execute
ret = self.cursor.execute(command, *a[1:], **b)
OperationalError: no such column: wiki_page.render
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.