[Booki-dev] After updating from Git I'm missing a database column for my install of Booki
James Simmons
nicestep at gmail.com
Thu Mar 24 15:37:26 PDT 2011
In my personal installation of Booki I'm using SQLLite. I did a git
pull today and found that afterwards I could not use Booki because it
complains as follows:
TemplateSyntaxError at /
Caught DatabaseError while rendering: no such column: editor_book.hidden
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.2.3
Exception Type: TemplateSyntaxError
Exception Value:
Caught DatabaseError while rendering: no such column: editor_book.hidden
Exception Location:
/usr/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py
in execute, line 200
Python Executable: /usr/bin/python
Python Version: 2.6.2
Python Path: ['/home/jim/olpc/booki/booki/lib',
'/usr/lib/python26.zip', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/site-packages',
'/usr/lib/python2.6/site-packages/PIL',
'/usr/lib/python2.6/site-packages/gst-0.10',
'/usr/lib/python2.6/site-packages/gtk-2.0',
'/usr/lib/python2.6/site-packages/webkit-1.0',
'/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode']
Server time: Thu, 24 Mar 2011 22:28:39 +0000
What is the simplest way to add this column to my database without
losing all the data I have in there now? I have been working on a
book which is nearly finished and while I *could* recover by copying
from one of my latest EPUB exports I'd really rather not do that.
James Simmons
More information about the Booki-dev
mailing list