First time here? Check out the FAQ!

asmaps's profile - activity

2016-05-01 11:55:47 -0500 received badge Notable Question (source)
2013-12-12 10:15:15 -0500 received badge Notable Question (source)
2013-11-05 04:37:54 -0500 received badge Popular Question (source)
2013-05-23 20:30:11 -0500 received badge Popular Question (source)
2013-02-06 04:15:16 -0500 received badge Famous Question (source)
2013-01-30 08:49:16 -0500 received badge Famous Question (source)
2013-01-14 07:10:53 -0500 received badge Famous Question (source)
2012-12-10 16:57:39 -0500 commented question UndefinedError: 'settings' is undefined

Ok, this really is a bug. Got the error again on a properly working, newly created instance. This time after trying to log in via ldap (after submitting the login form). I would really appreciate if this could be fixed. If you need help, assistance or tracebacks just contact me. I am using the current git version.

2012-12-09 17:56:15 -0500 received badge Organizer (source)
2012-12-09 17:35:00 -0500 answered a question Bugs on askbot.com I found until now

Another one: on my profile overview in category "Tags" I get an entry, that isn't assigned to any tag - it's empty. Probably because the question doesn't have any tag. The link it points on is in my case http://askbot.org/en/questions/scope:all/sort:activity-desc/tags:/author:1003/page:1/ where I get an error 404.

2012-12-09 17:26:06 -0500 answered a question UndefinedError: 'settings' is undefined

Update: Now since I couldn't fix that problem I installed the version from git, but I get the same error. At least when I try to change the Site object. The help page is available now, that seems to be fixed by the update.

Is this really a bug or have I made a mistake?

2012-12-09 16:44:02 -0500 asked a question Bugs on askbot.com I found until now

Please tell me if I should better post bugs on http://bugs.askbot.org. According to this post I am posting it as question.

I will update this post if I find new ones.


The profile page shows "Age: 21 age unit". I think the unit is year(s) - should be easy to correct.


"Mark as read" in the inbox doesn't work. It just doesn't have any effect clicking the button.


When I am deleting multiple messages in the inbox and I abort the deletion via the alert box that is popping up I get another alert for every message (so if I have 3 messages marked I get 3 alerts - really annoying)


on my profile overview in category "Tags" I get an entry, that isn't assigned to any tag - it's empty. Probably because the question doesn't have any tag. The link it points on is in my case http://askbot.org/en/questions/scope:all/sort:activity-desc/tags:/author:1003/page:1/ where I get an error 404. Same on the questions-overview on the right in the tag-list (obviously I'm the first one who writes questions without any tag...)

2012-12-09 16:39:15 -0500 received badge Student (source)
2012-12-09 16:37:21 -0500 commented answer Where is the bug tracking system for Askbot?

TODO: The link to the TODO is broken ;-)

2012-12-09 16:22:47 -0500 commented answer Impossible to syncdb

Thanks for that hint... somehow I didn't realize, that there were differences between my settings.py and the one in setup_templates. I copied the one from the templates and then syncdb guided me through finishing the settings (e.g. putting group_messaging). I'm sorry that I didn't realize this easy solution by myself. Thanks a lot (unfortunately I can't upvote your answer -.- )

2012-12-09 15:55:31 -0500 asked a question Impossible to syncdb

Hi there, since I got problems with the pip-version of askbot I am now trying to use the git version. But either there is a bug or I am just too bad to get it to work...

This time I can't even execute syncdb (see traceback below). I initialized a new database, copied my other project and replaced the askbot-app inside by the one from the current git master-branch. In my other installation I had the same problem, but I fixed it by emptying the database (I already created a cache table). This time the database is empty (I already recreated it) but the error occurs. I tried to put

EXTERNAL_KEYS = {
    'RECAPTCHA_SECRET' : 'xxx'
}

in my settings.py. That didn't help. Also I created the cachetable (I use DB-caching) but it didn't help.

So now I'm stuck since a few hours with that and don't know how to fix this. Is there a known solution?

Many thanks for help in advance.

$ sudo python manage.py syncdb
/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.
  "use STATIC_URL instead.", DeprecationWarning)
/usr/local/lib/python2.6/dist-packages/django/core/cache/__init__.py:82: DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES instead.
  DeprecationWarning
Traceback (most recent call last):
  File "/var/www/askbot.selfnet.de/askbotprojectgit/askbot/deps/livesettings/values.py", line 306, in _value
    val = self.setting.value
  File "/var/www/askbot.selfnet.de/askbotprojectgit/askbot/deps/livesettings/values.py", line 288, in _setting
    return find_setting(self.group.key, self.key)
  File "/var/www/askbot.selfnet.de/askbotprojectgit/askbot/deps/livesettings/models.py", line 43, in find_setting
    setting = cache_get(ck)
  File "/usr/local/lib/python2.6/dist-packages/keyedcache/__init__.py", line 184, in cache_get
    cache_require()
  File "/usr/local/lib/python2.6/dist-packages/keyedcache/__init__.py", line 295, in cache_require
    cache_set(key,value='1')
  File "/usr/local/lib/python2.6/dist-packages/keyedcache/__init__.py", line 234, in cache_set
    cache.set(key, val, length)
  File "/usr/local/lib/python2.6/dist-packages/django/core/cache/backends/db.py", line 80, in set
    self._base_set('set', key, value, timeout)
  File "/usr/local/lib/python2.6/dist-packages/django/core/cache/backends/db.py", line 94, in _base_set
    cursor.execute("SELECT COUNT(*) FROM %s" % table)
  File "/usr/local/lib/python2.6/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
    return self.cursor.execute(query, args)
DatabaseError: FEHLER:  aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum Ende der Transaktion ignoriert

("Startup error, couldn't load EXTERNAL_KEYS.RECAPTCHA_SECRET", None)
Traceback (most recent call last):
  File "/var/www/askbot.selfnet.de/askbotprojectgit/askbot/deps/livesettings/values.py", line 306, in _value
    val = self.setting.value
  File "/var/www/askbot.selfnet.de/askbotprojectgit/askbot/deps/livesettings/values.py", line 288, in _setting
    return find_setting(self.group.key, self.key)
  File "/var/www/askbot.selfnet.de/askbotprojectgit/askbot/deps/livesettings/models.py", line 43, in find_setting
    setting = cache_get(ck)
  File "/usr/local/lib/python2 ...
(more)
2012-12-09 11:15:15 -0500 commented question UndefinedError: 'settings' is undefined

As I said I installed via "pip install askbot", then I ran manage.py syncdb and migrate. I added a user and wanted to change the site, but it didnt work. I also tried filling the database with dummydata but this (as expeted) also didnt change anything. If you like you can look to it on http://askbot.selfnet.de

2012-12-09 11:12:34 -0500 commented question UndefinedError: 'settings' is undefined

The error occurs when I try to open the help page or if I sumit changes of the "Site" via the admin interface. I think there are more places where this happens, but these two are where I recognized it.

2012-12-09 11:11:23 -0500 commented question UndefinedError: 'settings' is undefined

Hi, thanks for your reply. I'm using 0.7.44 (installed via pip).

2012-12-08 16:31:44 -0500 commented question UndefinedError: 'settings' is undefined

edit: Just noticed that the error also occurs when I try to show the help page.

2012-12-08 16:27:05 -0500 received badge Autobiographer
2012-12-08 16:12:48 -0500 received badge Editor (source)
2012-12-08 16:08:47 -0500 asked a question UndefinedError: 'settings' is undefined

Hi, I'm on the current pip version on debian squeeze. The main part of the page is working, but if I e.g. want to change the "Site" via the admin interface the following error occurs:

My installation tries to render {{ settings.APP_TITLE|escape }} in /usr/local/lib/python2.6/dist-packages/askbot/templates/base.html" and throws "UndefinedError: 'settings' is undefined". Can anyone help me?

I have included this line

'askbot.context.application_settings',

in my settings in the TEMPLATE_CONTEXT_PROCESSORS which should make {{ settings}} available...

Here is the full traceback:

[Sat Dec 08 22:48:29 2012] [error][client x:x:x:x:x:x:x:x] mod_wsgi(pid=29866): Exception occurred processing WSGI script '/path/to/askbotproject/django.wsgi'.
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x] Traceback (most recent call last): 
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]   File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/wsgi.py", line 241, in __call__ 
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]     response = self.get_response(request)
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]   File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 179, in get_response
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]   File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]     return callback(request, **param_dict)
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]   File "/usr/local/lib/python2.6/dist-packages/django/utils/decorators.py", line 91, in _wrapped_view
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]     response = view_func(request, *args, **kwargs)
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]   File "/usr/local/lib/python2.6/dist-packages/django/views/defaults.py", line 33, in server_error
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]     return http.HttpResponseServerError(t.render(Context({})))
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]   File "/usr/local/lib/python2.6/dist-packages/coffin/template/__init__.py", line 55, in render
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]     return super(Template, self).render(**context)
[Sat Dec 08 22:48:29 2012] [error] [client x:x:x:x:x:x:x:x]   File "/usr/local/lib/python2.6/dist-packages/jinja2/environment.py", line 894 ...
(more)