WebFaction
Community site: login faq

Hi,

In the process of installing osqa following this guide, I got the error messages after executing python2.7 manage.py syncdb --all

    Traceback (most recent call last):
  File "manage.py", line 13, in <module>
    execute_manager(settings)
  File "/home/eluminix/webapps/django/lib/python2.7/django/core/management/__init__.py", line 459, in execute_manager
    utility.execute()
  File "/home/eluminix/webapps/django/lib/python2.7/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/eluminix/webapps/django/lib/python2.7/django/core/management/__init__.py", line 261, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/eluminix/webapps/django/lib/python2.7/django/core/management/__init__.py", line 69, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/home/eluminix/webapps/django/lib/python2.7/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/eluminix/lib/python2.7/South-0.7.5-py2.7.egg/south/management/commands/__init__.py", line 13, in <module>
    from south.management.commands.syncdb import Command as SyncCommand
  File "/home/eluminix/lib/python2.7/South-0.7.5-py2.7.egg/south/management/commands/syncdb.py", line 17, in <module>
    from south.db import dbs
  File "/home/eluminix/lib/python2.7/South-0.7.5-py2.7.egg/south/db/__init__.py", line 78, in <module>
    db = dbs[DEFAULT_DB_ALIAS]
KeyError: 'default'

Plenty to swallow for me at this point. Any pointers appreciated.

asked 26 Jun '12, 05:36

finid
111
accept rate: 0%


That guide is almost 18 months old, so I don't really know if it is still valid.

We have an unofficial one-click installer for available here: One-click OSQA installer for WebFaction - just go there, hit the install link, then complete the installation via our control panel.

If the installer doesn't seem to work for you, then try clearing any OSQA-related Python libraries out of your ~/lib/python2.7 directory (since they might conflict with the libraries provided by our installer).

permanent link

answered 26 Jun '12, 14:33

seanf
12.2k41836
accept rate: 37%

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

Question tags:

×43

question asked: 26 Jun '12, 05:36

question was seen: 7,054 times

last updated: 26 Jun '12, 14:33

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM