First time here? Check out the FAQ!
0

startforum does not work

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

Evgeny's avatar
13.2k
Evgeny
updated 2011-08-04 09:18:44 -0600
mether's avatar
1.5k
mether
asked 2011-08-02 09:25:21 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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

Evgeny's avatar
13.2k
Evgeny
answered 2011-08-02 09:36:16 -0600
edit flag offensive 0 remove flag delete link

Comments

Interesting. Let me check this and get back to you
mether's avatar mether (2011-08-02 09:45:28 -0600) 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's avatar Evgeny (2011-08-02 09:50:50 -0600) edit
I think I figured out why. It seems to be my mistake. I will check myself
mether's avatar mether (2011-08-02 10:02:12 -0600) 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's avatar mether (2011-08-02 10:04:57 -0600) edit
mether's avatar mether (2011-08-02 10:39:10 -0600) edit
add a comment see more comments