Ask Your Question
0

startforum does not work

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

mether gravatar image mether flag of India
1272 27 17 45
http://fedoraproject.org/

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

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

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

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

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

link publish delete flag offensive edit

Comments

Interesting. Let me check this and get back to you mether ( 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 ( 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 ( 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.pymether ( 2011-08-02 10:04:57 -0500 )edit
Also this problem - http://ask01.dev.fedoraproject.org:8888/users/2/mether/mether ( 2011-08-02 10:39:10 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 26 times

Last updated: Aug 02 '11