psu.edu
TemplateSyntaxError at /submit_pub/
Caught OperationalError while rendering: (1045, "Access denied for user 'csx'@'csxcrawlweb01.ist.psu.edu' (using password: YES)")
Request Method:GET
Request URL:http://csxcrawlweb01.ist.psu.edu/submit_pub/
Django Version:1.3
Exception Type:TemplateSyntaxError
Exception Value:
Caught OperationalError while rendering: (1045, "Access denied for user 'csx'@'csxcrawlweb01.ist.psu.edu' (using password: YES)")
Exception Location:/usr/lib64/python2.6/site-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.egg/MySQLdb/connections.py in __init__, line 187
Python Executable:/usr/bin/python
Python Version:2.6.6
Python Path:
['/usr/lib/python2.6/site-packages/stomp', '/usr/lib64/python2.6/site-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.egg', '/usr/lib/python2.6/site-packages/django_simple_captcha-0.3.0-py2.6.egg', '/usr/lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/PIL', '/usr/lib64/python2.6/site-packages/gtk-2.0', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info']
Server time:Wed, 16 Jun 2021 09:11:31 -0400
Template error
In template /var/www/csxcrawl_web/template/submit_pub.htm​, error at line 83
Caught OperationalError while rendering: (1045, "Access denied for user 'csx'@'csxcrawlweb01.ist.psu.edu' (using password: YES)")
73 <table width="678" border="0">
74 <!--<tr>
75 <td width="7%">Url:</td>
76 <td width="93%"><input name="url" type="text" size="80" class="text required url"/></td>
77 </tr>
78
79 <tr>
80 <td>Email:</td>
81 <td><input name="email" type="text" class="text required email" size="80" /></td>
82 </tr>-->
83{{form.as_table}}
84 <tr>
85 <td>&nbsp;</td>
86 <td><input type="submit" name="Submit" value="Submit" /></td>
87 </tr>
88 </table>
89
90</form>
91
92<br />
93
Traceback Switch to copy-and-paste view
/usr/lib/python2.6/site-packages/django/core/handlers/base.py in get_response
response = callback(request, *callback_args, **callback_kwargs)
...
▶ Local vars
/usr/lib/python2.6/site-packages/citeseerx_crawl/main_crawl/submission.py in handle_submission_pub
return render_to_response('submit_pub.htm', data)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/shortcuts/__init__.py in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/loader.py in render_to_string
return t.render(Context(dictionary))
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/base.py in render
return self._render(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/base.py in _render
return self.nodelist.render(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/base.py in render
bits.append(self.render_node(node, context))
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/debug.py in render_node
result = node.render(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/loader_tags.py in render
return compiled_parent._render(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/base.py in _render
return self.nodelist.render(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/base.py in render
bits.append(self.render_node(node, context))
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/debug.py in render_node
result = node.render(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/loader_tags.py in render
result = block.nodelist.render(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/base.py in render
bits.append(self.render_node(node, context))
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/debug.py in render_node
result = node.render(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/debug.py in render
output = self.filter_expression.resolve(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/base.py in resolve
obj = self.var.resolve(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/base.py in resolve
value = self._resolve_lookup(context)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/template/base.py in _resolve_lookup
current = current()
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/forms/forms.py in as_table
errors_on_separate_row = False)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/forms/forms.py in _html_output
'field': unicode(bf),
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/forms/forms.py in __unicode__
return self.as_widget()
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/forms/forms.py in as_widget
return widget.render(name, self.value(), attrs=attrs)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django_simple_captcha-0.3.0-py2.6.egg/captcha/fields.py in render
store = CaptchaStore.objects.create(challenge=challenge,response=response)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/db/models/manager.py in create
return self.get_query_set().create(**kwargs)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/db/models/query.py in create
obj.save(force_insert=True, using=self.db)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django_simple_captcha-0.3.0-py2.6.egg/captcha/models.py in save
super(CaptchaStore,self).save(*args,**kwargs)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/db/models/base.py in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/db/models/base.py in save_base
result = manager._insert(values, return_id=update_pk, using=using)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/db/models/manager.py in _insert
return insert_query(self.model, values, **kwargs)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/db/models/query.py in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py in execute_sql
cursor = self.connection.cursor()
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/db/backends/__init__.py in cursor
cursor = self.make_debug_cursor(self._cursor())
...
▶ Local vars
/usr/lib/python2.6/site-packages/django/db/backends/mysql/base.py in _cursor
self.connection = Database.connect(**kwargs)
...
▶ Local vars
/usr/lib64/python2.6/site-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.egg/MySQLdb/__init__.py in Connect
return Connection(*args, **kwargs)
...
▶ Local vars
/usr/lib64/python2.6/site-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.egg/MySQLdb/connections.py in __init__
super(Connection, self).__init__(*args, **kwargs2)
...
▶ Local vars
Request information
GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
No cookie data
META
VariableValue
mod_wsgi.listener_port
'80'
mod_wsgi.listener_host
''
SERVER_SOFTWARE
'Apache/2.2.15 (Red Hat)'
SCRIPT_NAME
u''
mod_ssl.var_lookup
''
mod_wsgi.handler_script
''
SERVER_SIGNATURE
'<address>Apache/2.2.15 (Red Hat) Server at csxcrawlweb01.ist.psu.edu Port 80</address>\n'
REQUEST_METHOD
'GET'
PATH_INFO
u'/submit_pub/'
SERVER_PROTOCOL
'HTTP/1.1'
QUERY_STRING
''
HTTP_USER_AGENT
'Mozilla/5.0 (Linux; Android 4.2.1; en-us; Nexus 5 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko; googleweblight) Chrome/38.0.1025.166 Mobile Safari/535.19'
HTTP_CONNECTION
'keep-alive'
SERVER_NAME
'csxcrawlweb01.ist.psu.edu'
REMOTE_ADDR
'66.249.83.93'
mod_wsgi.request_handler
'wsgi-script'
wsgi.url_scheme
'http'
PATH_TRANSLATED
'/var/www/csxcrawl_web/wsgi/default.wsgi/submit_pub/'
SERVER_PORT
'80'
wsgi.multiprocess
True
mod_wsgi.input_chunked
'0'
SERVER_ADDR
'130.203.136.88'
DOCUMENT_ROOT
'/var/www/html'
mod_wsgi.process_group
''
SCRIPT_FILENAME
'/var/www/csxcrawl_web/wsgi/default.wsgi'
SERVER_ADMIN
'root@localhost'
wsgi.input
<mod_wsgi.Input object at 0x560023d3e4f0>
HTTP_HOST
'csxcrawlweb01.ist.psu.edu'
mod_ssl.is_https
0
mod_wsgi.callable_object
'application'
wsgi.multithread
False
HTTP_UPGRADE_INSECURE_REQUESTS
'1'
REQUEST_URI
'/submit_pub/'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9'
wsgi.version
(1, 1)
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_X_FORWARDED_FOR
'35.173.234.169'
wsgi.errors
<mod_wsgi.Log object at 0x560023627830>
REMOTE_PORT
'64042'
HTTP_ACCEPT_LANGUAGE
''
mod_wsgi.version
(3, 2)
wsgi.run_once
False
mod_wsgi.application_group
'csxcrawlweb01.ist.psu.edu|'
mod_wsgi.script_reloading
'1'
wsgi.file_wrapper
''
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
Settings
Using settings module citeseerx_crawl.settings
SettingValue
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
LANGUAGE_CODE
'en-us'
ROOT_URLCONF
'citeseerx_crawl.urls'
MANAGERS
()
DEFAULT_CHARSET
'utf-8'
STATIC_ROOT
''
TEST_DATABASE_CHARSET
None
MESSAGE_STORAGE
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
DATABASE_HOST
''
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
SEND_BROKEN_LINK_EMAILS
False
URL_VALIDATOR_USER_AGENT
'Django/1.3 (http://www.djangoproject.com)'
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
COMMENTS_MODERATORS_GROUP
None
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
DATABASES
{'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': 'csxdb02.ist.psu.edu', 'NAME': 'citeseerx_crawl', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/New_York', 'USER': 'csx'}}
TEST_DATABASE_NAME
None
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
'/'
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware')
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
'********************'
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')
TEMPLATE_DEBUG
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
TEST_DATABASE_COLLATION
None
FORCE_SCRIPT_NAME
None
CACHE_BACKEND
'locmem://'
SESSION_COOKIE_SECURE
False
CSRF_COOKIE_DOMAIN
None
FILE_CHARSET
'utf-8'
DEBUG
True
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.databrowse', 'citeseerx_crawl.main_crawl', 'captcha']
LANGUAGES
(('ar', 'Arabic'), ('az', 'Azerbaijani'), ('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'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan 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'), ('pa', 'Punjabi'), ('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'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
DATABASE_ENGINE
''
DATABASE_NAME
''
COMMENTS_FIRST_FEW
0
PREPEND_WWW
False
SESSION_COOKIE_HTTPONLY
False
DATABASE_PORT
''
DEBUG_PROPAGATE_EXCEPTIONS
False
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/accounts/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
TIME_FORMAT
'P'
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
'********************'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
CACHE_MIDDLEWARE_ALIAS
'default'
SESSION_SAVE_EVERY_REQUEST
False
ADMIN_MEDIA_PREFIX
'/media/'
NUMBER_GROUPING
0
SESSION_ENGINE
'django.contrib.sessions.backends.db'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
COMMENTS_SKETCHY_USERS_GROUP
None
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGGING
{'disable_existing_loggers': False, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1}
CACHE_MIDDLEWARE_KEY_PREFIX
''
LOCALE_PATHS
()
TEMPLATE_STRING_IF_INVALID
''
COMMENTS_ALLOW_PROFANITIES
False
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
False
TEMPLATE_DIRS
('/var/www/csxcrawl_web/template',)
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
DATE_FORMAT
'N j, Y'
MEDIA_ROOT
''
ADMINS
()
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'webmaster@localhost'
STATICFILES_DIRS
()
MEDIA_URL
''
DATETIME_FORMAT
'N j, Y, P'
EMAIL_SUBJECT_PREFIX
'[Django] '
SITE_ID
1
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
DECIMAL_SEPARATOR
'.'
SHORT_DATE_FORMAT
'm/d/Y'
DATABASE_USER
''
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
TIME_ZONE
'America/New_York'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
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.core.context_processors.static', 'django.contrib.messages.context_processors.messages')
SESSION_COOKIE_AGE
1209600
SETTINGS_MODULE
'citeseerx_crawl.settings'
USE_ETAGS
False
LANGUAGES_BIDI
('he', 'ar', 'fa')
DEFAULT_INDEX_TABLESPACE
''
INTERNAL_IPS
()
STATIC_URL
None
EMAIL_PORT
25
SHORT_DATETIME_FORMAT
'm/d/Y P'
ABSOLUTE_URL_OVERRIDES
{}
DATABASE_OPTIONS
{}
CACHE_MIDDLEWARE_SECONDS
600
BANNED_IPS
()
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')
DATABASE_PASSWORD
'********************'
ADMIN_FOR
()
COMMENTS_BANNED_USERS_GROUP
None
EMAIL_HOST_USER
''
PROFANITIES_LIST
'********************'
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.