Project

General

Profile

Bug #35

Traceback generated by editing the network parameters

Added by Anonymous about 9 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Expected
Assignee:
-
Category:
GUI (new)
Target version:
-
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I did the following to reproduce this:

(1) Clean install on VB (both r5592 and r5600 have this problem)
(2) Clicked on Network
(3) click on interfaces
(4) click on add interface
(5) selected em0, named it elmo and selected dhcp
(6) Save
(7) clicked on the Edit button for this line.
(8) didn't change a thing, but hit 'save'
(9) backtrace.

What's up?

[[KeyError]] at /network/interfaces/edit/1/

u'interfaces'

Request Method: POST
Request URL: http://10.0.0.180/network/interfaces/edit/1/
Django Version: 1.2.1
Exception Type: KeyError
Exception Value:

u'interfaces'

Exception Location: /usr/local/www/freenasUI/network/views.py in generic_update, line 132
Python Executable: /usr/local/bin/python
Python Version: 2.6.5
Python Path: ['/usr/local/www/freenasUI', '/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/usr/local/lib/python2.6/site-packages/flup-1.0.2-py2.6.egg', '/usr/local/lib/python26.zip', '/usr/local/lib/python2.6', '/usr/local/lib/python2.6/plat-freebsd8', '/usr/local/lib/python2.6/lib-tk', '/usr/local/lib/python2.6/lib-old', '/usr/local/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/site-packages', '/usr/local/www']
Server time: Fri, 19 Nov 2010 15:08:09 -0800
Traceback Switch to copy-and-paste view

  • /usr/local/lib/python2.6/site-packages/django/core/handlers/base.py in get_response
    93. # Apply view middleware
    94. for middleware_method in self._view_middleware:
    95. response = middleware_method(request, callback, callback_args, callback_kwargs)
    96. if response:
    97. return response
    98.
    99. try:
    100. response = callback(request, *callback_args, **callback_kwargs) ...
    101. except Exception, e:
    102. # If the view raised an exception, run it through exception
    103. # middleware, and if the exception middleware returns a
    104. # response, use that. Otherwise, reraise the exception.
    105. for middleware_method in self._exception_middleware:
    106. response = middleware_method(request, e)
    ▶ Local vars
    Variable Value
    callback
    <function generic_update at 0x804b54578>
    callback_args
    ()
    callback_kwargs {'object_id': u'1', 'objtype': u'interfaces'}
    e
    [[KeyError]](u'interfaces',)
    exc_info
    (<type 'exceptions.KeyError'>, [[KeyError]](u'interfaces',), <traceback object at 0x804b56290>)
    exceptions
    <module 'django.core.exceptions' from '/usr/local/lib/python2.6/site-packages/django/core/exceptions.pyc'>
    middleware_method
    <bound method [[DojoCollector]].process_request of <dojango.middleware.DojoCollector instance at 0x8042c5a70>>
    receivers
    [(<function rollback_on_exception at 0x8025dcb18>, None)]
    request
    <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'int_ipv4address': [u
    ], u'int_name': [u'Elmo'], u'int_ipv6address': [u_], u'int_options': [u_], u'int_dhcp': [u'on'], u'int_interface': [u'em0']}>, COOKIES:{'csrftoken': 'd960f308d59a7132b9bad2fb2c612b48', 'sessionid': 'dbb402826ed05cad955ca3fc0b67d224'}, META:{'CONTENT_LENGTH': '90', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/usr/local/www/data/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_CONTENT_LENGTH': '90', 'HTTP_COOKIE': 'csrftoken=d960f308d59a7132b9bad2fb2c612b48; sessionid=dbb402826ed05cad955ca3fc0b67d224', 'HTTP_HOST': '10.0.0.180', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://10.0.0.180/network/int/edit/1/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; [[FreeBSD]] amd64; en-US; rv:1.9.2.12) Gecko/20101029 Firefox/3.6.12', 'PATH_INFO': u'/network/interfaces/edit/1/', 'QUERY_STRING': , 'REDIRECT_STATUS': '200', 'REDIRECT_URI': '/mysite.fcgi/network/interfaces/edit/1/', 'REMOTE_ADDR': '10.0.0.18', 'REMOTE_PORT': '26857', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/network/interfaces/edit/1/', 'SCRIPT_FILENAME': '/usr/local/www/data/mysite.fcgi/network/interfaces/edit/1/', 'SCRIPT_NAME': u, 'SERVER_ADDR': '10.0.0.180', 'SERVER_NAME': '10.0.0.180', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'lighttpd/1.4.26', 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x804f72ed0>, 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x804f72890>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
    resolver
    <RegexURLResolver freenasUI.urls (None:None) ^/>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x8041915d0>
    settings
    <django.conf.LazySettings object at 0x80247f550>
    urlconf
    'freenasUI.urls'
    urlresolvers
    <module 'django.core.urlresolvers' from '/usr/local/lib/python2.6/site-packages/django/core/urlresolvers.pyc'>
  • /usr/local/lib/python2.6/site-packages/django/contrib/auth/decorators.py in _wrapped_view
    18. if not login_url:
    19. from django.conf import settings
    20. login_url = settings.LOGIN_URL
    21.
    22. def decorator(view_func):
    23. def _wrapped_view(request, *args, **kwargs):
    24. if test_func(request.user):
    25. return view_func(request, *args, **kwargs) ...
    26. path = urlquote(request.get_full_path())
    27. tup = login_url, redirect_field_name, path
    28. return [[HttpResponseRedirect]]('%s?%s=%s' % tup)
    29. return wraps(view_func, assigned=available_attrs(view_func))(_wrapped_view)
    30. return decorator
    31.
    ▶ Local vars
    Variable Value
    args
    ()
    kwargs {'object_id': u'1', 'objtype': u'interfaces'}
    login_url
    '/account/login/'
    redirect_field_name
    'next'
    request
    <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'int_ipv4address': [u_], u'int_name': [u'Elmo'], u'int_ipv6address': [u_], u'int_options': [u_], u'int_dhcp': [u'on'], u'int_interface': [u'em0']}>, COOKIES:{'csrftoken': 'd960f308d59a7132b9bad2fb2c612b48', 'sessionid': 'dbb402826ed05cad955ca3fc0b67d224'}, META:{'CONTENT_LENGTH': '90', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/usr/local/www/data/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_CONTENT_LENGTH': '90', 'HTTP_COOKIE': 'csrftoken=d960f308d59a7132b9bad2fb2c612b48; sessionid=dbb402826ed05cad955ca3fc0b67d224', 'HTTP_HOST': '10.0.0.180', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://10.0.0.180/network/int/edit/1/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; [[FreeBSD]] amd64; en-US; rv:1.9.2.12) Gecko/20101029 Firefox/3.6.12', 'PATH_INFO': u'/network/interfaces/edit/1/', 'QUERY_STRING': , 'REDIRECT_STATUS': '200', 'REDIRECT_URI': '/mysite.fcgi/network/interfaces/edit/1/', 'REMOTE_ADDR': '10.0.0.18', 'REMOTE_PORT': '26857', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/network/interfaces/edit/1/', 'SCRIPT_FILENAME': '/usr/local/www/data/mysite.fcgi/network/interfaces/edit/1/', 'SCRIPT_NAME': u, 'SERVER_ADDR': '10.0.0.180', 'SERVER_NAME': '10.0.0.180', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'lighttpd/1.4.26', 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x804f72ed0>, 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x804f72890>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
    test_func
    <function <lambda> at 0x804b54488>
    view_func
    <function generic_update at 0x804b54398>
  • /usr/local/www/freenasUI/network/views.py in generic_update
    125. def generic_update(request, object_id, objtype):
    126. objtype2form = {
    127. 'int': ( Interfaces, None ),
    128. 'vlan': ( VLAN, None ),
    129. 'lagg': ( LAGG, None ),
    130. 'sr': ( [[StaticRoute]], None ),
    131. }
    132. model, form_class = objtype2form[objtype] ...
    133. return update_object(
    134. request = request,
    135. model = model, form_class = form_class,
    136. object_id = object_id,
    137. post_save_redirect = '/network/' + objtype + '/view/',
    138. )
    ▶ Local vars
    Variable Value
    object_id
    u'1'
    objtype
    u'interfaces'
    objtype2form {'int': (<class 'network.models.Interfaces'>, None), 'lagg': (<class 'network.models.LAGG'>, None), 'sr': (<class 'network.models.StaticRoute'>, None), 'vlan': (<class 'network.models.VLAN'>, None)}
    request
    <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'int_ipv4address': [u_], u'int_name': [u'Elmo'], u'int_ipv6address': [u_], u'int_options': [u_], u'int_dhcp': [u'on'], u'int_interface': [u'em0']}>, COOKIES:{'csrftoken': 'd960f308d59a7132b9bad2fb2c612b48', 'sessionid': 'dbb402826ed05cad955ca3fc0b67d224'}, META:{'CONTENT_LENGTH': '90', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/usr/local/www/data/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_CONTENT_LENGTH': '90', 'HTTP_COOKIE': 'csrftoken=d960f308d59a7132b9bad2fb2c612b48; sessionid=dbb402826ed05cad955ca3fc0b67d224', 'HTTP_HOST': '10.0.0.180', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://10.0.0.180/network/int/edit/1/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; [[FreeBSD]] amd64; en-US; rv:1.9.2.12) Gecko/20101029 Firefox/3.6.12', 'PATH_INFO': u'/network/interfaces/edit/1/', 'QUERY_STRING': , 'REDIRECT_STATUS': '200', 'REDIRECT_URI': '/mysite.fcgi/network/interfaces/edit/1/', 'REMOTE_ADDR': '10.0.0.18', 'REMOTE_PORT': '26857', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/network/interfaces/edit/1/', 'SCRIPT_FILENAME': '/usr/local/www/data/mysite.fcgi/network/interfaces/edit/1/', 'SCRIPT_NAME': u, 'SERVER_ADDR': '10.0.0.180', 'SERVER_NAME': '10.0.0.180', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'lighttpd/1.4.26', 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x804f72ed0>, 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x804f72890>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>

Environment: Request Method: POST Request URL: http://10.0.0.180/network/interfaces/edit/1/ Django Version: 1.2.1 Python Version: 2.6.5 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'dojango', 'account', 'system', 'network', 'storage', 'sharing', 'services'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'dojango.middleware.DojoCollector') Traceback: File "/usr/local/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response 100. response = callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python2.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view 25. return view_func(request, *args, **kwargs) File "/usr/local/www/freenasUI/network/views.py" in generic_update 132. model, form_class = objtype2form[objtype] Exception Type: [[KeyError]] at /network/interfaces/edit/1/ Exception Value: u'interfaces'

Request information
GET

No GET data
POST
Variable Value
int_ipv4address
u_
int_name
u'Elmo'
int_ipv6address
u_
int_options
u_
int_dhcp
u'on'
int_interface
u'em0'
FILES

No FILES data
COOKIES
Variable Value
csrftoken
'd960f308d59a7132b9bad2fb2c612b48'
sessionid
'dbb402826ed05cad955ca3fc0b67d224'
META
Variable Value
CONTENT_LENGTH
'90'
CONTENT_TYPE
'application/x-www-form-urlencoded'
DOCUMENT_ROOT
'/usr/local/www/data/'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_ACCEPT_LANGUAGE
'en-us,en;q=0.5'
HTTP_CONNECTION
'keep-alive'
HTTP_CONTENT_LENGTH
'90'
HTTP_COOKIE
'csrftoken=d960f308d59a7132b9bad2fb2c612b48; sessionid=dbb402826ed05cad955ca3fc0b67d224'
HTTP_HOST
'10.0.0.180'
HTTP_KEEP_ALIVE
'115'
HTTP_REFERER
'http://10.0.0.180/network/int/edit/1/'
HTTP_USER_AGENT
'Mozilla/5.0 (X11; U; [[FreeBSD]] amd64; en-US; rv:1.9.2.12) Gecko/20101029 Firefox/3.6.12'
PATH_INFO
u'/network/interfaces/edit/1/'
QUERY_STRING

REDIRECT_STATUS
'200'
REDIRECT_URI
'/mysite.fcgi/network/interfaces/edit/1/'
REMOTE_ADDR
'10.0.0.18'
REMOTE_PORT
'26857'
REQUEST_METHOD
'POST'
REQUEST_URI
'/network/interfaces/edit/1/'
SCRIPT_FILENAME
'/usr/local/www/data/mysite.fcgi/network/interfaces/edit/1/'
SCRIPT_NAME
u

SERVER_ADDR
'10.0.0.180'
SERVER_NAME
'10.0.0.180'
SERVER_PORT
'80'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'lighttpd/1.4.26'
wsgi.errors
<flup.server.fcgi_base.TeeOutputStream object at 0x804f72ed0>
wsgi.input
<flup.server.fcgi_base.InputStream object at 0x804f72890>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
Settings
Using settings module freenasUI.settings
Setting Value
ABSOLUTE_URL_OVERRIDES {}
ADMINS
(('iXsystems, Inc.', ''),)
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'https://raidzilla.ixsystems.com/admin_media/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('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': '/data/freenas-v1.db', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': _, 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Los_Angeles', 'USER': _}}
DATABASE_ENGINE
'sqlite3'
DATABASE_HOST

DATABASE_NAME
'/data/freenas-v1.db'
DATABASE_OPTIONS {}
DATABASE_PASSWORD
'********************'
DATABASE_PORT

DATABASE_ROUTERS
[]
DATABASE_USER

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
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
()
DOJANGO_DATAGRID_ACCESS
('freenas.servicesCIFS', 'freenas.shareCIFS', 'freenas.Disk')
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

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.sessions', 'dojango', 'account', 'system', 'network', 'storage', 'sharing', 'services']
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', 'Argentinean 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'), ('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
'/'
LOGIN_URL
'/account/login/'
LOGOUT_URL
'/account/logout/'
MANAGERS
(('iXsystems, Inc.', ''),)
MEDIA_ROOT
'/usr/local/www/freenasUI/media'
MEDIA_URL
'https://raidzilla.ixsystems.com/media/'
MESSAGE_STORAGE
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'dojango.middleware.DojoCollector')
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
ROOT_URLCONF
'freenasUI.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
'freenasUI.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SITE_ID
1
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.request', 'django.contrib.auth.context_processors.auth', 'dojango.context_processors.config')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
('/usr/local/www/freenasUI/templates', '/usr/local/lib/python2.6/site-packages/dojango/templates')
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
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
'America/Los_Angeles'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
'Django/1.2.1 (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
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.

History

#1 Updated by Anonymous about 9 years ago

  • Status changed from Unscreened to Closed

James fixed this.

#2 Updated by Jordan Hubbard over 4 years ago

  • Target version deleted (2)

#3 Avatar?id=14398&size=24x24 Updated by Kris Moore about 4 years ago

Commit: d859d00ac41e3771dd6ddce51286addf471c16c7
https://github.com/pcbsd/freebsd-ports/commit/d859d00ac41e3771dd6ddce51286addf471c16c7
Author: Bernard Spil <>
Date: 2015-09-24 (Thu, 24 Sep 2015)

Log Message:
-----------
Merge pull request #35 from Sp1l/master

security/libressl: Update to 2.3.0 RELEASE

#4 Avatar?id=14398&size=24x24 Updated by Kris Moore almost 4 years ago

Commit: 3bd19b1310a12a6bae51db5d7ca2d6a6ed1aed17
https://github.com/pcbsd/freebsd-ports/commit/3bd19b1310a12a6bae51db5d7ca2d6a6ed1aed17
Author: truckman <>
Date: 2016-02-03 (Wed, 03 Feb 2016)

Log Message:
-----------
Upgrade net/nmsg to 0.11.0:

nmsg (0.11.0)

[ Henry Stern ]
  • Add an interval randomization option that randomizes the initial offset
    within the selected time interval. This functionality is exposed via the
    libnmsg nmsg_io_set_interval_randomized() function and the nmsgtool -R /
    --randomize command-line option (#27, #33).
  • Add documention for nmsgtool -j / --readjson and -J / --write-json
    command-line options (#26, #28).
  • Add PKG_CHECK_MODULES dependency on yajl >= 2.1.0 (#29, #31).
  • Make nmsgtool -k / --kicker work when combined with -c or -t, when
    producing output in JSON format (#25, #38).
  • Fix compiler warning [-Wtautological-compare] in
    _nmsg_msgmod_json_to_payload_load() (#36, #39).
  • Add nmsg_message_get_num_field_values(),
    nmsg_message_get_num_field_values_by_idx() functions (#5, #40).
[ Robert Edmonds ]
  • Remove the unused enum nmsg_modtype from the internal libnmsg API (#30).
  • Header file cleanups (#14, #34).
  • Rewrite nmsg_res_lookup() to use a switch, which eliminates a Clang
    warning (#14, #35).
  • Add a message filtering capability to the libnmsg I/O loop, including
    external filter module plugin and nmsgtool support (#41, #43, #44).
[ Mike Schiffman ]
  • Add yajl/ prefix to #include's of yajl headers (#37)

Pet portlint

Sponsored by: Farsight Security, Inc.

#5 Avatar?id=14398&size=24x24 Updated by Kris Moore almost 4 years ago

Commit: 3bd19b1310a12a6bae51db5d7ca2d6a6ed1aed17
https://github.com/pcbsd/freebsd-ports/commit/3bd19b1310a12a6bae51db5d7ca2d6a6ed1aed17
Author: truckman <>
Date: 2016-02-03 (Wed, 03 Feb 2016)

Log Message:
-----------
Upgrade net/nmsg to 0.11.0:

nmsg (0.11.0)

[ Henry Stern ]
  • Add an interval randomization option that randomizes the initial offset
    within the selected time interval. This functionality is exposed via the
    libnmsg nmsg_io_set_interval_randomized() function and the nmsgtool -R /
    --randomize command-line option (#27, #33).
  • Add documention for nmsgtool -j / --readjson and -J / --write-json
    command-line options (#26, #28).
  • Add PKG_CHECK_MODULES dependency on yajl >= 2.1.0 (#29, #31).
  • Make nmsgtool -k / --kicker work when combined with -c or -t, when
    producing output in JSON format (#25, #38).
  • Fix compiler warning [-Wtautological-compare] in
    _nmsg_msgmod_json_to_payload_load() (#36, #39).
  • Add nmsg_message_get_num_field_values(),
    nmsg_message_get_num_field_values_by_idx() functions (#5, #40).
[ Robert Edmonds ]
  • Remove the unused enum nmsg_modtype from the internal libnmsg API (#30).
  • Header file cleanups (#14, #34).
  • Rewrite nmsg_res_lookup() to use a switch, which eliminates a Clang
    warning (#14, #35).
  • Add a message filtering capability to the libnmsg I/O loop, including
    external filter module plugin and nmsgtool support (#41, #43, #44).
[ Mike Schiffman ]
  • Add yajl/ prefix to #include's of yajl headers (#37)

Pet portlint

Sponsored by: Farsight Security, Inc.

Also available in: Atom PDF