First time here? Check out the FAQ!

LordT's profile - activity

2013-03-19 18:33:41 -0500 received badge Notable Question (source)
2012-10-26 07:24:52 -0500 received badge Popular Question (source)
2012-06-18 03:03:02 -0500 received badge Famous Question (source)
2012-05-26 08:07:14 -0500 received badge Citizen Patrol
2012-05-25 09:40:38 -0500 commented question [Fundraiser] Is it possible to migrate from OSQA to AskBot?

Evgeny, do you still need testdata? I can provide you with some if still needed

2012-05-25 09:39:19 -0500 received badge Supporter ( source )
2012-05-25 09:39:15 -0500 received badge Scholar ( source )
2012-05-25 09:39:05 -0500 commented answer Settings module is missing, how do I add it?

Thanks a lot, that together with zaf's comment did the trick. I must have screwed over my environment last night, but a new dir AND the correct setting did wonders. Thanks for the awesome support.

2012-05-25 09:38:12 -0500 commented answer Settings module is missing, how do I add it?

Thanks a lot for the quick answer, I've updated moved the project into a subdir. It worked now (not sure if it was your or Evgeny's comment that made it work)

2012-05-24 16:06:46 -0500 received badge Nice Question (source)
2012-05-24 15:35:13 -0500 received badge Student (source)
2012-05-24 11:32:56 -0500 asked a question Settings module is missing, how do I add it?

Hey there,

just tried to install askbot in a virtualenv environment on Ubuntu. I followed the documentation over in the docs and got to the point to do a ./bin/python manage.py syncdb after setting the db and everything. This brought up the following error message:

root@host:/srv/answers/askbot# ./bin/python manage.py syncdb
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 261, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 67, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/commands/syncdb.py", line 7, in <module>
    from django.core.management.sql import custom_sql_for_model, emit_post_sync_signal
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/sql.py", line 6, in <module>
    from django.db import models
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/__init__.py", line 14, in <module>
    if not settings.DATABASES:
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/utils/functional.py", line 276, in __getattr__
    self._setup()
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/conf/__init__.py", line 42, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/conf/__init__.py", line 89, in __init__
    raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'askbot.settings' (Is it on sys.path?): No module named settings

Short notice on my paths: I've got a virtualenv in /srv/answers/aksbot with askbot installed in /srv/answers/askbot as well. Hence, I run the command in the correct virtualenv, but looking at the bath, it seems like it's using the system django config in /usr/local/lib, which it shouldn't. Do I need to do anything else to get this to work?