First time here? Check out the FAQ!

MrGrieves's profile - activity

2014-05-19 12:59:13 -0500 received badge Notable Question (source)
2013-03-13 19:36:43 -0500 received badge Famous Question (source)
2012-05-21 05:20:33 -0500 received badge Popular Question (source)
2011-08-23 04:31:18 -0500 received badge Famous Question (source)
2011-02-12 14:27:22 -0500 received badge Notable Question (source)
2010-12-06 17:00:26 -0500 received badge Popular Question (source)
2010-10-01 12:54:10 -0500 received badge Student (source)
2010-10-01 12:51:42 -0500 received badge Supporter
2010-10-01 12:51:42 -0500 received badge Scholar ( source )
2010-07-01 12:34:52 -0500 marked best answer "App with label forum could not be found" when running migrate

apologies. That is a mistake in the manual, please try:

python manage.py migrate askbot
2010-06-30 09:41:05 -0500 asked a question "App with label forum could not be found" when running migrate

I've successfully run startforum and the database sync. Now, when trying to run the migrate forum command, I get the following

C:\saskbot3>python manage.py migrate forum
C:\Python26\lib\site-packages\MySQLdb\__init__.py:34: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "C:\Python26\lib\site-packages\django-1.1.2-py2.6.egg\django\core\management\__init__.py", line 362, in execute_manager
    utility.execute()
  File "C:\Python26\lib\site-packages\django-1.1.2-py2.6.egg\django\core\management\__init__.py", line 303, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\Python26\lib\site-packages\django-1.1.2-py2.6.egg\django\core\management\base.py", line 195, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "C:\Python26\lib\site-packages\django-1.1.2-py2.6.egg\django\core\management\base.py", line 222, in execute
    output = self.handle(*args, **options)
  File "C:\Python26\lib\site-packages\south-0.7.1-py2.6.egg\south\management\commands\migrate.py", line 81, in handle
    apps = [Migrations(app)]
  File "C:\Python26\lib\site-packages\south-0.7.1-py2.6.egg\south\migration\base.py", line 60, in __call__
    self.instances[app_label] = super(MigrationsMetaclass, self).__call__(app_label_to_app_module(app_label), **kwds)
  File "C:\Python26\lib\site-packages\south-0.7.1-py2.6.egg\south\migration\utils.py", line 41, in app_label_to_app_module
    app = models.get_app(app_label)
  File "C:\Python26\lib\site-packages\django-1.1.2-py2.6.egg\django\db\models\loading.py", line 139, in get_app
    raise ImproperlyConfigured, "App with label %s could not be found" % app_label
django.core.exceptions.ImproperlyConfigured: App with label forum could not be found
2010-06-30 09:30:32 -0500 marked best answer Why do I get a "No module named askbot.deployment" error on Windows?

If you have script startforum but still see that error that means askbot module does not appear to be in your PYTHONPATH. You can start python in command line and type:

import sys
print '\n'.join(sys.path)

That will print out whatever is in your in the Python system path.

otherwise, all that script does - copy files from directory askbot/setup_templates into your django project directory. You need all of the contents of that directory and establish the following structure:

project_dir/  #<--- some very distinctive name
        __init__.py  #empty but required for python to recognize site as python module
        urls.py      #url map
        manage.py    #management script - this one is actually 1:1 django default
        settings.py  #where most important settings live
        log/         #directory for site logger
        askbot/upfiles/   #directory to hold uploaded files.

edit: directories log/ and askbot/upfiles must be writable by the webserver.

You probably already have the "project_dir" and askbot since you've downloaded from the repository, or took tar file?

So you can do it manually too, bypassing the startforum script.

Also - I will push the fresh update in a bit - I recommend to take it - there is a bugfix for runtime settings interface.

2010-06-29 17:15:31 -0500 asked a question Why do I get a "No module named askbot.deployment" error on Windows?

I installed according to the second set of instructions (not using easy install). I also installed mysql and the python mysql adapter. I get the following error:

C:\Python26\Scripts>startforum.exe
Traceback (most recent call last):
  File "C:\Python26\Scripts\startforum-script.py
    load_entry_point('askbot==0.6.5', 'console_s
  File "c:\python26\setuptools-0.6c11-py2.6.egg\
  File "c:\python26\setuptools-0.6c11-py2.6.egg\
  File "c:\python26\setuptools-0.6c11-py2.6.egg\
ImportError: No module named askbot.deployment