Ask Your Question

Mauricio's profile - activity

2012-12-09 15:12:31 -0500 received badge  Famous Question (source)
2011-09-14 15:15:32 -0500 commented answer askbot-setup SyntaxError: invalid syntax

Evgeny, thanks very much!

2011-09-06 11:47:25 -0500 received badge  Student (source)
2011-09-06 10:31:49 -0500 received badge  Editor (source)
2011-09-06 10:28:44 -0500 asked a question askbot-setup SyntaxError: invalid syntax

Hello, Im installing askbot. I'm a newby to python so sorry if question is too dumb.

I opted to install it with:

git clone git://github.com/ASKBOT/askbot-devel.git milexpertos

Aftwerwards:

python setup.py develop

Then:

askbot-setup

and I got the following error:

Traceback (most recent call last): File "/usr/bin/askbot-setup", line 7, in ? sys.exit( File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 318, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 2221, in load_entry_point return ep.load() File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 1954, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/var/www/milexpertos.org/milexpertos/askbot/deployment/__init__.py", line 6, in ? from askbot.deployment import messages File "/var/www/milexpertos.org/milexpertos/askbot/deployment/messages.py", line 4, in ? from askbot.deployment import path_utils File "/var/www/milexpertos.org/milexpertos/askbot/deployment/path_utils.py", line 113 with file(file_path, 'a'): ^ SyntaxError: invalid syntax

Could you please guide me with a starting point to fix it?

Thanks