I have completed the tutorial for ubuntu, and running 'python manage.py runserver' seems to be ok:

Validating models...
0 errors found

Django version 1.1, using settings 'osqa.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

However when looking at http://127.0.0.1:8000/, I get a huge traceback. Any idea what to try next?

Thanks!

Traceback (most recent call last):

File "/usr/local/lib/python2.6/dist-packages/Django-1.1-py2.6.egg/django/core/servers/basehttp.py", line 279, in run self.result = application(self.environ, self.start_response)

File "/usr/local/lib/python2.6/dist-packages/Django-1.1-py2.6.egg/django/core/servers/basehttp.py", line 651, in call return self.application(environ, start_response)

SNIP

ProgrammingError: (1146, "Table 'osqa.forum_keyvalue' doesn't exist")

asked 24 Apr '10, 17:50

quesada's gravatar image

quesada
16112
accept rate: 0%

edited 24 Apr '10, 22:16

rickross's gravatar image

rickross ♦♦
12.5k2814972


Hum, I think the guide as some errors. After the database creation, you need to run:

python manage.py syncdb --all
python manage.py migrate forum --fake

After that, everything should work fine. Meanwhile I'll update the docs. Thanks for noticing it.

link

answered 24 Apr '10, 19:24

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×113
×25
×3
×3

Asked: 24 Apr '10, 17:50

Seen: 765 times

Last updated: 24 Apr '10, 22:16

powered by OSQA