Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NoReverseMatch at /main/user/2/
- Reverse for 'auth_group_add' with arguments '()' and keyword arguments '{}' not found.
- Request Method: GET
- Request URL: http://nocproject.tsua.net/main/user/2/
- Django Version: 1.4.1
- Exception Type: NoReverseMatch
- Exception Value:
- Reverse for 'auth_group_add' with arguments '()' and keyword arguments '{}' not found.
- Exception Location: /opt/noc/contrib/lib/django/core/urlresolvers.py in _reverse_with_prefix, line 396
- Python Executable: /usr/bin/python
- Python Version: 2.7.3
- Python Path:
- ['/opt/noc',
- '/opt',
- '/opt/noc/contrib/lib/South-0.7.3-py2.7.egg',
- '/opt/noc/contrib/lib/coverage-3.5.1-py2.7-linux-x86_64.egg',
- '/opt/noc/contrib/lib/protobuf-2.4.1-py2.7.egg',
- '/opt/noc/contrib/lib/pyasn1-0.1.2-py2.7.egg',
- '/opt/noc/contrib/lib/pysnmp-4.2.1-py2.7.egg',
- '/opt/noc/contrib/lib/python_creole-0.2.4-py2.7.egg',
- '/opt/noc/contrib/lib/Pygments-1.2.2-py2.7.egg',
- '/opt/noc/contrib/lib/Jinja2-2.2.1-py2.7.egg',
- '/opt/noc/contrib/lib/Sphinx-1.0.7-py2.7.egg',
- '/opt/noc/contrib/lib/mongoengine-0.6.20-py2.7.egg',
- '/opt/noc/contrib/lib/tornado-2.2-py2.7.egg',
- '/opt/noc/contrib/lib',
- '/opt/noc/scripts',
- '/usr/local/python-2.7.3/lib/python2.7/site-packages/setuptools-0.6c9-py2.7.egg',
- '/usr/local/python-2.7.3/lib/python2.7/site-packages/psycopg2-2.4.5-py2.7-linux-x86_64.egg',
- '/usr/local/python-2.7.3/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg',
- '/usr/local/python-2.7.3/lib/python2.7/site-packages/python_cjson-1.0.5-py2.7-linux-x86_64.egg',
- '/opt/noc/contrib/lib/setuptools-0.6c11-py2.7.egg',
- '/usr/local/python-2.7.3/lib/python2.7/site-packages/gmpy-1.15-py2.7-linux-x86_64.egg',
- '/usr/local/python-2.7.3/lib/python2.7/site-packages/netifaces-0.8-py2.7-linux-x86_64.egg',
- '/usr/local/python-2.7.3/lib/python2.7/site-packages/docutils-0.9.1-py2.7.egg',
- '/usr/local/python-2.7.3/lib/python2.7/site-packages/pymongo-2.3-py2.7-linux-x86_64.egg',
- '/usr/local/python-2.7.3/lib/python27.zip',
- '/usr/local/python-2.7.3/lib/python2.7',
- '/usr/local/python-2.7.3/lib/python2.7/plat-linux2',
- '/usr/local/python-2.7.3/lib/python2.7/lib-tk',
- '/usr/local/python-2.7.3/lib/python2.7/lib-old',
- '/usr/local/python-2.7.3/lib/python2.7/lib-dynload',
- '/usr/local/python-2.7.3/lib/python2.7/site-packages']
- Server time: Втр, 25 Сен 2012 11:51:37 +0300
- Error during template rendering
- In template /opt/noc/contrib/lib/django/contrib/admin/templates/admin/includes/fieldset.html, error at line 19
- Reverse for 'auth_group_add' with arguments '()' and keyword arguments '{}' not found.
- 9 {% for field in line %}
- 10 <div{% if not line.fields|length_is:'1' %} class="field-box{% if field.field.name %} field-{{ field.field.name }}{% endif %}{% if not field.is_readonly and field.errors %} errors{% endif %}"{% endif %}>
- 11 {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %}
- 12 {% if field.is_checkbox %}
- 13 {{ field.field }}{{ field.label_tag }}
- 14 {% else %}
- 15 {{ field.label_tag }}
- 16 {% if field.is_readonly %}
- 17 <p>{{ field.contents }}</p>
- 18 {% else %}
- 19 {{ field.field }}
- 20 {% endif %}
- 21 {% endif %}
- 22 {% if field.field.help_text %}
- 23 <p class="help">{{ field.field.help_text|safe }}</p>
- 24 {% endif %}
- 25 </div>
- 26 {% endfor %}
- 27 </div>
- 28 {% endfor %}
- 29 </fieldset>
- Traceback Switch to copy-and-paste view
- /opt/noc/contrib/lib/django/core/handlers/base.py in get_response
- response = response.render() ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/response.py in render
- self._set_content(self.rendered_content) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/response.py in rendered_content
- content = template.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in render
- return self._render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in _render
- return self.nodelist.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in render
- bit = self.render_node(node, context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/debug.py in render_node
- return node.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/loader_tags.py in render
- return compiled_parent._render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in _render
- return self.nodelist.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in render
- bit = self.render_node(node, context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/debug.py in render_node
- return node.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/loader_tags.py in render
- return compiled_parent._render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in _render
- return self.nodelist.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in render
- bit = self.render_node(node, context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/debug.py in render_node
- return node.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/loader_tags.py in render
- result = block.nodelist.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in render
- bit = self.render_node(node, context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/debug.py in render_node
- return node.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/loader_tags.py in render
- result = block.nodelist.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in render
- bit = self.render_node(node, context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/debug.py in render_node
- return node.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/defaulttags.py in render
- nodelist.append(node.render(context)) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/loader_tags.py in render
- return self.render_template(self.template, context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/loader_tags.py in render_template
- output = template.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in render
- return self._render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in _render
- return self.nodelist.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in render
- bit = self.render_node(node, context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/debug.py in render_node
- return node.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/defaulttags.py in render
- nodelist.append(node.render(context)) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/defaulttags.py in render
- nodelist.append(node.render(context)) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/defaulttags.py in render
- return nodelist.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in render
- bit = self.render_node(node, context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/debug.py in render_node
- return node.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/defaulttags.py in render
- return nodelist.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/base.py in render
- bit = self.render_node(node, context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/debug.py in render_node
- return node.render(context) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/template/debug.py in render
- output = force_unicode(output) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/utils/encoding.py in force_unicode
- s = unicode(s) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/forms/forms.py in __unicode__
- return self.as_widget() ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/forms/forms.py in as_widget
- return widget.render(name, self.value(), attrs=attrs) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/contrib/admin/widgets.py in render
- related_url = reverse('admin:%s_%s_add' % info, current_app=self.admin_site.name) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/core/urlresolvers.py in reverse
- return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)) ...
- ▶ Local vars
- /opt/noc/contrib/lib/django/core/urlresolvers.py in _reverse_with_prefix
- "arguments '%s' not found." % (lookup_view_s, args, kwargs)) ...
- ▶ Local vars
- Request information
- GET
- No GET data
- POST
- No POST data
- FILES
- No FILES data
- COOKIES
- Variable Value
- csrftoken
- 'ee6dc74f3589c341446639d0d332b23f'
- sessionid
- 'ee89af4c3829009637271d01b951c311'
- META
- Variable Value
- HTTP_REFERER
- 'http://nocproject.tsua.net/main/user/'
- wsgi.multithread
- False
- SCRIPT_NAME
- u''
- wsgi.input
- <_io.BytesIO object at 0x4214e30>
- REQUEST_METHOD
- 'GET'
- HTTP_HOST
- 'nocproject.tsua.net'
- PATH_INFO
- u'/main/user/2/'
- SERVER_PROTOCOL
- 'HTTP/1.0'
- QUERY_STRING
- ''
- HTTP_CONNECTION
- 'close'
- HTTP_X_REAL_IP
- '212.40.49.30'
- HTTP_ACCEPT
- 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
- HTTP_ACCEPT_CHARSET
- 'windows-1251,utf-8;q=0.7,*;q=0.3'
- HTTP_USER_AGENT
- 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1'
- wsgi.version
- (1, 0)
- HTTP_COOKIE
- 'sessionid=ee89af4c3829009637271d01b951c311; csrftoken=ee6dc74f3589c341446639d0d332b23f'
- SERVER_NAME
- 'nocproject.tsua.net'
- REMOTE_ADDR
- '127.0.0.1'
- wsgi.run_once
- False
- wsgi.errors
- <open file '/dev/null', mode 'a+' at 0x1d60030>
- wsgi.multiprocess
- True
- HTTP_ACCEPT_LANGUAGE
- 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4'
- CSRF_COOKIE_USED
- True
- wsgi.url_scheme
- 'http'
- HTTP_X_FORWARDED_FOR
- '212.40.49.30'
- SERVER_PORT
- '80'
- CSRF_COOKIE
- 'ee6dc74f3589c341446639d0d332b23f'
- HTTP_ACCEPT_ENCODING
- 'gzip,deflate,sdch'
- Settings
- Using settings module noc.settings
- Setting Value
- FORCE_LOWERCASE_TAGS
- False
- USE_L10N
- False
- USE_THOUSAND_SEPARATOR
- False
- CSRF_COOKIE_SECURE
- False
- LANGUAGE_CODE
- 'en-us'
- ROOT_URLCONF
- 'noc.urls'
- LOGIN_URL
- '/main/auth/login/'
- DEFAULT_CHARSET
- 'utf-8'
- STATIC_ROOT
- ''
- TIME_INPUT_FORMATS
- ('%H:%M:%S', '%H:%M')
- NOSQL_DATABASE_USER
- 'noc'
- NOSQL_DATABASE_TEST_NAME
- 'noc_test'
- MESSAGE_STORAGE
- 'django.contrib.messages.storage.session.SessionStorage'
- EMAIL_SUBJECT_PREFIX
- '[Django] '
- SEND_BROKEN_LINK_EMAILS
- False
- URL_VALIDATOR_USER_AGENT
- 'Django/1.4.1 (https://www.djangoproject.com)'
- STATICFILES_FINDERS
- ('django.contrib.staticfiles.finders.FileSystemFinder',
- 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
- SESSION_COOKIE_DOMAIN
- None
- SESSION_COOKIE_NAME
- 'sessionid'
- ADMIN_FOR
- ()
- NOSQL_DATABASE_HOST
- ''
- DATABASES
- {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2',
- 'HOST': '',
- 'NAME': 'noc',
- 'OPTIONS': {},
- 'PASSWORD': u'********************',
- 'PORT': '',
- 'TEST_CHARSET': None,
- 'TEST_COLLATION': None,
- 'TEST_MIRROR': None,
- 'TEST_NAME': 'test_noc',
- 'TIME_ZONE': 'Europe/Kiev',
- 'USER': 'noc'}}
- FILE_UPLOAD_PERMISSIONS
- None
- FILE_UPLOAD_HANDLERS
- ('django.core.files.uploadhandler.MemoryFileUploadHandler',
- 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
- DEFAULT_CONTENT_TYPE
- 'text/html'
- APPEND_SLASH
- True
- FIRST_DAY_OF_WEEK
- 0
- DATABASE_ROUTERS
- []
- YEAR_MONTH_FORMAT
- 'F Y'
- STATICFILES_STORAGE
- 'django.contrib.staticfiles.storage.StaticFilesStorage'
- CACHES
- {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
- 'LOCATION': ''}}
- SERVER_EMAIL
- 'root@localhost'
- SESSION_COOKIE_PATH
- '/'
- CACHE_BACKEND
- 'locmem:///'
- CRASHINFO_LIMIT
- 1000000
- MIDDLEWARE_CLASSES
- ['django.middleware.common.CommonMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.middleware.locale.LocaleMiddleware',
- 'django.contrib.messages.middleware.MessageMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'noc.lib.middleware.HTTPBasicAuthMiddleware',
- 'django.middleware.doc.XViewMiddleware',
- 'django.middleware.transaction.TransactionMiddleware',
- 'noc.lib.middleware.TLSMiddleware']
- USE_I18N
- True
- THOUSAND_SEPARATOR
- ','
- SECRET_KEY
- u'********************'
- LANGUAGE_COOKIE_NAME
- 'django_language'
- FILE_UPLOAD_TEMP_DIR
- None
- TRANSACTIONS_MANAGED
- False
- LOGGING_CONFIG
- 'django.utils.log.dictConfig'
- TEMPLATE_LOADERS
- ['django.template.loaders.filesystem.Loader',
- 'django.template.loaders.app_directories.Loader']
- NOSQL_DATABASE_PASSWORD
- u'********************'
- WSGI_APPLICATION
- None
- TEMPLATE_DEBUG
- 'false'
- X_FRAME_OPTIONS
- 'SAMEORIGIN'
- AUTHENTICATION_BACKENDS
- ('django.contrib.auth.backends.ModelBackend',)
- FORCE_SCRIPT_NAME
- ''
- NOSQL_DATABASE_NAME
- 'noc'
- SIGNING_BACKEND
- 'django.core.signing.TimestampSigner'
- USE_X_FORWARDED_HOST
- False
- SESSION_COOKIE_SECURE
- False
- CSRF_COOKIE_DOMAIN
- None
- FILE_CHARSET
- 'utf-8'
- DEBUG
- 'false'
- SESSION_FILE_PATH
- None
- DEFAULT_FILE_STORAGE
- 'django.core.files.storage.FileSystemStorage'
- INSTALLED_APPS
- ['django.contrib.auth',
- 'django.contrib.contenttypes',
- 'django.contrib.sessions',
- 'django.contrib.sites',
- 'django.contrib.admin',
- 'django.contrib.messages',
- 'tagging',
- 'south',
- 'noc.main',
- 'noc.gis',
- 'noc.inv',
- 'noc.sa',
- 'noc.fm',
- 'noc.pm',
- 'noc.cm',
- 'noc.ip',
- 'noc.vc',
- 'noc.dns',
- 'noc.peer',
- 'noc.kb']
- LANGUAGES_BIDI
- ('he', 'ar', 'fa')
- DATABASE_ENGINE
- 'postgresql_psycopg2'
- STATICFILES_DIRS
- ()
- PREPEND_WWW
- False
- SECURE_PROXY_SSL_HEADER
- None
- AUTH_PROFILE_MODULE
- 'main.UserProfile'
- SESSION_COOKIE_HTTPONLY
- True
- DEBUG_PROPAGATE_EXCEPTIONS
- False
- NOSQL_DATABASE_PORT
- ''
- MONTH_DAY_FORMAT
- 'F j'
- MANAGERS
- [('mvasilenko', 'mvasilenko@comstar.ua')]
- SESSION_EXPIRE_AT_BROWSER_CLOSE
- False
- SOUTH_TESTS_MIGRATE
- True
- TIME_FORMAT
- 'H:i:s'
- SKIP_SOUTH_TESTS
- True
- 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')
- CSRF_COOKIE_NAME
- 'csrftoken'
- EMAIL_HOST_PASSWORD
- u'********************'
- PASSWORD_RESET_TIMEOUT_DAYS
- u'********************'
- CACHE_MIDDLEWARE_ALIAS
- 'default'
- SESSION_SAVE_EVERY_REQUEST
- False
- ADMIN_MEDIA_PREFIX
- '/media/'
- NUMBER_GROUPING
- 0
- SESSION_ENGINE
- 'mongoengine.django.sessions'
- CSRF_FAILURE_VIEW
- 'django.views.csrf.csrf_failure'
- CSRF_COOKIE_PATH
- '/'
- LOGIN_REDIRECT_URL
- '/accounts/profile/'
- LOGGING
- {'disable_existing_loggers': False,
- 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}},
- 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
- 'filters': ['require_debug_false'],
- 'level': 'ERROR'}},
- 'loggers': {'django.request': {'handlers': ['mail_admins'],
- 'level': 'ERROR',
- 'propagate': True}},
- 'version': 1}
- IGNORABLE_404_URLS
- ()
- LOCALE_PATHS
- ()
- TEMPLATE_STRING_IF_INVALID
- ''
- IS_TEST
- False
- COMMENTS_ALLOW_PROFANITIES
- False
- LOGOUT_URL
- '/accounts/logout/'
- EMAIL_USE_TLS
- False
- FIXTURE_DIRS
- ()
- EMAIL_HOST
- 'localhost'
- DATE_FORMAT
- 'd.m.Y'
- MEDIA_ROOT
- ''
- DEFAULT_EXCEPTION_REPORTER_FILTER
- 'django.views.debug.SafeExceptionReporterFilter'
- ADMINS
- [('mvasilenko', 'mvasilenko@comstar.ua')]
- FORMAT_MODULE_PATH
- None
- DEFAULT_FROM_EMAIL
- 'webmaster@localhost'
- MEDIA_URL
- ''
- DATETIME_FORMAT
- 'd.m.Y H:i:s'
- TEMPLATE_DIRS
- ('local', '.', 'templates')
- SITE_ID
- 1
- DISALLOWED_USER_AGENTS
- ()
- ALLOWED_INCLUDE_ROOTS
- ()
- TEST_FIXED_BEEF_BASE
- None
- DECIMAL_SEPARATOR
- '.'
- SHORT_DATE_FORMAT
- 'm/d/Y'
- TEST_RUNNER
- 'django.test.simple.DjangoTestSuiteRunner'
- CACHE_MIDDLEWARE_KEY_PREFIX
- u'********************'
- TIME_ZONE
- 'Europe/Kiev'
- FILE_UPLOAD_MAX_MEMORY_SIZE
- 2621440
- DATABASE_SUPPORTS_TRANSACTIONS
- True
- EMAIL_BACKEND
- 'django.core.mail.backends.smtp.EmailBackend'
- DEFAULT_TABLESPACE
- ''
- TEMPLATE_CONTEXT_PROCESSORS
- ('django.contrib.auth.context_processors.auth',
- 'django.core.context_processors.debug',
- 'django.core.context_processors.i18n',
- 'django.core.context_processors.media',
- 'django.contrib.messages.context_processors.messages',
- 'noc.lib.app.setup_processor')
- SESSION_COOKIE_AGE
- 1209600
- SETTINGS_MODULE
- 'noc.settings'
- USE_ETAGS
- False
- IS_WEB
- True
- LANGUAGES
- [('en', 'English'), ('ru', 'Russian')]
- DEFAULT_INDEX_TABLESPACE
- ''
- INTERNAL_IPS
- ()
- STATIC_URL
- '/media/'
- EMAIL_PORT
- 25
- USE_TZ
- False
- SHORT_DATETIME_FORMAT
- 'm/d/Y P'
- PASSWORD_HASHERS
- u'********************'
- ABSOLUTE_URL_OVERRIDES
- {}
- CACHE_MIDDLEWARE_SECONDS
- 600
- DATETIME_INPUT_FORMATS
- ('%Y-%m-%d %H:%M:%S',
- '%Y-%m-%d %H:%M:%S.%f',
- '%Y-%m-%d %H:%M',
- '%Y-%m-%d',
- '%m/%d/%Y %H:%M:%S',
- '%m/%d/%Y %H:%M:%S.%f',
- '%m/%d/%Y %H:%M',
- '%m/%d/%Y',
- '%m/%d/%y %H:%M:%S',
- '%m/%d/%y %H:%M:%S.%f',
- '%m/%d/%y %H:%M',
- '%m/%d/%y')
- EMAIL_HOST_USER
- ''
- PROFANITIES_LIST
- u'********************'
- 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement