RkBlog - Python, PHP, Linux

Discussion: OperationalError: no such table: rk_content1

Blog about my programming experience with Django, Python, PHP and Linux and OpenSource projects.

stodge napisał: 30 October 2009, godzina 14:20
  • I'm trying to run Diamanda but I get the following:

    TemplateSyntaxError at /

    Caught an exception while rendering: no such table: rk_content1

    Original Traceback (most recent call last):
    File "/usr/lib/python2.5/site-packages/django/template/debug.py", line 71, in render_node
    result = node.render(context)
    File "/usr/lib/python2.5/site-packages/django/template/defaulttags.py", line 126, in render
    len_values = len(values)
    File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 81, in __len__
    self._result_cache = list(self.iterator())
    File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 756, in iterator
    for row in self.query.results_iter():
    File "/usr/lib/python2.5/site-packages/django/db/models/sql/query.py", line 287, in results_iter
    for rows in self.execute_sql(MULTI):
    File "/usr/lib/python2.5/site-packages/django/db/models/sql/query.py", line 2369, in execute_sql
    cursor.execute(sql, params)
    File "/usr/lib/python2.5/site-packages/django/db/backends/util.py", line 19, in execute
    return self.cursor.execute(sql, params)
    File "/usr/lib/python2.5/site-packages/django/db/backends/sqlite3/base.py", line 193, in execute
    return Database.Cursor.execute(self, query, params)
    OperationalError: no such table: rk_content1


    The syncdb operation was successful. Any ideas? THanks
riklaunim napisał: 30 October 2009, godzina 15:34
  • Looks like syncdb didn't created all tables. You changed something?/try deleting sqlite "diamandadb" file if it existed before.


You can't post new Topics
You can't post new Posts
You aren't a moderator