rackspace/dmirr — Issue #4: Function list_repos throwing exception
Author: jness
Created: 2012-02-21 16:22:25+00:00
State: open

After creating a repo and renaming it (update function) I receive the below exception on the list_repos page:

[code]
TemplateSyntaxError at /projects/test2/repos/
Caught NoReverseMatch while rendering: Reverse for 'show_repo' with arguments '(u'test2', u'test')' and keyword arguments '{}' not found.
Request Method:	GET
Request URL:	http://127.0.0.1:8001/projects/test2/repos/
Django Version:	1.3.1
Exception Type:	TemplateSyntaxError
Exception Value:
Caught NoReverseMatch while rendering: Reverse for 'show_repo' with arguments '(u'test2', u'test')' and keyword arguments '{}' not found.
Exception Location:	/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/django/template/defaulttags.py in render, line 450
Python Executable:	/Users/jeffreyness/PyEnvs/dMirr/bin/python
Python Version:	2.6.1
Python Path:
['/Users/jeffreyness/Python/dmirr/src/dmirr.hub/dmirr/hub',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/pip-1.0.2-py2.6.egg',
'/Users/jeffreyness/Python/dmirr/src/dmirr.hub',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/geopy-0.94.1-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/pygeoip-0.2.2-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/django_userena-1.0.2-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/PIL-1.1.7-py2.6-macosx-10.6-universal.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/easy_thumbnails-1.0_alpha_21-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/django_guardian-1.0.3-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/django_debug_toolbar-0.9.4-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/PyYAML-3.10-py2.6-macosx-10.6-universal.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/django_tastypie-0.9.11-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/six-1.1.0-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages/python_memcached-1.48-py2.6.egg',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python26.zip',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/plat-darwin',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/plat-mac',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/plat-mac/lib-scriptpackages',
'/Users/jeffreyness/PyEnvs/dMirr/Extras/lib/python',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/lib-tk',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/lib-old',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/Users/jeffreyness/PyEnvs/dMirr/lib/python2.6/site-packages']
Server time:	Tue, 21 Feb 2012 10:20:26 -0600
[/code]

This does not appear to be the case on a fresh repo.