'None' has no attribute 'get_absolute_url' error during display of some questions

  • retag add tags

I get the following error when I click on the post named "Why Ubuntu 12.04 does not accept my password at login screen?" Askbot version is 0.7.49 @onurb Is it something related to dots inside the title ?

UndefinedError at /askbot/question/20/does-anyone-having-an-issue-working-with-rapidsvn-crash-on-ubuntu-pc-with-16x-subversion-installed-when-svn-server-version-17/
'None' has no attribute 'get_absolute_url'
Request Method: GET
Request URL:    http: //10.108.95.30:9001/askbot/question/20/does-anyone-having-an-issue-working-with-rapidsvn-crash-on-ubuntu-pc-with-16x-subversion-installed-when-svn-server-version-17/
Django Version: 1.5
Exception Type: UndefinedError
Exception Value:    
'None' has no attribute 'get_absolute_url'
Exception Location: /home/askbot/sandbox/local/lib/python2.7/site-packages/askbot/templates/macros.html in template, line 659
Python Executable:  /home/askbot/sandbox/bin/python
Python Version: 2.7.3
Python Path:    
['/home/askbot/forum',
 '/home/askbot/sandbox/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg',
 '/home/askbot/sandbox/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
 '/home/askbot/sandbox/lib/python2.7',
 '/home/askbot/sandbox/lib/python2.7/plat-linux2',
 '/home/askbot/sandbox/lib/python2.7/lib-tk',
 '/home/askbot/sandbox/lib/python2.7/lib-old',
 '/home/askbot/sandbox/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/home/askbot/sandbox/local/lib/python2.7/site-packages',
 '/home/askbot/sandbox/local/lib/python2.7/site-packages/askbot/deps']
Server time:    Thu, 2 Oct 2014 09:12:55 +0300
Traceback Switch to copy-and-paste view

/home/askbot/sandbox/local/lib/python2.7/site-packages/django/core/handlers/base.py in get_response
                        response = callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/django/utils/decorators.py in _wrapped_view
                    response = view_func(request, *args, **kwargs) ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/askbot/views/readers.py in question
    return render(request, 'question.html', data) ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/django/shortcuts/__init__.py in render
    return HttpResponse(loader.render_to_string(*args, **kwargs), ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/django/template/loader.py in render_to_string
        return t.render(context_instance) ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/coffin/template/__init__.py in render
        return super(Template, self).render(**context) ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/jinja2/environment.py in render
        return self.environment.handle_exception(exc_info, True) ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/jinja2/environment.py in handle_exception
        reraise(exc_type, exc_value, tb) ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/askbot/templates/question.html in top-level template code
{% extends "two_column_body.html" %} ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/askbot/templates/two_column_body.html in top-level template code
{% extends "base.html" %} ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/askbot/templates/base.html in top-level template code
            {% block body %} ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/askbot/templates/two_column_body.html in block "body"
    {% block content%} ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages/askbot/templates/question.html in block "content"
        {% include "question/content.html" %} ...
▶ Local vars
/home/askbot/sandbox/local/lib/python2.7/site-packages ...
(more)
onurb's avatar
1
onurb
asked 2014-10-02 01:45:12 -0600, updated 2014-10-07 16:44:20 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments