2022-02-08 10:02:07 -0500 | received badge |
Popular Question
(source)
|
2021-12-05 02:09:36 -0500 | received badge |
Famous Question
(source)
|
2016-02-26 10:49:45 -0500 | received badge |
Nice Question
(source)
|
2016-02-26 05:55:26 -0500 | received badge |
Notable Question
(source)
|
2016-01-28 02:57:56 -0500 | received badge |
Popular Question
(source)
|
2015-10-29 02:20:32 -0500 | received badge |
Famous Question
(source)
|
2015-10-05 10:58:39 -0500 | marked best answer | Google openID not working after SE migration I'm testing the migration process of a StackExchange site. Everything went OK and the site is migrated. However, when I try to login with my Google account it tries to create a new user instead of loging me in with my username. I've tried to login with other openID providers and everything is ok. What could be the problem with this? |
2015-10-05 10:58:39 -0500 | marked best answer | AtributeError when importing users from SE dump I tryed the import multiple times and always get the error in the same point: Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/management/__init__.py", line 459, in execute_manager
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/var/www/askbot-devel/askbot/utils/dummy_transaction.py", line 19, in wrapper
return func(*args, **kwargs)
File "/var/www/askbot-devel/askbot/importers/stackexchange/management/commands/load_stackexchange.py", line 374, in handle
self.transfer_users()
File "/var/www/askbot-devel/askbot/importers/stackexchange/management/commands/load_stackexchange.py", line 916, in transfer_users
u_type = se_u.user_type.name
AttributeError: 'NoneType' object has no attribute 'name'
Is it an error in the import script or maybe the dump has an error somewhere? |
2015-10-05 10:58:38 -0500 | marked best answer | OSError when trying to import StackExchange dump We are migrating our SE 1.0 site to AskBot. I've installed askbot successfully. If I try to import the dump on a web browser I get this: OSError at /import-data/
[Errno 2] No such file or directory: '/var/www/my-site/tmp/tmpQ011U4.upload'
Traceback:
...
135. self.file = TemporaryUploadedFile(self.file_name, self.content_type, 0, self.charset)
File "/usr/local/lib/python2.7/dist-packages/django/core/files/uploadedfile.py" in __init__
64. dir=settings.FILE_UPLOAD_TEMP_DIR)
File "/usr/lib/python2.7/tempfile.py" in NamedTemporaryFile
454. (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib/python2.7/tempfile.py" in _mkstemp_inner
235. fd = _os.open(file, flags, 0600)
Exception Type: OSError at /import-data/
Exception Value: [Errno 2] No such file or directory: '/var/www/my-site/tmp/tmpnyH5zD.upload'
If I try to import it via the console I get the following error: ...
cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 34, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
django.db.utils.DatabaseError: relation "stackexchange_votetype" does not exist
LINE 1: SELECT (1) AS "a" FROM "stackexchange_votetype" WHERE "stack...
|
2014-12-22 18:55:07 -0500 | received badge |
Popular Question
(source)
|
2013-06-28 11:43:07 -0500 | received badge |
Famous Question
(source)
|
2013-05-13 02:44:48 -0500 | received badge |
Famous Question
(source)
|
2013-03-06 16:40:41 -0500 | asked a question | Where is the search bar in the 404 page populated? When you hit a 404 page such as this one, the Google search bar is populated with words on the url. The problem is, the old link contains a question id and the search does not return any result. So, where is the search bar populated? By knowing this I could remove the id and at least users could search properly. |
2013-01-30 12:29:52 -0500 | commented question | Internal Server Error accesing the main page @Evgeny I'm not able to reproduce the issue either, but sometimes I get an error email with this error. Django version is 1.4.2, postgresql 9.1.5, how can I find what is the askbot version? |
2013-01-28 04:38:28 -0500 | asked a question | Internal Server Error accesing the main page I get this error in different urls (accessing a question, the main page like in this one or when signing in): Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/www/askbot-devel/askbot/views/readers.py", line 229, in questions
return render_into_skin('main_page.html', template_data, request)
File "/var/www/askbot-devel/askbot/skins/loaders.py", line 131, in render_into_skin
render_into_skin_as_string(template, data, request),
File "/var/www/askbot-devel/askbot/skins/loaders.py", line 123, in render_into_skin_as_string
return template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.7-py2.7.egg/coffin/template/__init__.py", line 55, in render
return super(Template, self).render(**context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/var/www/askbot-devel/askbot/templates/main_page.html", line 1, in top-level template code
{% extends "two_column_body.html" %}
File "/var/www/askbot-devel/askbot/templates/two_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "/var/www/askbot-devel/askbot/templates/base.html", line 46, in top-level template code
{% block body %}
File "/var/www/askbot-devel/askbot/templates/two_column_body.html", line 5, in block "body"
{% block content%}
File "/var/www/askbot-devel/askbot/templates/main_page.html", line 13, in block "content"
{% include "main_page/tab_bar.html" %}
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/utils.py", line 473, in __setitem__
del self._mapping[self._popleft()]
KeyError: 'main_page/headline.html'
Other times the error is the same until {% extends "two_column_body.html" %} and then ends like this: KeyError: 'two_column_body.html'
It's not usual to get this error, but dometimes it just happens. |
2013-01-28 04:36:50 -0500 | asked a question | Internal Server Error when accessing the main page I get this error in different urls (accessing a question, the main page like in this one or when signing in): Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/www/askbot-devel/askbot/views/readers.py", line 229, in questions
return render_into_skin('main_page.html', template_data, request)
File "/var/www/askbot-devel/askbot/skins/loaders.py", line 131, in render_into_skin
render_into_skin_as_string(template, data, request),
File "/var/www/askbot-devel/askbot/skins/loaders.py", line 123, in render_into_skin_as_string
return template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.7-py2.7.egg/coffin/template/__init__.py", line 55, in render
return super(Template, self).render(**context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/var/www/askbot-devel/askbot/templates/main_page.html", line 1, in top-level template code
{% extends "two_column_body.html" %}
File "/var/www/askbot-devel/askbot/templates/two_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "/var/www/askbot-devel/askbot/templates/base.html", line 46, in top-level template code
{% block body %}
File "/var/www/askbot-devel/askbot/templates/two_column_body.html", line 5, in block "body"
{% block content%}
File "/var/www/askbot-devel/askbot/templates/main_page.html", line 13, in block "content"
{% include "main_page/tab_bar.html" %}
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/utils.py", line 473, in __setitem__
del self._mapping[self._popleft()]
KeyError: 'main_page/headline.html'
Other times the error is the same until {% extends "two_column_body.html" %} and then ends like this: KeyError: 'two_column_body.html'
It's not usual to get this error, but dometimes it just happens. |
2013-01-28 04:35:15 -0500 | asked a question | Internal Server Error: /questions I get this error in different urls (accessing a question, the main page like in this one or when signing in): Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/www/askbot-devel/askbot/views/readers.py", line 229, in questions
return render_into_skin('main_page.html', template_data, request)
File "/var/www/askbot-devel/askbot/skins/loaders.py", line 131, in render_into_skin
render_into_skin_as_string(template, data, request),
File "/var/www/askbot-devel/askbot/skins/loaders.py", line 123, in render_into_skin_as_string
return template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.7-py2.7.egg/coffin/template/__init__.py", line 55, in render
return super(Template, self).render(**context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/var/www/askbot-devel/askbot/templates/main_page.html", line 1, in top-level template code
{% extends "two_column_body.html" %}
File "/var/www/askbot-devel/askbot/templates/two_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "/var/www/askbot-devel/askbot/templates/base.html", line 46, in top-level template code
{% block body %}
File "/var/www/askbot-devel/askbot/templates/two_column_body.html", line 5, in block "body"
{% block content%}
File "/var/www/askbot-devel/askbot/templates/main_page.html", line 13, in block "content"
{% include "main_page/tab_bar.html" %}
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/utils.py", line 473, in __setitem__
del self._mapping[self._popleft()]
KeyError: 'main_page/headline.html'
Other times the error is the same until {% extends "two_column_body.html" %} and then ends like this: KeyError: 'two_column_body.html'
|
2013-01-28 04:33:50 -0500 | asked a question | Internal Server Error: /questions/ I get this error in different urls (accessing a question, the main page like in this one or when signing in): Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/www/askbot-devel/askbot/views/readers.py", line 229, in questions
return render_into_skin('main_page.html', template_data, request)
File "/var/www/askbot-devel/askbot/skins/loaders.py", line 131, in render_into_skin
render_into_skin_as_string(template, data, request),
File "/var/www/askbot-devel/askbot/skins/loaders.py", line 123, in render_into_skin_as_string
return template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.7-py2.7.egg/coffin/template/__init__.py", line 55, in render
return super(Template, self).render(**context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/var/www/askbot-devel/askbot/templates/main_page.html", line 1, in top-level template code
{% extends "two_column_body.html" %}
File "/var/www/askbot-devel/askbot/templates/two_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "/var/www/askbot-devel/askbot/templates/base.html", line 46, in top-level template code
{% block body %}
File "/var/www/askbot-devel/askbot/templates/two_column_body.html", line 5, in block "body"
{% block content%}
File "/var/www/askbot-devel/askbot/templates/main_page.html", line 13, in block "content"
{% include "main_page/tab_bar.html" %}
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/utils.py", line 473, in __setitem__
del self._mapping[self._popleft()]
KeyError: 'main_page/headline.html'
Other times the error is the same until {% extends "two_column_body.html" %} and then ends like this: KeyError: 'two_column_body.html'
|
2013-01-28 04:32:47 -0500 | asked a question | Internal Server Error: /questions/ I get this error in different urls (accessing a question, the main page like in this one or when signing in): Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/www/askbot-devel/askbot/views/readers.py", line 229, in questions
return render_into_skin('main_page.html', template_data, request)
File "/var/www/askbot-devel/askbot/skins/loaders.py", line 131, in render_into_skin
render_into_skin_as_string(template, data, request),
File "/var/www/askbot-devel/askbot/skins/loaders.py", line 123, in render_into_skin_as_string
return template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.7-py2.7.egg/coffin/template/__init__.py", line 55, in render
return super(Template, self).render(**context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/var/www/askbot-devel/askbot/templates/main_page.html", line 1, in top-level template code
{% extends "two_column_body.html" %}
File "/var/www/askbot-devel/askbot/templates/two_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "/var/www/askbot-devel/askbot/templates/base.html", line 46, in top-level template code
{% block body %}
File "/var/www/askbot-devel/askbot/templates/two_column_body.html", line 5, in block "body"
{% block content%}
File "/var/www/askbot-devel/askbot/templates/main_page.html", line 13, in block "content"
{% include "main_page/tab_bar.html" %}
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/utils.py", line 473, in __setitem__
del self._mapping[self._popleft()]
KeyError: 'main_page/headline.html'
Other times the error is the same until {% extends "two_column_body.html" %} and then ends like this: KeyError: 'two_column_body.html'
|
2013-01-26 06:28:27 -0500 | received badge |
Commentator
|
2013-01-24 14:09:14 -0500 | commented question | Problem deleting notifications @Evgeny Just tested it and it works. If you put it as an answer I'll accept it. |
2013-01-23 15:23:47 -0500 | asked a question | Problem deleting notifications Trying to delete all notifications raises this error: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(*args, **kwargs)
File "/var/www/askbot-devel/askbot/views/commands.py", line 876, in read_message
request.user.delete_messages()
File "/var/www/askbot-devel/askbot/models/__init__.py", line 2284, in delete_messages
self.message_set.all().delete()
AttributeError: 'RelatedObjectSimulator' object has no attribute 'all'
|
2013-01-23 01:59:59 -0500 | received badge |
Famous Question
(source)
|
2013-01-22 16:36:11 -0500 | received badge |
Self-Learner
(
source
)
|
2013-01-22 16:36:11 -0500 | received badge |
Teacher
(
source
)
|
2013-01-22 12:36:58 -0500 | answered a question | Problem accessing /admin - redirects to old domain @ripper234 was able to fix this. It was a rule in our apache config what was causing this problem. |
2013-01-14 01:29:36 -0500 | received badge |
Citizen Patrol
|
2013-01-14 01:15:03 -0500 | received badge |
Critic
|
2013-01-10 13:01:01 -0500 | asked a question | How can I filter questions by title/name? I'm trying to find an exact question in the django console but I can't guess how. I've done the following: from askbot.models import Post
questions = Post.objects.get_questions()
Now, how to filter them by title? |
2013-01-10 12:16:29 -0500 | received badge |
Famous Question
(source)
|
2013-01-10 01:27:19 -0500 | commented answer | Problem accessing /admin - redirects to old domain Tried setting CSRF_COOKIE_DOMAIN to '' and still get the same result. |
2013-01-08 14:39:05 -0500 | asked a question | Internal Server Error while trying to delete comment In my site, when I try to delete a comment I have just posted I get this error: Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@draw3cards.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
UPDATE: This is the error I'm getting: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(*args, **kwargs)
File "/var/www/askbot-devel/askbot/views/writers.py", line 713, in delete_comment
comment = get_object_or_404(models.Post, post_type='comment', id=comment_id)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/shortcuts/__init__.py", line 113, in get_object_or_404
return queryset.get(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/db/models/query.py", line 358, in get
clone = self.filter(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/db/models/query.py", line 624, in filter
return self._filter_or_exclude(False, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/db/models/query.py", line 642, in _filter_or_exclude
clone.query.add_q(Q(*args, **kwargs))
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/db/models/sql/query.py", line 1250, in add_q
can_reuse=used_aliases, force_having=force_having)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/db/models/sql/query.py", line 1185, in add_filter
connector)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/db/models/sql/where.py", line 69, in add
value = obj.prepare(lookup_type, value)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/db/models/sql/where.py", line 320, in prepare
return self.field.get_prep_lookup(lookup_type, value)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/db/models/fields/__init__.py", line 310, in get_prep_lookup
return self.get_prep_value(value)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/db/models/fields/__init__.py", line 537, in get_prep_value
return int(value)
ValueError: invalid literal for int() with base 10: 'replaced'
|
2013-01-08 14:34:53 -0500 | asked a question | Problem upvoting comments When I try to upvote a comment I just posted I get this notification: Oops, apologies - There was some error
EDIT: I see someone upvoted a comment on the site today, so maybe it's working for some kind of users and not to others? |
2013-01-02 03:30:55 -0500 | received badge |
Editor
(source)
|
2013-01-02 03:30:55 -0500 | edited question | Problem accessing /admin - redirects to old domain We have an issue with the site domain. When doing the migration we tested the site at beta.draw3cards.com and this was the domain in the settings. Now the site is in production and I have changed settings.py : DOMAIN_NAME = 'draw3cards.com'
CSRF_COOKIE_NAME = 'draw3cards.com_csrf'
The site works well, but when I try to access draw3cards.com/admin the site redirects me to beta.draw3cards.com/draw3cards/admin and, obviously, doesn't work. UPDATE: I've searched both in the code and the database the string beta.draw3cards.com and it doesn't appear in either one. However, looking in error_log I found this: [Wed Jan 16 17:54:23 2013] [debug] mod_deflate.c(615): [client xx.xx.xx.xx] Zlib: Compressed 337 to 234 : URL /draw3cards/admin/
|