I'm getting the following message after an initial install of askbot 0.7.43. I'm using python 2.5 on OpenBSD with postgresql. I did make the change suggested at http://askbot.org/en/question/7545/attributeerror-at-askbot_language/ Traceback section is at http://dpaste.com/817760/
SettingNotSet at /
("Startup error, couldn't load ACCESS_CONTROL.ASKBOT_CLOSED_FORUM_MODE", None)
Request Method: GET
Request URL: http://74.8.199.52:8222/
Django Version: 1.3.1
Exception Type: SettingNotSet
Exception Value:
("Startup error, couldn't load ACCESS_CONTROL.ASKBOT_CLOSED_FORUM_MODE", None)
Exception Location: /usr/local/lib/python2.5/site-packages/askbot-0.7.43-py2.5.egg/askbot/deps/livesettings/values.py in _value, line 340
Python Executable: /usr/local/bin/python
Python Version: 2.5.2
Python Path:
['/var/www/askbot-django',
'/usr/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/askbot-0.7.43-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/django_threaded_multihost-1.4_1-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/South-0.7.6-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/Coffin-0.3.7-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/django_recaptcha_works-0.3.4-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/markdown2-2.1.0-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/lamson-1.1-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/akismet-0.2.0-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/Jinja2-2.6-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/pytz-2012g-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/django_countries-1.0.5-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/django_kombu-0.9.2-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/html5lib-0.90-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/django_keyedcache-1.4_6-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/django_robots-0.8.1-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/django_celery-2.2.7-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/pystache-0.3.1-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/python_openid-2.2.5-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/oauth2-1.5.211-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/Unidecode-0.04.9-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/django_followit-0.0.3-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/python_daemon-1.6-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/nose-1.2.1-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/mock-1.0.0-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/chardet-2.1.1-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/celery-2.2.7-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/django_picklefield-0.2.1-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/httplib2-0.7.6-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/lockfile-0.9.1-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/multiprocessing-2.6.2.1-py2.5-openbsd-4.3-amd64.egg',
'/usr/local/lib/python2.5/site-packages/pyparsing-1.5.6-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/kombu-1.5.1-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/anyjson-0.3.3-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/python_dateutil-1.5-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/importlib-1.0.2-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/amqplib-1.0.2-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/pip-1.2.1-py2.5.egg',
'/usr/local/lib/python25.zip',
'/usr/local/lib/python2.5',
'/usr/local/lib/python2.5/plat-openbsd4',
'/usr/local/lib/python2.5/lib-tk',
'/usr/local/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/local/lib/python2.5/site-packages/askbot-0.7.43-py2.5.egg/askbot/deps']
Server time: Wed, 24 Oct 2012 11:47:06 -0400
...
I had a few errors previously, looks like there were three from manage.py migrate django_authopenid:
I also get this one from runserver
/usr/local/lib/python2.5/site-packages/Coffin-0.3.7-py2.5.egg/coffin/common.py:73: UserWarning: Cannot translate loader: askbot.skins.loaders.filesystem_load_template_source warnings.warn('Cannot translate loader: %s' % loader) current transaction is aborted, commands ignored until end of transaction block
2.
Not using ElementTree library 'xml.etree.ElementTree' because it failed to parse a trivial document: No module named expat; use SimpleXMLTreeBuilder instead
Traceback (most recent call last): File "manage.py", line 11, in <module> execute_manager(settings) File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/core/management/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/core/management/base.py", line 191, in run_from_argv self.execute(args, *options.__dict__) File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/core/management/base.py", line 220, in execute output = self.handle(args, *options) File "/usr/local/lib/python2.5/site-packages/South-0.7.6-py2.5.egg/south/management/commands/migrate.py", line 108, in handle ignore_ghosts = ignore_ghosts, File "/usr/local/lib/python2.5/site-packages/South-0.7.6-py2.5.egg/south/migration/__init__.py", line 193, in migrate_app applied_all = check_migration_histories(applied_all, delete_ghosts, ignore_ghosts) File "/usr/local/lib/python2.5/site-packages/South-0.7.6-py2.5.egg/south/migration/__init__.py", line 72, in check_migration_histories for h in histories: File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 107, in _result_iter self._fill_cache() File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 772, in _fill_cache self._result_cache.append(self._iter.next()) File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 273, in iterator for row in compiler.results_iter(): File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/sql/compiler.py", line 680, in results_iter for rows in self.execute_sql(MULTI): File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/sql/compiler.py", line 735, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/backends/util.py", line 34, in execute return self.cursor.execute(sql, params) File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute return self.cursor.execute(query, args) django.db.utils.DatabaseError: relation "south_migrationhistory" does not exist
... Here's the output of runserver when I make the request for /:
[24/Oct/2012 15:18:59] "GET / HTTP/1.1" 500 56165
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/askbot-0.7.43-py2.5.egg/askbot/deps/livesettings/values.py", line 306, in _value
val = self.setting.value
File "/usr/local/lib/python2.5/site-packages/askbot-0.7.43-py2.5.egg/askbot/deps/livesettings/values.py", line 288, in _setting
return find_setting(self.group.key, self.key)
File "/usr/local/lib/python2.5/site-packages/askbot-0.7.43-py2.5.egg/askbot/deps/livesettings/models.py", line 42, in find_setting
setting = Setting.objects.get(site__id__exact=siteid, key__exact=key, group__exact=group)
File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 344, in get
num = len(clone)
File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 82, in __len__
self._result_cache = list(self.iterator())
File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/backends/util.py", line 34, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2012-10-24 10:56:50 -0500
Seen: 115 times
Last updated: Oct 24 '12
Install Error: Can't download mock-1.0.0.zip
ImportError: No module named XYZ. What to do?
How to install python easy_install (python distutils) in root or non-root account?
Is my shared host good enough for Django applications?
Where are the badges in a fresh install? [fixed]
Site owners - don't forget to adjust your privacy policy
How to install askbot on free hosting account at alwaysdata.com?
Why do I get a "No module named askbot.deployment" error on Windows?
"App with label forum could not be found" when running migrate
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
Please try to use code from the repository on github. Regarding this issue I would have to reproduce your system, but I don't have an OpenBSD set up at the moment. If you would like - give me access to your server and I'll take a look.
Evgeny ( 2012-10-24 11:07:31 -0500 )editI think your database is not fully set up. "Relation does not exist" tells that you don't have all the tables there, please follow the db setup steps more carefully (the migrate step).
Evgeny ( 2012-10-24 14:22:27 -0500 )edit