First time here? Check out the FAQ!

aaronmorse's profile - activity

2019-12-02 02:30:40 -0500 received badge Notable Question (source)
2015-05-24 13:23:51 -0500 received badge Popular Question (source)
2013-12-13 12:28:02 -0500 received badge Famous Question (source)
2012-07-16 02:33:12 -0500 received badge Famous Question (source)
2012-07-16 02:33:12 -0500 received badge Notable Question (source)
2012-05-17 05:53:22 -0500 received badge Popular Question (source)
2012-04-06 07:30:22 -0500 received badge Scholar ( source )
2012-04-06 07:30:15 -0500 commented answer Problem with syncdb (KeyError: 'default')

Downgrading to django 1.2 allowed the syncdb to get further. I'm now getting a "relation "askbot_emailfeedsetting" does not exist" error after setting up the superuser but I'll look into that. Thanks for the help.

2012-04-06 04:04:19 -0500 commented answer Problem with syncdb (KeyError: 'default')

Great, thanks. As it turns out I am actually using django 1.4. I thought I was running 1.1.x. Python 2.6.5 (r265:79063, Feb 28 2011, 21:55:56) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> django.VERSION (1, 4, 0, 'final', 0) >>>

2012-04-05 15:37:49 -0500 received badge Editor (source)
2012-04-05 15:36:48 -0500 asked a question Problem with syncdb (KeyError: 'default')

Hello, I'm new to askbot but I'm trying to mirror a setup we (my company) already has here and I run into a problem with the 'python manage.py syncdb' command. By mirror I mean we have a system running the same setup and I'm just trying to duplicate it from scratch on a new machine. My setup is:
CentOS5 (yeah, I know)
askbot 0.7.20
django 1.1.4
postgresql 8.3.18
python 2.6.5
Everything is installed in a virtualenv /home/user/askbot-install/bin and I ran askbot-setup pointing to /home/user/askbot-install/deploy. The output from the syncdb attempt I get is below. I tried removing/changing the ADMIN_MEDIA_PREFIX but then it just skips that warning. I feel like I'm missing something dumb. thoughts? Thanks.

python manage.py syncdb
/home/postgres/askbot-install/lib/python2.6/site-packages/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.
  "use STATIC_URL instead.", DeprecationWarning)
/home/postgres/askbot-install/lib/python2.6/site-packages/django/core/cache/__init__.py:82: DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES instead.
  DeprecationWarning
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/home/postgres/askbot-install/lib/python2.6/site-packages/django/core/management/__init__.py", line 459, in execute_manager
    utility.execute()
  File "/home/postgres/askbot-install/lib/python2.6/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/postgres/askbot-install/lib/python2.6/site-packages/django/core/management/__init__.py", line 261, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/postgres/askbot-install/lib/python2.6/site-packages/django/core/management/__init__.py", line 69, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/home/postgres/askbot-install/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/postgres/askbot-install/lib/python2.6/site-packages/south/management/commands/__init__.py", line 13, in <module>
    from south.management.commands.syncdb import Command as SyncCommand
  File "/home/postgres/askbot-install/lib/python2.6/site-packages/south/management/commands/syncdb.py", line 17, in <module>
    from south.db import dbs
  File "/home/postgres/askbot-install/lib/python2.6/site-packages/south/db/__init__.py", line 78, in <module>
    db = dbs[DEFAULT_DB_ALIAS]
KeyError: 'default'

2012-03-19 13:58:59 -0500 asked a question Internet Explorer java error?

Running IE 8, askbot 0.7.20 on a fairly standard setup. When going into a question IE reports errors on the page, which seems to prevent a user from adding a comment. This doesn't look to be an issue with Chrome or Firefox. I searched around but wasn't able to find any known instance of this. IE error log below (full URL edited): Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C) Timestamp: Mon, 19 Mar 2012 18:49:23 UTC

Message: Expected identifier, string or number Line: 123 Char: 1 Code: 0 URI: http://site-URL/m/default/media/js/i18n.js?v=1

Message: 'i18n_dict' is undefined Line: 51 Char: 3 Code: 0 URI: http://site-URL/m/default/media/js/jquery.i18n.js?v=1

Message: 'i18n_dict' is undefined Line: 51 Char: 3 Code: 0 URI: http://site-URL/m/default/media/js/jquery.i18n.js?v=1

Message: 'Vote' is null or not an object Line: 237 Char: 13 Code: 0 URI: http://site-URL/question/3273/test-please-ignore

Message: 'Vote' is null or not an object Line: 237 Char: 13 Code: 0 URI: http://site-URL/question/3273/test-please-ignore