Revision history [back]
Askbot stopped working after newest update
I have the update problem again. After update nothing works any more. When I visit my site I get the 500 internal error. I got this email to my Admin account from my askbot site:
Traceback (most recent call last):
....
NoReverseMatch: Reverse for 'mysitedjango.get_editor' with arguments '()' and keyword arguments '{}' not found.
...
How to make it working now?
The commands I've used to update:
git fetch origin master:master-updated
git checkout master
git merge master-updated
I use the ru locale and no customization, except some css and javascript I put in the build in fields of admin panel.
EDIT
When I ran python manage.py migrate
I get following message:
************************
* *
* Askbot self-test *
* *
************************
Error: No module named bs4
Please run: >pip install beautifulsoup4
To install all the dependencies at once, type:
pip install -r askbot_requirements.txt
Type ^C to quit.
If necessary, type ^C (Ctrl-C) to stop the program.
Askbot stopped working after newest update
I have the update problem again. After update nothing works any more. When I visit my site I get the 500 internal error. I got this email to my Admin account from my askbot site:
Traceback (most recent call last):
....
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 150, in get_response
response = callback(request, **param_dict)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/utils/decorators.py", line 93, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/views/defaults.py", line 19, in page_not_found
return http.HttpResponseNotFound(t.render(RequestContext(request, {'request_path': request.path})))
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 123, in render
return self._render(context)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 117, in _render
return self.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 744, in render
bits.append(self.render_node(node, context))
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 757, in render_node
return node.render(context)
File "/home/mysitedjango/askbot/templatetags/extra_tags.py", line 94, in render
return jinja_template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.6-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 "/home/mysitedjango/askbot/skins/default/templates/404.jinja.html", line 1, in top-level template code
{% extends "one_column_body.html" %}
File "/home/mysitedjango/askbot/skins/common/templates/one_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "/home/mysitedjango/askbot/skins/default/templates/base.html", line 42, in top-level template code
{% include "meta/bottom_scripts.html" %}
File "/home/mysitedjango/askbot/skins/default/templates/meta/bottom_scripts.html", line 28, in top-level template code
askbot['urls']['getEditor'] = '{% url "get_editor" %}';
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.6-py2.7.egg/coffin/template/defaulttags.py", line 208, in _reverse
args=args, kwargs=kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/urlresolvers.py", line 391, in reverse
*args, **kwargs)))
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/urlresolvers.py", line 337, in reverse
"arguments '%s' not found." % (lookup_view_s, args, kwargs))
NoReverseMatch: Reverse for 'mysitedjango.get_editor' with arguments '()' and keyword arguments '{}' not found.
...
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CSRF_COOKIE': '8948746455017a57e3391006df4e5ea9',
'DOCUMENT_ROOT': '/home/mysitedjango',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': '*/*',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
'HTTP_CONNECTION': 'Keep-alive',
'HTTP_FROM': 'googlebot(at)googlebot.com',
'HTTP_HOST': 'mysite.ru',
'HTTP_IF_MODIFIED_SINCE': 'Mon, 20 Aug 2012 22:54:01 GMT',
'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)',
'PATH_INFO': u'/\u0432\u043e\u043f\u0440\u043e\u0441\u044b/scope:all/sort:answers-desc/tags:GPS,Prestiqio,Alcatel-OT-990/page:1/',
'PATH_TRANSLATED': '/home/mysitedjango/django.wsgi/\xd0\xb2\xd0\xbe\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81\xd1\x8b/scope:all/sort:answers-desc/tags:GPS,Prestiqio,Alcatel-OT-990/page:1/',
'QUERY_STRING': '',
'REMOTE_ADDR': '66.249.72.84',
'REMOTE_PORT': '37558',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/%D0%B2%D0%BE%D0%BF%D1%80%D0%BE%D1%81%D1%8B/scope:all/sort:answers-desc/tags:GPS,Prestiqio,Alcatel-OT-990/page:1/',
'SCRIPT_FILENAME': '/home/mysitedjango/django.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '91.226.88.211',
'SERVER_ADMIN': 'mysite@mysite.ru',
'SERVER_NAME': 'mysite.ru',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at mysite.ru Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',
'mod_wsgi.application_group': 'mysite.ru|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'askbot2',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 3),
'wsgi.errors': <mod_wsgi.Log object at 0x7fa6426a8570>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fa642646f30>,
'wsgi.input': <mod_wsgi.Input object at 0x7fa64248c4b0>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 1)}>
How to make it working now?
The commands I've used to update:
git fetch origin master:master-updated
git checkout master
git merge master-updated
I use the ru locale and no customization, except some css and javascript I put in the build in fields of admin panel.
EDIT
When I ran python manage.py migrate
I get following message:
************************
* *
* Askbot self-test *
* *
************************
Error: No module named bs4
Please run: >pip install beautifulsoup4
To install all the dependencies at once, type:
pip install -r askbot_requirements.txt
Type ^C to quit.
If necessary, type ^C (Ctrl-C) to stop the program.
Askbot stopped working after newest update
I have the update problem again. After update nothing works any more. When I visit my site I get the 500 internal error. I got this email to my Admin account from my askbot site:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 150, in get_response
response = callback(request, **param_dict)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/utils/decorators.py", line 93, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/views/defaults.py", line 19, in page_not_found
return http.HttpResponseNotFound(t.render(RequestContext(request, {'request_path': request.path})))
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 123, in render
return self._render(context)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 117, in _render
return self.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 744, in render
bits.append(self.render_node(node, context))
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 757, in render_node
return node.render(context)
File "/home/mysitedjango/askbot/templatetags/extra_tags.py", line 94, in render
return jinja_template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.6-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 "/home/mysitedjango/askbot/skins/default/templates/404.jinja.html", line 1, in top-level template code
{% extends "one_column_body.html" %}
File "/home/mysitedjango/askbot/skins/common/templates/one_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "/home/mysitedjango/askbot/skins/default/templates/base.html", line 42, in top-level template code
{% include "meta/bottom_scripts.html" %}
File "/home/mysitedjango/askbot/skins/default/templates/meta/bottom_scripts.html", line 28, in top-level template code
askbot['urls']['getEditor'] = '{% url "get_editor" %}';
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.6-py2.7.egg/coffin/template/defaulttags.py", line 208, in _reverse
args=args, kwargs=kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/urlresolvers.py", line 391, in reverse
*args, **kwargs)))
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/urlresolvers.py", line 337, in reverse
"arguments '%s' not found." % (lookup_view_s, args, kwargs))
NoReverseMatch: Reverse for 'mysitedjango.get_editor' with arguments '()' and keyword arguments '{}' not found.
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CSRF_COOKIE': '8948746455017a57e3391006df4e5ea9',
'DOCUMENT_ROOT': '/home/mysitedjango',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': '*/*',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
'HTTP_CONNECTION': 'Keep-alive',
'HTTP_FROM': 'googlebot(at)googlebot.com',
'HTTP_HOST': 'mysite.ru',
'HTTP_IF_MODIFIED_SINCE': 'Mon, 20 Aug 2012 22:54:01 GMT',
'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)',
'PATH_INFO': u'/\u0432\u043e\u043f\u0440\u043e\u0441\u044b/scope:all/sort:answers-desc/tags:GPS,Prestiqio,Alcatel-OT-990/page:1/',
'PATH_TRANSLATED': '/home/mysitedjango/django.wsgi/\xd0\xb2\xd0\xbe\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81\xd1\x8b/scope:all/sort:answers-desc/tags:GPS,Prestiqio,Alcatel-OT-990/page:1/',
'QUERY_STRING': '',
'REMOTE_ADDR': '66.249.72.84',
'REMOTE_PORT': '37558',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/%D0%B2%D0%BE%D0%BF%D1%80%D0%BE%D1%81%D1%8B/scope:all/sort:answers-desc/tags:GPS,Prestiqio,Alcatel-OT-990/page:1/',
'SCRIPT_FILENAME': '/home/mysitedjango/django.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '91.226.88.211',
'SERVER_ADMIN': 'mysite@mysite.ru',
'SERVER_NAME': 'mysite.ru',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at mysite.ru Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',
'mod_wsgi.application_group': 'mysite.ru|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'askbot2',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 3),
'wsgi.errors': <mod_wsgi.Log object at 0x7fa6426a8570>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fa642646f30>,
'wsgi.input': <mod_wsgi.Input object at 0x7fa64248c4b0>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 1)}>
How to make it working now?
The commands I've used to update:
git fetch origin master:master-updated
git checkout master
git merge master-updated
I use the ru locale and no customization, except some css and javascript I put in the build in fields of admin panel.
EDIT
When I ran python manage.py migrate
I get following message:
************************
* *
* Askbot self-test *
* *
************************
Error: No module named bs4
Please run: >pip install beautifulsoup4
To install all the dependencies at once, type:
pip install -r askbot_requirements.txt
Type ^C to quit.
If necessary, type ^C (Ctrl-C) to stop the program.
Askbot stopped working after newest update
I have the update problem again. After update nothing works any more. When I visit my site I get the 500 internal error. I got this email to my Admin account from my askbot site:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 150, in get_response
response = callback(request, **param_dict)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/utils/decorators.py", line 93, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/views/defaults.py", line 19, in page_not_found
return http.HttpResponseNotFound(t.render(RequestContext(request, {'request_path': request.path})))
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 123, in render
return self._render(context)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 117, in _render
return self.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 744, in render
bits.append(self.render_node(node, context))
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/template/base.py", line 757, in render_node
return node.render(context)
File "/home/mysitedjango/askbot/templatetags/extra_tags.py", line 94, in render
return jinja_template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.6-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 "/home/mysitedjango/askbot/skins/default/templates/404.jinja.html", line 1, in top-level template code
{% extends "one_column_body.html" %}
File "/home/mysitedjango/askbot/skins/common/templates/one_column_body.html", line 1, in top-level template code
{% extends "base.html" %}
File "/home/mysitedjango/askbot/skins/default/templates/base.html", line 42, in top-level template code
{% include "meta/bottom_scripts.html" %}
File "/home/mysitedjango/askbot/skins/default/templates/meta/bottom_scripts.html", line 28, in top-level template code
askbot['urls']['getEditor'] = '{% url "get_editor" %}';
File "/usr/local/lib/python2.7/dist-packages/Coffin-0.3.6-py2.7.egg/coffin/template/defaulttags.py", line 208, in _reverse
args=args, kwargs=kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/urlresolvers.py", line 391, in reverse
*args, **kwargs)))
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/urlresolvers.py", line 337, in reverse
"arguments '%s' not found." % (lookup_view_s, args, kwargs))
NoReverseMatch: Reverse for 'mysitedjango.get_editor' with arguments '()' and keyword arguments '{}' not found.
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CSRF_COOKIE': '8948746455017a57e3391006df4e5ea9',
'DOCUMENT_ROOT': '/home/mysitedjango',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': '*/*',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
'HTTP_CONNECTION': 'Keep-alive',
'HTTP_FROM': 'googlebot(at)googlebot.com',
'HTTP_HOST': 'mysite.ru',
'HTTP_IF_MODIFIED_SINCE': 'Mon, 20 Aug 2012 22:54:01 GMT',
'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)',
'PATH_INFO': u'/\u0432\u043e\u043f\u0440\u043e\u0441\u044b/scope:all/sort:answers-desc/tags:GPS,Prestiqio,Alcatel-OT-990/page:1/',
'PATH_TRANSLATED': '/home/mysitedjango/django.wsgi/\xd0\xb2\xd0\xbe\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81\xd1\x8b/scope:all/sort:answers-desc/tags:GPS,Prestiqio,Alcatel-OT-990/page:1/',
'QUERY_STRING': '',
'REMOTE_ADDR': '66.249.72.84',
'REMOTE_PORT': '37558',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/%D0%B2%D0%BE%D0%BF%D1%80%D0%BE%D1%81%D1%8B/scope:all/sort:answers-desc/tags:GPS,Prestiqio,Alcatel-OT-990/page:1/',
'SCRIPT_FILENAME': '/home/mysitedjango/django.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '91.226.88.211',
'SERVER_ADMIN': 'mysite@mysite.ru',
'SERVER_NAME': 'mysite.ru',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at mysite.ru Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',
'mod_wsgi.application_group': 'mysite.ru|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'askbot2',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 3),
'wsgi.errors': <mod_wsgi.Log object at 0x7fa6426a8570>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fa642646f30>,
'wsgi.input': <mod_wsgi.Input object at 0x7fa64248c4b0>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 1)}>
How to make it working now?
The commands I've used to update:
git fetch origin master:master-updated
git checkout master
git merge master-updated
I use the ru locale and no customization, except some css and javascript I put in the build in fields of admin panel.