Skip to content

Instantly share code, notes, and snippets.

@byroncorrales
Created February 5, 2012 19:35
Show Gist options
  • Save byroncorrales/1747600 to your computer and use it in GitHub Desktop.
Save byroncorrales/1747600 to your computer and use it in GitHub Desktop.
AttributeError at /
'NoneType' object has no attribute 'endswith'
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.3.1
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'endswith'
Exception Location: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py in join, line 68
Python Executable: /usr/bin/python
Python Version: 2.7.1
Python Path:
['/Users/bcorrales/code/django/personal/askbot-new',
'/Library/Python/2.7/site-packages/pip-1.0.2-py2.7.egg',
'/Library/Python/2.7/site-packages/django_threaded_multihost-1.4_1-py2.7.egg',
'/Library/Python/2.7/site-packages/Coffin-0.3.6-py2.7.egg',
'/Library/Python/2.7/site-packages/django_recaptcha_works-0.3.4-py2.7.egg',
'/Library/Python/2.7/site-packages/markdown2-1.0.1.19-py2.7.egg',
'/Library/Python/2.7/site-packages/akismet-0.2.0-py2.7.egg',
'/Library/Python/2.7/site-packages/Jinja2-2.6-py2.7.egg',
'/Library/Python/2.7/site-packages/django_countries-1.0.5-py2.7.egg',
'/Library/Python/2.7/site-packages/django_kombu-0.9.2-py2.7.egg',
'/Library/Python/2.7/site-packages/html5lib-0.90-py2.7.egg',
'/Library/Python/2.7/site-packages/django_keyedcache-1.4_6-py2.7.egg',
'/Library/Python/2.7/site-packages/django_robots-0.8.1-py2.7.egg',
'/Library/Python/2.7/site-packages/django_celery-2.2.7-py2.7.egg',
'/Library/Python/2.7/site-packages/pystache-0.3.1-py2.7.egg',
'/Library/Python/2.7/site-packages/python_openid-2.2.5-py2.7.egg',
'/Library/Python/2.7/site-packages/oauth2-1.5.211-py2.7.egg',
'/Library/Python/2.7/site-packages/Unidecode-0.04.9-py2.7.egg',
'/Library/Python/2.7/site-packages/django_followit-0.0.3-py2.7.egg',
'/Library/Python/2.7/site-packages/celery-2.2.7-py2.7.egg',
'/Library/Python/2.7/site-packages/django_picklefield-0.1.9-py2.7.egg',
'/Library/Python/2.7/site-packages/httplib2-0.7.2-py2.7.egg',
'/Library/Python/2.7/site-packages/pyparsing-1.5.6-py2.7.egg',
'/Library/Python/2.7/site-packages/kombu-1.5.1-py2.7.egg',
'/Library/Python/2.7/site-packages/anyjson-0.3.1-py2.7.egg',
'/Library/Python/2.7/site-packages/amqplib-1.0.2-py2.7.egg',
'/Users/bcorrales/code/django/personal/askbot-devel',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
'/Library/Python/2.7/site-packages',
'/Library/Python/2.7/site-packages/PIL',
'/Users/bcorrales/code/django/personal/askbot-devel/askbot/deps',
'/Users/bcorrales/code/django/personal/askbot-devel/askbot/deps']
Server time: Sun, 5 Feb 2012 13:33:22 -0600
Traceback Switch to copy-and-paste view
/Library/Python/2.7/site-packages/django/core/handlers/base.py in get_response
request.path_info) ...
▶ Local vars
/Library/Python/2.7/site-packages/django/core/urlresolvers.py in resolve
sub_match = pattern.resolve(new_path) ...
▶ Local vars
/Library/Python/2.7/site-packages/django/core/urlresolvers.py in resolve
for pattern in self.url_patterns: ...
▶ Local vars
/Library/Python/2.7/site-packages/django/core/urlresolvers.py in _get_url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment