2017-09-12 08:08:56 -0600 | received badge |
Famous Question
(source)
|
2017-02-15 15:40:13 -0600 | received badge |
Notable Question
(source)
|
2014-10-23 17:45:21 -0600 | received badge |
Famous Question
(source)
|
2014-10-16 15:51:26 -0600 | received badge |
Popular Question
(source)
|
2014-10-16 15:50:04 -0600 | received badge |
Notable Question
(source)
|
2014-08-29 10:52:39 -0600 | received badge |
Popular Question
(source)
|
2014-07-28 16:44:24 -0600 | received badge |
Notable Question
(source)
|
2014-06-07 03:35:49 -0600 | received badge |
Popular Question
(source)
|
2014-06-07 03:35:49 -0600 | received badge |
Famous Question
(source)
|
2014-04-17 12:47:23 -0600 | received badge |
Famous Question
(source)
|
2014-04-17 12:43:51 -0600 | received badge |
Famous Question
(source)
|
2014-03-05 04:53:23 -0600 | received badge |
Student
(source)
|
2013-12-16 11:34:04 -0600 | received badge |
Nice Answer
(
source
)
|
2013-12-15 12:05:06 -0600 | received badge |
Teacher
(
source
)
|
2013-12-15 09:54:50 -0600 | answered a question | Server runs for some minutes and then 500 error Create a static robots.txt file served by apache, I observed that when a request for robots.txt hits django an exception is thrown and the app does not go back working normally afterwards. I did not dig into what generates this error but doing this solves it. |
2013-12-12 09:19:28 -0600 | asked a question | format requires a mapping exception I have changed the words question/questions to the locale I'm using in askbot settings page and also the po files for the locale.
When there is a request to /feeds/question/21/ for example the following exception is thrown from: askbot-devel/askbot/feed.py in title
_('Individual %(question)s feed') % askbot_settings.WORDS_QUESTION_SINGULAR Django Version: 1.5
Exception Type: TypeError
Exception Value:
format requires a mapping
Exception Location: /home/user/projects/askbot-devel/askbot/feed.py in title, line 35 Are there some entries that should not be translated in po files ? |
2013-12-12 09:09:36 -0600 | asked a question | format requires a mapping I have changed the words question/questions to the locale I'm using in askbot settings page and also the po files for the locale.
When there is a request to /feeds/question/21/ for example the following exception is thrown from: askbot-devel/askbot/feed.py in title
_('Individual %(question)s feed') % askbot_settings.WORDS_QUESTION_SINGULAR Django Version: 1.5
Exception Type: TypeError
Exception Value:
format requires a mapping
Exception Location: /home/user/projects/askbot-devel/askbot/feed.py in title, line 35 Are there some entries that should not be translated in po files ? |
2013-12-12 09:07:45 -0600 | asked a question | format requires a mapping I have changed the words question/questions to the locale I'm using in askbot settings page and also the po files for the locale.
When there is a request to /feeds/question/21/ for example the following exception is thrown from: askbot-devel/askbot/feed.py in title
_('Individual %(question)s feed') % askbot_settings.WORDS_QUESTION_SINGULAR Django Version: 1.5
Exception Type: TypeError
Exception Value:
format requires a mapping
Exception Location: /home/user/projects/askbot-devel/askbot/feed.py in title, line 35
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.3 Are there some entries that should not be translated in po files ? |
2013-12-12 09:06:42 -0600 | asked a question | format requires a mapping exception I have changed the words question/questions to the locale I'm using in askbot settings page and also the po files for the locale.
When there is a request to /feeds/question/21/ for example the following exception is thrown from: askbot-devel/askbot/feed.py in title
_('Individual %(question)s feed') % askbot_settings.WORDS_QUESTION_SINGULAR Django Version: 1.5
Exception Type: TypeError
Exception Value:
format requires a mapping
Exception Location: /home/user/projects/askbot-devel/askbot/feed.py in title, line 35
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.3 Are there some entries that should not be translated in po files ? |
2013-12-10 02:15:00 -0600 | commented answer | Unable to add a user as a moderator using the admin portal Any reason for this? I would like to contribute if possible, any discussions on this? |
2013-12-10 02:08:33 -0600 | commented question | changing email of user via admin interface throws exception |
2013-12-10 01:55:55 -0600 | asked a question | changing email of user via admin interface throws exception This is what I see as error IntegrityError at /admin/auth/user/2/
update or delete on table "auth_user_groups" violates foreign key constraint "authusergroups_ptr_id_refs_id_e728db87" on table "askbot_groupmembership"
DETAIL: Key (id)=(5) is still referenced from table "askbot_groupmembership". Is it not possible to change the email address of user via admin? |
2013-12-10 01:10:30 -0600 | commented answer | AttributeError: SMTP instance has no attribute 'sock' nope, there seems to be some other concealed exceptions. How one deals with those mysterious errors I am yet to find out..
For example following the advice on skin creation at wiki I made a skin folder copying templates and stuff. Now when I update the email of a user for example via admin interface i get
jinja2.exceptions.UndefinedError: 'skin' is undefined
I wonder if this has anything to do with skins |
2013-12-09 13:00:07 -0600 | commented answer | How to localize month names? Arghh, thats right, thanks a lot. |
2013-12-09 12:59:44 -0600 | received badge |
Scholar
(
source
)
|
2013-12-09 05:49:10 -0600 | commented question | How to localize month names? Update: When I change LANGUAGE_CODE to de, the month names change accordingly to german, but not with 'tr', turkish language, Can this be related to some issue with django's own po files? |
2013-12-08 16:01:19 -0600 | asked a question | How to localize month names? setting LANGUAGE_CODE to the correct locale does not seem to change the month names. I'm running it on ubuntu. Any suggestions? |
2013-12-05 17:06:27 -0600 | asked a question | AttributeError: SMTP instance has no attribute 'sock' After some minutes starting the server (tried with gunicorn, uwsgi, mod_wsgi) I get this error. Why does it work normally but stop working after some time? Traceback (most recent call last):
File "/home/wiseguy/projects/venv/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 131, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/home/wiseguy/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/handlers/wsgi.py", line 255, in __call__
response = self.get_response(request)
File "/home/wiseguy/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/handlers/base.py", line 178, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/home/wiseguy/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/handlers/base.py", line 212, in handle_uncaught_exception
'request': request
File "/usr/lib/python2.7/logging/__init__.py", line 1166, in error
self._log(ERROR, msg, args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1258, in _log
self.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1268, in handle
self.callHandlers(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1308, in callHandlers
hdlr.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 748, in handle
self.emit(record)
File "/home/wiseguy/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/utils/log.py", line 113, in emit
mail.mail_admins(subject, message, fail_silently=True, html_message=html_message)
File "/home/wiseguy/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/mail/__init__.py", line 98, in mail_admins
mail.send(fail_silently=fail_silently)
File "/home/wiseguy/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/mail/message.py", line 255, in send
return self.get_connection(fail_silently).send_messages([self])
File "/home/wiseguy/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/mail/backends/smtp.py", line 99, in send_messages
self.close()
File "/home/wiseguy/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/mail/backends/smtp.py", line 72, in close
self.connection.close()
File "/usr/lib/python2.7/smtplib.py", line 747, in close
if self.sock:
AttributeError: SMTP instance has no attribute 'sock'
|
2013-12-04 11:26:09 -0600 | asked a question | jinja2.exceptions.UndefinedError: 'skin' is undefined I am getting this error after some time starting the server, what might be the reason?
using code from github Traceback (most recent call last):
File "/home/myuser/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/handlers/wsgi.py", line 255, in __call__
response = self.get_response(request)
File "/home/myuser/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/handlers/base.py", line 178, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/home/myuser/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/handlers/base.py", line 224, in handle_uncaught_exception
return callback(request, **param_dict)
File "/home/myuser/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/home/myuser/projects/venv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/views/defaults.py", line 41, in server_error
return http.HttpResponseServerError(template.render(Context({})))
File "/home/myuser/projects/venv/local/lib/python2.7/site-packages/Coffin-0.3.8-py2.7.egg/coffin/template/__init__.py", line 55, in render
return super(Template, self).render(**context)
File "/home/myuser/projects/venv/local/lib/python2.7/site-packages/Jinja2-2.7.1-py2.7.egg/jinja2/environment.py", line 969, in render
return self.environment.handle_exception(exc_info, True)
File "/home/myuser/projects/venv/local/lib/python2.7/site-packages/Jinja2-2.7.1-py2.7.egg/jinja2/environment.py", line 742, in handle_exception
reraise(exc_type, exc_value, tb)
File "./askbot/templates/500.html", line 1, in top-level template code
{% extends "two_column_body.html" %}
File "./askbot/templates/two_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "./askbot/templates/base.html", line 27, in top-level template code
{% include "meta/html_head_stylesheets.html" %}
File "./askbot/templates/meta/html_head_stylesheets.html", line 7, in top-level template code
{% compress css %}
File "/home/myuser/projects/venv/local/lib/python2.7/site-packages/django_compressor-1.2-py2.7.egg/compressor/contrib/jinja2ext.py", line 40, in _compress
original_content = caller()
File "./askbot/templates/meta/html_head_stylesheets.html", line 9, in template
{{ skin.get_extra_css_link() }}
File "/home/myuser/projects/venv/local/lib/python2.7/site-packages/Jinja2-2.7.1-py2.7.egg/jinja2/environment.py", line 397, in getattr
return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: 'skin' is undefined
|
2013-12-04 08:59:22 -0600 | received badge |
Enthusiast
|
2013-12-02 19:33:27 -0600 | asked a question | tiny_mce editor does not fit the "edit group description" area When you add a group and then try to edit the description tiny_mce editor opens in that area, but it does not fit, making the page look broken. Is this a known issue, any fixes? |
2013-12-02 14:43:35 -0600 | received badge |
Organizer
(source)
|
2013-12-02 13:50:05 -0600 | commented question | 500 Error, Custom skin, "UndefinedError: 'skin' is undefined", nginx, gunicorn actually after some time I don't always get it but sometimes :S
so a page refresh either gives me "Internal Server Error" or it works, mysterious... |
2013-12-02 13:11:10 -0600 | asked a question | 404 page google widget In this 404.html template the following code does not seem to fill in with correct values var GOOG_FIXURL_LANG = '{{ language_code }}';
var GOOG_FIXURL_SITE = '{{ site_url }}';
Am I forgetting to set up some variables somewhere? I set base url in askbot's settings page
and LANGUAGE_CODE in settings.py |
2013-12-02 12:50:14 -0600 | received badge |
Editor
(source)
|
2013-12-02 12:48:50 -0600 | asked a question | 500 Error, Custom skin, "UndefinedError: 'skin' is undefined", nginx, gunicorn This is an error I get after some time starting server, I'm using memcached, gunicorn, nginx. Can it be related to cache? Because I don't see it immediately after start, it works normally.
I'm using a custom skin that I develop placed in myskins folder inside project root. The traceback is as follows: 2013-12-02 11:14:55 [6068] [ERROR] Error handling request
Traceback (most recent call last):
File "/opt/myenv/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 131, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/opt/myenv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/handlers/wsgi.py", line 255, in __call__
response = self.get_response(request)
File "/opt/myenv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/handlers/base.py", line 178, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/opt/myenv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/core/handlers/base.py", line 224, in handle_uncaught_exception
return callback(request, **param_dict)
File "/opt/myenv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/opt/myenv/local/lib/python2.7/site-packages/Django-1.5-py2.7.egg/django/views/defaults.py", line 41, in server_error
return http.HttpResponseServerError(template.render(Context({})))
File "/opt/myenv/local/lib/python2.7/site-packages/Coffin-0.3.8-py2.7.egg/coffin/template/__init__.py", line 55, in render
return super(Template, self).render(**context)
File "/opt/myenv/local/lib/python2.7/site-packages/Jinja2-2.7.1-py2.7.egg/jinja2/environment.py", line 969, in render
return self.environment.handle_exception(exc_info, True)
File "/opt/myenv/local/lib/python2.7/site-packages/Jinja2-2.7.1-py2.7.egg/jinja2/environment.py", line 742, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/bitch/askbot_fromgit/myskins/mysite_skin/templates/500.html", line 1, in top-level template code
{% extends "two_column_body.html" %}
File "/home/bitch/askbot_fromgit/myskins/mysite_skin/templates/two_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "/home/bitch/askbot_fromgit/myskins/mysite_skin/templates/base.html", line 27, in top-level template code
{% include "meta/html_head_stylesheets.html" %}
File "/home/bitch/askbot_fromgit/myskins/mysite_skin/templates/meta/html_head_stylesheets.html", line 7, in top-level template code
{% compress css %}
File "/opt/myenv/local/lib/python2.7/site-packages/django_compressor-1.2-py2.7.egg/compressor/contrib/jinja2ext.py", line 40, in _compress
original_content = caller()
File "/home/bitch/askbot_fromgit/myskins/mysite_skin/templates/meta/html_head_stylesheets.html", line 9, in template
{{ skin.get_extra_css_link() }}
File "/opt/myenv/local/lib/python2.7/site-packages/Jinja2-2.7.1-py2.7.egg/jinja2/environment.py", line 397, in getattr
return getattr(obj, attribute)
UndefinedError: 'skin' is undefined
|