Ask Your Question
0

startforum does not work

asked 2011-08-02 09:25:21 -0500

mether gravatar image

updated 2011-08-04 09:18:44 -0500

Evgeny gravatar image

In my test instance, I have running the forum instance created via 0.7.7 but I just tried again with 0.7.9 and it doesn't work.

python manage.py runserver 127.0.0.1 File "manage.py", line 1 import settings # Assumed to be in the same directory. ^ IndentationError: unexpected indent

I compared it to the manage.py file created via 0.7.7 and the following two lines are missing

from django.core.management import execute_manager try:

There appears to be other issues because changing that didn't work either but you might want to fix the problem here. I wonder why the unit tests didn't catch this problem either. I would be happy to retest

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-08-02 09:36:16 -0500

Evgeny gravatar image

Somebody must have accidentally damaged the file or your server. Here is the version from the repository:

https://github.com/ASKBOT/askbot-devel/blob/master/askbot/setup_templates/manage.py

edit flag offensive delete link more

Comments

Interesting. Let me check this and get back to you
mether gravatar imagemether ( 2011-08-02 09:45:28 -0500 )edit
the manage.py file is simply copied from askbot/setup_templates, and the file at the root of the project is not part of the repository, so the only explanation I see - is that someone by accident edited the file and deleted some lines. I will look at it in a minute.
Evgeny gravatar imageEvgeny ( 2011-08-02 09:50:50 -0500 )edit
I think I figured out why. It seems to be my mistake. I will check myself
mether gravatar imagemether ( 2011-08-02 10:02:12 -0500 )edit
It seems settings.py has a dependency on the captcha module. Shouldn't that be renamed? https://github.com/ASKBOT/askbot-devel/blob/master/askbot/setup_templates/settings.py
mether gravatar imagemether ( 2011-08-02 10:04:57 -0500 )edit
mether gravatar imagemether ( 2011-08-02 10:39:10 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-08-02 09:25:21 -0500

Seen: 50 times

Last updated: Aug 02 '11