Hi there. i am new to SSH and don't have a clue

How ever i followed the Installing OSQA on DreamHost and it looks it has install ok apart form installing the Database.

I am getting the following error: when i try and run(setup/install the database), python manage.py syncdb --all

 -jailshell-3.2$ python manage.py syncdb --all
Traceback (most recent call last):
  File "manage.py", line 4, in ?
    import settings # Assumed to be in the same directory.
  File "/home/<myusername>/public_html/settings.py", line 60, in ?
    from settings_local import *
  File "/home/<myusername>/public_html/settings_local.py", line 28
    if using
            ^
SyntaxError: invalid syntax
-jailshell-3.2$ 

Any idea on what i am doing wrong?, or maybe someone can give me a step by step guide for site5.com Thanks and i look forward to any help

asked 30 May '10, 07:55

GeeksTech's gravatar image

GeeksTech
613
accept rate: 0%

edited 30 May '10, 08:10


Hi GeeksTech, it looks like maybe you didn't copy settings_local.py.dist to settings_local.py and configure it for your site, or maybe there's a mistake in the settings_local.py file.

Feel free to pop into the OSQA chat channel, and we'll try to help you if we can. We'll need more data to dig any deeper.

link

answered 30 May '10, 09:29

rickross's gravatar image

rickross ♦♦
12.5k2914972
accept rate: 46%

right, i have just checked the settings_local.py and all looks to be in order (i think), It has all my database info there and so on.

I pop in the chat asap (unless someone else posts a fix before i pop in :P)

(30 May '10, 09:52) GeeksTech

I would just like to say thank you to Rick

You have been a GREAT help in getting me up and running. Thank you very much.

:D

(31 May '10, 03:29) GeeksTech
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:

×62
×21
×8

Asked: 30 May '10, 07:55

Seen: 424 times

Last updated: 31 May '10, 03:30

powered by OSQA