TemplateSyntaxError at /dashboard/streams/

Caught NoReverseMatch while rendering: Reverse for 'dashboard_app.views.test_run_list' with arguments '(u'/anonymous/test_bundle/',)' and keyword arguments '{}' not found.
Request Method: GET
Request URL: http://localhost/launch-control/dashboard/streams/
Django Version: 1.2.5
Exception Type: TemplateSyntaxError
Exception Value:
Caught NoReverseMatch while rendering: Reverse for 'dashboard_app.views.test_run_list' with arguments '(u'/anonymous/test_bundle/',)' and keyword arguments '{}' not found.
Exception Location: /usr/lib/pymodules/python2.6/django/template/defaulttags.py in render, line 385
Python Executable: /usr/bin/python
Python Version: 2.6.5
Python Path: ['/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Babel-0.9.5-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Genshi-0.6-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/docutils-0.7-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Jinja2-2.5.5-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Pygments-1.4-py2.6.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages', '/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg-info']
Server time: Tue, 28 Jun 2011 12:02:30 +0000

Template error

In template /usr/share/launch-control/templates/dashboard_app/bundle_stream_list.html, error at line 50

Caught NoReverseMatch while rendering: Reverse for 'dashboard_app.views.test_run_list' with arguments '(u'/anonymous/test_bundle/',)' and keyword arguments '{}' not found.

40 {% block content %}
41 {% autopaginate bundle_stream_list %}
42 {% if bundle_stream_list.count %}
43 <table class="data">
44 <tr>
45 <th>Pathname</th>
46 <th>Name</th>
47 <th>Number of test runs</th>
48 <th>Number of bundles</th>
49 </tr>
50 {% for bundle_stream in bundle_stream_list %}
51 <tr>
52 <td>{{ bundle_stream.pathname }}</td>
53 <td>{{ bundle_stream.name|default:"<i>not set</i>" }}</td>
54 <td><a href="{% url dashboard_app.views.test_run_list bundle_stream.pathname %}">{{ bundle_stream.get_test_run_count }}</a></td>
55 <td><a href="{% url dashboard_app.views.bundle_list bundle_stream.pathname %}">{{ bundle_stream.bundles.count}}</a></td>
56 </tr>
57 {% endfor %}
58 </table>
59 {% else %}
60 {% if user.is_staff %}

Traceback Switch to copy-and-paste view



Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

Variable Value
csrftoken
'7f4db2fada12bc09d59f1450389dad8b'
sessionid
'264ae5e190f6c53b1d60b9b87ae86e90'
JSESSIONID
'F0701EE185BA0953C53200DEC6075819'

META

Variable Value
CSRF_COOKIE
'7f4db2fada12bc09d59f1450389dad8b'
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET
'GB2312,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip, deflate'
HTTP_ACCEPT_LANGUAGE
'ja,zh-cn;q=0.7,zh;q=0.3'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'csrftoken=7f4db2fada12bc09d59f1450389dad8b; sessionid=264ae5e190f6c53b1d60b9b87ae86e90; JSESSIONID=F0701EE185BA0953C53200DEC6075819'
HTTP_HOST
'localhost'
HTTP_KEEP_ALIVE
'115'
HTTP_REFERER
'http://localhost/launch-control'
HTTP_USER_AGENT
'Mozilla/5.0 (X11; Linux i686; rv:2.0.1) Gecko/20100101 Firefox/4.0.1'
PATH
'/usr/local/bin:/usr/bin:/bin'
PATH_INFO
u'/dashboard/streams/'
PATH_TRANSLATED
'/var/www/dashboard/streams/'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_PORT
'34798'
REQUEST_METHOD
'GET'
REQUEST_URI
'/launch-control/dashboard/streams/'
SCRIPT_FILENAME
'/etc/launch-control/web-server/apache2/standard.wsgi'
SCRIPT_NAME
u'/launch-control'
SERVER_ADDR
'127.0.0.1'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'localhost'
SERVER_PORT
'80'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.2.14 (Ubuntu) Server at localhost Port 80</address>\n'
SERVER_SOFTWARE
'Apache/2.2.14 (Ubuntu)'
mod_wsgi.application_group
'127.0.1.1|/launch-control'
mod_wsgi.callable_object
'application'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'80'
mod_wsgi.process_group
''
mod_wsgi.reload_mechanism
'0'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(2, 8)
wsgi.errors
<mod_wsgi.Log object at 0x22166fc0>
wsgi.file_wrapper
<built-in method file_wrapper of mod_wsgi.Adapter object at 0x2211c9b0>
wsgi.input
<mod_wsgi.Input object at 0x22148db8>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)

Settings

Using settings module dashboard_server.settings.debian

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('launch-control Administrator', 'root@localhost'),)
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/launch-control/static/admin/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
APP_URL_PREFIX
''
AUTHENTICATION_BACKENDS
('django_openid_auth.auth.OpenIDBackend', 'django.contrib.auth.backends.ModelBackend')
BANNED_IPS
()
CACHE_BACKEND
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX
''
CACHE_MIDDLEWARE_SECONDS
600
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_NAME
'csrftoken'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
DATABASES
{'default': {'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/var/lib/dbconfig-common/sqlite3/launch-control/launchcontrol', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': ''}}
DATABASE_ENGINE
''
DATABASE_HOST
''
DATABASE_NAME
''
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
'********************'
DATABASE_PORT
''
DATABASE_ROUTERS
[]
DATABASE_USER
''
DATAREPORT_DIRS
['/etc/launch-control/reports/']
DATAVIEW_DIRS
['/etc/launch-control/views/']
DATA_URL_PREFIX
'launch-control/'
DATETIME_FORMAT
'N j, Y, P'
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y')
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y')
DEBUG
u'True'
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
()
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
()
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.markup', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.humanize', 'django_openid_auth', 'django_restricted_resource', 'staticfiles', 'dashboard_app', 'pagination', 'django.contrib.admin', 'django.contrib.admindocs', 'south']
INTERNAL_IPS
()
LANGUAGES
(('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/launch-control/'
LOGIN_URL
'/accounts/login/'
LOGOUT_URL
'/accounts/logout/'
MANAGERS
(('launch-control Administrator', 'root@localhost'),)
MEDIA_ROOT
'/var/lib/launch-control/media/'
MEDIA_URL
'/launch-control/media/'
MESSAGE_STORAGE
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
MIDDLEWARE_CLASSES
('django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'pagination.middleware.PaginationMiddleware')
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
OPENID_CREATE_USERS
True
OPENID_SSO_SERVER_URL
'https://login.ubuntu.com/'
OPENID_UPDATE_DETAILS_FROM_SREG
True
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
RESTRUCTUREDTEXT_FILTER_SETTINGS
{'initial_header_level': 4}
ROOT_URLCONF
'dashboard_server.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'dashboard_server.settings.debian'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SITE_ID
1
SKIP_SOUTH_TESTS
True
STATICFILES_DIRS
[('', '/usr/share/launch-control/htdocs')]
STATICFILES_MEDIA_DIRNAMES
('media', 'static')
STATIC_ROOT
'/var/lib/launch-control/static/'
STATIC_URL
'/launch-control/static/'
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.request', 'dashboard_app.context_processors.project_version', 'staticfiles.context_processors.static_url')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
('/etc/launch-control/templates/', '/usr/share/launch-control/templates/')
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader')
TEMPLATE_STRING_IF_INVALID
''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
TIME_ZONE
'UTC'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
'Django/1.2.5 (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
YEAR_MONTH_FORMAT
'F Y'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.