(2019, "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/)")
Request Method: | GET |
---|---|
Request URL: | http://l-bags.ru/sovets/ |
Exception Type: | OperationalError |
Exception Value: | (2019, "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/)") |
Exception Location: | /usr/lib64/python2.7/site-packages/MySQLdb/connections.py in set_character_set, line 312 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.5 |
Python Path: | ['/home/users/b/bags/django/bags', '/home/users/b/bags/distrib/Django-1.1.1', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/home/users/b/bags/.local/lib/python2.7/site-packages', '/usr/lib64/python2.7/site-packages', '/usr/lib/python2.7/site-packages'] |
Server time: | Втр, 19 Мар 2024 07:31:44 +0300 |
/home/users/b/bags/distrib/Django-1.1.1/django/core/handlers/base.py
in get_response
Variable | Value |
---|---|
callback | <function sovet at 0x7f0652a3bd70> |
callback_args | () |
callback_kwargs | {} |
e | OperationalError(2019, "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/)") |
exc_info | (<class '_mysql_exceptions.OperationalError'>,
OperationalError(2019, "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/)"),
<traceback object at 0x7f0652a6dcf8>) |
exceptions | <module 'django.core.exceptions' from '/home/users/b/bags/distrib/Django-1.1.1/django/core/exceptions.pyc'> |
middleware_method | <bound method AuthenticationMiddleware.process_request of <django.contrib.auth.middleware.AuthenticationMiddleware object at 0x7f0654848d10>> |
receivers | [(<function _rollback_on_exception at 0x7f0653fe99b0>, None)] |
request | <WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTEXT_DOCUMENT_ROOT': '/home/users/b/bags/domains/l-bags.ru',
'CONTEXT_PREFIX': '',
'DOCUMENT_ROOT': '/home/users/b/bags/domains/l-bags.ru',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': '*/*',
'HTTP_CONNECTION': 'close',
'HTTP_HOST': 'l-bags.ru',
'HTTP_USER_AGENT': 'claudebot',
'HTTP_X_FORWARDED_PROTO': 'http',
'HTTP_X_FORWARDED_PROTOCOL': 'http',
'HTTP_X_PROTOCOL': 'HTTP/1.1',
'HTTP_X_REAL_IP': '54.84.65.73',
'HTTP_X_SERVER_IP': '81.177.140.53',
'PATH_INFO': u'/sovets/',
'PATH_TRANSLATED': 'redirect:/django.wsgi/sovets//',
'QUERY_STRING': '',
'REDIRECT_STATUS': '200',
'REDIRECT_URL': '/sovets/',
'REDIRECT_downgrade-1.0': '',
'REDIRECT_suppress-error-charset': '',
'REMOTE_ADDR': '54.84.65.73',
'REMOTE_PORT': '41248',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/sovets/',
'SCRIPT_FILENAME': '/home/users/b/bags/domains/l-bags.ru/django.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '81.177.140.53',
'SERVER_ADMIN': 'info@jino.ru',
'SERVER_NAME': 'l-bags.ru',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.0',
'SERVER_SIGNATURE': '',
'SERVER_SOFTWARE': 'Apache',
'downgrade-1.0': '',
'mod_wsgi.application_group': 'l-bags.ru|/django.wsgi',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': '',
'mod_wsgi.queue_start': '1710822703669222',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 5),
'suppress-error-charset': '',
'wsgi.errors': <mod_wsgi.Log object at 0x7f06548c81b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f06548cd468>,
'wsgi.input': <mod_wsgi.Input object at 0x7f06548c8130>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
resolver | <RegexURLResolver urls (None:None) ^/> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f0654b46cd0> |
settings | <django.conf.LazySettings object at 0x7f0654b8c610> |
urlconf | 'urls' |
urlresolvers | <module 'django.core.urlresolvers' from '/home/users/b/bags/distrib/Django-1.1.1/django/core/urlresolvers.pyc'> |
/home/users/b/bags/django/bags/apps/sovets/views.py
in sovet
Variable | Value |
---|---|
paginator | <django.core.paginator.Paginator object at 0x7f0652a4c750> |
request | <WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTEXT_DOCUMENT_ROOT': '/home/users/b/bags/domains/l-bags.ru',
'CONTEXT_PREFIX': '',
'DOCUMENT_ROOT': '/home/users/b/bags/domains/l-bags.ru',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': '*/*',
'HTTP_CONNECTION': 'close',
'HTTP_HOST': 'l-bags.ru',
'HTTP_USER_AGENT': 'claudebot',
'HTTP_X_FORWARDED_PROTO': 'http',
'HTTP_X_FORWARDED_PROTOCOL': 'http',
'HTTP_X_PROTOCOL': 'HTTP/1.1',
'HTTP_X_REAL_IP': '54.84.65.73',
'HTTP_X_SERVER_IP': '81.177.140.53',
'PATH_INFO': u'/sovets/',
'PATH_TRANSLATED': 'redirect:/django.wsgi/sovets//',
'QUERY_STRING': '',
'REDIRECT_STATUS': '200',
'REDIRECT_URL': '/sovets/',
'REDIRECT_downgrade-1.0': '',
'REDIRECT_suppress-error-charset': '',
'REMOTE_ADDR': '54.84.65.73',
'REMOTE_PORT': '41248',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/sovets/',
'SCRIPT_FILENAME': '/home/users/b/bags/domains/l-bags.ru/django.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '81.177.140.53',
'SERVER_ADMIN': 'info@jino.ru',
'SERVER_NAME': 'l-bags.ru',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.0',
'SERVER_SIGNATURE': '',
'SERVER_SOFTWARE': 'Apache',
'downgrade-1.0': '',
'mod_wsgi.application_group': 'l-bags.ru|/django.wsgi',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': '',
'mod_wsgi.queue_start': '1710822703669222',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 5),
'suppress-error-charset': '',
'wsgi.errors': <mod_wsgi.Log object at 0x7f06548c81b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f06548cd468>,
'wsgi.input': <mod_wsgi.Input object at 0x7f06548c8130>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
sovet_list | Error in formatting: (2019, "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/)") |
/home/users/b/bags/distrib/Django-1.1.1/django/core/paginator.py
in page
Variable | Value |
---|---|
number | '1' |
self | <django.core.paginator.Paginator object at 0x7f0652a4c750> |
/home/users/b/bags/distrib/Django-1.1.1/django/core/paginator.py
in validate_number
Variable | Value |
---|---|
number | 1 |
self | <django.core.paginator.Paginator object at 0x7f0652a4c750> |
/home/users/b/bags/distrib/Django-1.1.1/django/core/paginator.py
in _get_num_pages
Variable | Value |
---|---|
self | <django.core.paginator.Paginator object at 0x7f0652a4c750> |
/home/users/b/bags/distrib/Django-1.1.1/django/core/paginator.py
in _get_count
Variable | Value |
---|---|
self | <django.core.paginator.Paginator object at 0x7f0652a4c750> |
/home/users/b/bags/distrib/Django-1.1.1/django/db/models/query.py
in count
Variable | Value |
---|---|
self | Error in formatting: (2019, "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/)") |
/home/users/b/bags/distrib/Django-1.1.1/django/db/models/sql/query.py
in get_count
Variable | Value |
---|---|
obj | <django.db.models.sql.query.BaseQuery object at 0x7f0652a4c850> |
self | <django.db.models.sql.query.BaseQuery object at 0x7f0652a582d0> |
/home/users/b/bags/distrib/Django-1.1.1/django/db/models/sql/query.py
in get_aggregation
Variable | Value |
---|---|
query | <django.db.models.sql.query.BaseQuery object at 0x7f0652a4c850> |
self | <django.db.models.sql.query.BaseQuery object at 0x7f0652a4c850> |
/home/users/b/bags/distrib/Django-1.1.1/django/db/models/sql/query.py
in execute_sql
Variable | Value |
---|---|
params | () |
result_type | 'single' |
self | <django.db.models.sql.query.BaseQuery object at 0x7f0652a4c850> |
sql | 'SELECT COUNT(*) FROM `sovets_sovet`' |
/home/users/b/bags/distrib/Django-1.1.1/django/db/backends/__init__.py
in cursor
Variable | Value |
---|---|
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f065408f668> |
settings | <django.conf.LazySettings object at 0x7f0654b8c610> |
/home/users/b/bags/distrib/Django-1.1.1/django/db/backends/mysql/base.py
in _cursor
Variable | Value |
---|---|
kwargs | {'charset': 'utf8',
'client_flag': 2,
'conv': {0: <function typecast_decimal at 0x7f065486a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065486fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065486fcf8>,
11: <function typecast_time at 0x7f0654852e60>,
12: <function DateTime_or_None at 0x7f065486fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065486a050>,
248: <function Str2Set at 0x7f0654880320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f0654880758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065486fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065486fd70>,
<type 'bool'>: <function Bool2Str at 0x7f06548802a8>,
<type 'instance'>: <function Instance2Str at 0x7f0654880668>,
<type 'float'>: <function Float2Str at 0x7f0654880500>,
<type 'int'>: <function Thing2Str at 0x7f0654880410>,
<type 'list'>: <function quote_tuple at 0x7f06548807d0>,
<type 'long'>: <function Thing2Str at 0x7f0654880410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f0654880578>,
<type 'set'>: <function Set2Str at 0x7f0654880398>,
<type 'str'>: <function Thing2Literal at 0x7f06548805f0>,
<type 'tuple'>: <function quote_tuple at 0x7f06548807d0>,
<type 'object'>: <function Instance2Str at 0x7f0654880668>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654880488>},
'db': 'bags',
'host': '127.0.0.1',
'passwd': '83804321289',
'use_unicode': True,
'user': 'bags'} |
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f065408f668> |
settings_dict | {'DATABASE_HOST': '127.0.0.1',
'DATABASE_NAME': 'bags',
'DATABASE_OPTIONS': {},
'DATABASE_PASSWORD': '83804321289',
'DATABASE_PORT': '',
'DATABASE_USER': 'bags',
'TIME_ZONE': 'Europe/Moscow'} |
/usr/lib64/python2.7/site-packages/MySQLdb/__init__.py
in Connect
Variable | Value |
---|---|
Connection | <class 'MySQLdb.connections.Connection'> |
args | () |
kwargs | {'charset': 'utf8',
'client_flag': 2,
'conv': {0: <function typecast_decimal at 0x7f065486a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065486fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065486fcf8>,
11: <function typecast_time at 0x7f0654852e60>,
12: <function DateTime_or_None at 0x7f065486fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065486a050>,
248: <function Str2Set at 0x7f0654880320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f0654880758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065486fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065486fd70>,
<type 'bool'>: <function Bool2Str at 0x7f06548802a8>,
<type 'instance'>: <function Instance2Str at 0x7f0654880668>,
<type 'float'>: <function Float2Str at 0x7f0654880500>,
<type 'int'>: <function Thing2Str at 0x7f0654880410>,
<type 'list'>: <function quote_tuple at 0x7f06548807d0>,
<type 'long'>: <function Thing2Str at 0x7f0654880410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f0654880578>,
<type 'set'>: <function Set2Str at 0x7f0654880398>,
<type 'str'>: <function Thing2Literal at 0x7f06548805f0>,
<type 'tuple'>: <function quote_tuple at 0x7f06548807d0>,
<type 'object'>: <function Instance2Str at 0x7f0654880668>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654880488>},
'db': 'bags',
'host': '127.0.0.1',
'passwd': '83804321289',
'use_unicode': True,
'user': 'bags'} |
/usr/lib64/python2.7/site-packages/MySQLdb/connections.py
in __init__
Variable | Value |
---|---|
CLIENT | <module 'MySQLdb.constants.CLIENT' from '/usr/lib64/python2.7/site-packages/MySQLdb/constants/CLIENT.pyc'> |
FIELD_TYPE | <module 'MySQLdb.constants.FIELD_TYPE' from '/usr/lib64/python2.7/site-packages/MySQLdb/constants/FIELD_TYPE.pyc'> |
_get_string_decoder | <function _get_string_decoder at 0x7f0652a640c8> |
_get_string_literal | <function _get_string_literal at 0x7f0652a77aa0> |
_get_unicode_literal | <function _get_unicode_literal at 0x7f0652a64050> |
args | () |
autocommit | False |
charset | 'utf8' |
client_flag | 196610 |
client_version | (10, 1) |
conv | {0: <function typecast_decimal at 0x7f065486a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065486fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065486fcf8>,
11: <function typecast_time at 0x7f0654852e60>,
12: <function DateTime_or_None at 0x7f065486fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065486a050>,
248: <function Str2Set at 0x7f0654880320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f0654880758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065486fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065486fd70>,
<type 'bool'>: <function Bool2Str at 0x7f06548802a8>,
<type 'instance'>: <function Instance2Str at 0x7f0654880668>,
<type 'float'>: <function Float2Str at 0x7f0654880500>,
<type 'int'>: <function Thing2Str at 0x7f0654880410>,
<type 'list'>: <function quote_tuple at 0x7f06548807d0>,
<type 'long'>: <function Thing2Str at 0x7f0654880410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f0654880578>,
<type 'set'>: <function Set2Str at 0x7f0654880398>,
<type 'str'>: <function Thing2Literal at 0x7f06548805f0>,
<type 'tuple'>: <function quote_tuple at 0x7f06548807d0>,
<type 'object'>: <function Instance2Str at 0x7f0654880668>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654880488>} |
conv2 | {0: <function typecast_decimal at 0x7f065486a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065486fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065486fcf8>,
11: <function typecast_time at 0x7f0654852e60>,
12: <function DateTime_or_None at 0x7f065486fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065486a050>,
248: <function Str2Set at 0x7f0654880320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f0654880758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065486fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065486fd70>,
<type 'bool'>: <function Bool2Str at 0x7f06548802a8>,
<type 'instance'>: <function Instance2Str at 0x7f0654880668>,
<type 'float'>: <function Float2Str at 0x7f0654880500>,
<type 'int'>: <function Thing2Str at 0x7f0654880410>,
<type 'list'>: <function quote_tuple at 0x7f06548807d0>,
<type 'long'>: <function Thing2Str at 0x7f0654880410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f0654880578>,
<type 'set'>: <function Set2Str at 0x7f0654880398>,
<type 'str'>: <function Thing2Literal at 0x7f06548805f0>,
<type 'tuple'>: <function quote_tuple at 0x7f06548807d0>,
<type 'object'>: <function Instance2Str at 0x7f0654880668>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654880488>} |
conversions | {0: <class 'decimal.Decimal'>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065486fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065486fcf8>,
11: <function TimeDelta_or_None at 0x7f065486fc08>,
12: <function DateTime_or_None at 0x7f065486fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <class 'decimal.Decimal'>,
248: <function Str2Set at 0x7f0654880320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f0654880758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065486fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065486fd70>,
<type 'bool'>: <function Bool2Str at 0x7f06548802a8>,
<type 'instance'>: <function Instance2Str at 0x7f0654880668>,
<type 'float'>: <function Float2Str at 0x7f0654880500>,
<type 'int'>: <function Thing2Str at 0x7f0654880410>,
<type 'list'>: <function quote_tuple at 0x7f06548807d0>,
<type 'long'>: <function Thing2Str at 0x7f0654880410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f0654880578>,
<type 'set'>: <function Set2Str at 0x7f0654880398>,
<type 'str'>: <function Thing2Literal at 0x7f06548805f0>,
<type 'tuple'>: <function quote_tuple at 0x7f06548807d0>,
<type 'object'>: <function Instance2Str at 0x7f0654880668>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654880488>} |
cursorclass | <class 'MySQLdb.cursors.Cursor'> |
db | <weakproxy at 0x7f0652a5a4c8 to Connection at 0x41741a0> |
k | 254 |
kwargs | {'charset': 'utf8',
'client_flag': 2,
'conv': {0: <function typecast_decimal at 0x7f065486a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065486fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065486fcf8>,
11: <function typecast_time at 0x7f0654852e60>,
12: <function DateTime_or_None at 0x7f065486fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065486a050>,
248: <function Str2Set at 0x7f0654880320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f0654880758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065486fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065486fd70>,
<type 'bool'>: <function Bool2Str at 0x7f06548802a8>,
<type 'instance'>: <function Instance2Str at 0x7f0654880668>,
<type 'float'>: <function Float2Str at 0x7f0654880500>,
<type 'int'>: <function Thing2Str at 0x7f0654880410>,
<type 'list'>: <function quote_tuple at 0x7f06548807d0>,
<type 'long'>: <function Thing2Str at 0x7f0654880410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f0654880578>,
<type 'set'>: <function Set2Str at 0x7f0654880398>,
<type 'str'>: <function Thing2Literal at 0x7f06548805f0>,
<type 'tuple'>: <function quote_tuple at 0x7f06548807d0>,
<type 'object'>: <function Instance2Str at 0x7f0654880668>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654880488>},
'db': 'bags',
'host': '127.0.0.1',
'passwd': '83804321289',
'use_unicode': True,
'user': 'bags'} |
kwargs2 | {'client_flag': 196610,
'conv': {0: <function typecast_decimal at 0x7f065486a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065486fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065486fcf8>,
11: <function typecast_time at 0x7f0654852e60>,
12: <function DateTime_or_None at 0x7f065486fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065486a050>,
248: <function Str2Set at 0x7f0654880320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f0654880758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065486fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065486fd70>,
<type 'bool'>: <function Bool2Str at 0x7f06548802a8>,
<type 'instance'>: <function Instance2Str at 0x7f0654880668>,
<type 'float'>: <function Float2Str at 0x7f0654880500>,
<type 'int'>: <function Thing2Str at 0x7f0654880410>,
<type 'list'>: <function quote_tuple at 0x7f06548807d0>,
<type 'long'>: <function Thing2Str at 0x7f0654880410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f0654880578>,
<type 'set'>: <function Set2Str at 0x7f0654880398>,
<type 'str'>: <function Thing2Literal at 0x7f06548805f0>,
<type 'tuple'>: <function quote_tuple at 0x7f06548807d0>,
<type 'object'>: <function Instance2Str at 0x7f0654880668>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654880488>},
'db': 'bags',
'host': '127.0.0.1',
'passwd': '83804321289',
'user': 'bags'} |
n | '5' |
proxy | <built-in function proxy> |
self | <_mysql.connection open to '127.0.0.1' at 41741a0> |
sql_mode | '' |
string_decoder | <function string_decoder at 0x7f0652a64230> |
string_literal | <function string_literal at 0x7f0652a64140> |
unicode_literal | <function unicode_literal at 0x7f0652a641b8> |
use_unicode | True |
v | [(128, <type 'str'>)] |
/usr/lib64/python2.7/site-packages/MySQLdb/connections.py
in set_character_set
Variable | Value |
---|---|
charset | 'utf8' |
py_charset | 'utf8' |
self | <_mysql.connection open to '127.0.0.1' at 41741a0> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/home/users/b/bags/domains/l-bags.ru' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/home/users/b/bags/domains/l-bags.ru' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'l-bags.ru' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_PROTO | 'http' |
HTTP_X_FORWARDED_PROTOCOL | 'http' |
HTTP_X_PROTOCOL | 'HTTP/1.1' |
HTTP_X_REAL_IP | '54.84.65.73' |
HTTP_X_SERVER_IP | '81.177.140.53' |
PATH_INFO | u'/sovets/' |
PATH_TRANSLATED | 'redirect:/django.wsgi/sovets//' |
QUERY_STRING | '' |
REDIRECT_STATUS | '200' |
REDIRECT_URL | '/sovets/' |
REDIRECT_downgrade-1.0 | '' |
REDIRECT_suppress-error-charset | '' |
REMOTE_ADDR | '54.84.65.73' |
REMOTE_PORT | '41248' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'http' |
REQUEST_URI | '/sovets/' |
SCRIPT_FILENAME | '/home/users/b/bags/domains/l-bags.ru/django.wsgi' |
SCRIPT_NAME | u'' |
SERVER_ADDR | '81.177.140.53' |
SERVER_ADMIN | 'info@jino.ru' |
SERVER_NAME | 'l-bags.ru' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SIGNATURE | '' |
SERVER_SOFTWARE | 'Apache' |
downgrade-1.0 | '' |
mod_wsgi.application_group | 'l-bags.ru|/django.wsgi' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.input_chunked | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '80' |
mod_wsgi.process_group | '' |
mod_wsgi.queue_start | '1710822703669222' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.version | (3, 5) |
suppress-error-charset | '' |
wsgi.errors | <mod_wsgi.Log object at 0x7f06548c81b0> |
wsgi.file_wrapper | <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f06548cd468> |
wsgi.input | <mod_wsgi.Input object at 0x7f06548c8130> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | () |
ADMIN_FOR | () |
ADMIN_MEDIA_PREFIX | '/media/admin/' |
ALLOWED_INCLUDE_ROOTS | () |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
AUTH_USER_EMAIL_UNIQUE | True |
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 |
DATABASE_ENGINE | 'mysql' |
DATABASE_HOST | '127.0.0.1' |
DATABASE_NAME | 'bags' |
DATABASE_OPTIONS | {} |
DATABASE_PASSWORD | '********************' |
DATABASE_PORT | '' |
DATABASE_USER | 'bags' |
DATETIME_FORMAT | 'N j, Y, P' |
DATE_FORMAT | 'N j, Y' |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'kotizay@l-bags.ru' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | () |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'kotizay@l-bags.ru' |
EMAIL_PORT | '' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_USE_TLS | False |
FILEBROWSER_PATH_FILEBROWSER_MEDIA | '/home/users/b/bags/django/bags/media/filebrowser' |
FILEBROWSER_PATH_SERVE | '/home/users/b/bags/django/bags/media/uploads' |
FILEBROWSER_URL_FILEBROWSER_MEDIA | '/media/filebrowser/' |
FILEBROWSER_URL_TINYMCE | '/media/tiny_mce/' |
FILEBROWSER_URL_WWW | '/media/uploads/' |
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 |
FIXTURE_DIRS | () |
FORCE_SCRIPT_NAME | 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',
'django.contrib.admin',
'filebrowser',
'apps.categories',
'apps.sovets',
'apps.light',
'autoslug',
'apps.sitemap',
'apps.main',
'apps.articles',
'apps.archive',
'captcha'] |
INTERNAL_IPS | () |
LANGUAGES | (('ar', 'Arabic'),
('bn', 'Bengali'),
('bg', 'Bulgarian'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('es', 'Spanish'),
('et', 'Estonian'),
('es-ar', 'Argentinean Spanish'),
('eu', 'Basque'),
('fa', 'Persian'),
('fi', 'Finnish'),
('fr', 'French'),
('ga', 'Irish'),
('gl', 'Galician'),
('hu', 'Hungarian'),
('he', 'Hebrew'),
('hi', 'Hindi'),
('hr', 'Croatian'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('ko', 'Korean'),
('km', 'Khmer'),
('kn', 'Kannada'),
('lv', 'Latvian'),
('lt', 'Lithuanian'),
('mk', 'Macedonian'),
('nl', 'Dutch'),
('no', 'Norwegian'),
('pl', 'Polish'),
('pt', 'Portuguese'),
('pt-br', 'Brazilian Portuguese'),
('ro', 'Romanian'),
('ru', 'Russian'),
('sk', 'Slovak'),
('sl', 'Slovenian'),
('sr', 'Serbian'),
('sv', 'Swedish'),
('ta', 'Tamil'),
('te', 'Telugu'),
('th', 'Thai'),
('tr', 'Turkish'),
('uk', 'Ukrainian'),
('zh-cn', 'Simplified Chinese'),
('zh-tw', 'Traditional Chinese')) |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
LANGUAGE_CODE | 'ru' |
LANGUAGE_COOKIE_NAME | 'django_language' |
LOCALE_PATHS | () |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_URL | '/accounts/logout/' |
MANAGERS | () |
MEDIA_ROOT | '/home/users/b/bags/django/bags/media' |
MEDIA_URL | '/media/' |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware') |
MONTH_DAY_FORMAT | 'F j' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROFANITIES_LIST | '********************' |
PROJECT_ROOT | '/home/users/b/bags/django/bags' |
ROOT_URLCONF | '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 | 'settings' |
SITE_ID | 1 |
TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media') |
TEMPLATE_DEBUG | True |
TEMPLATE_DIRS | ('/home/users/b/bags/django/bags/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.run_tests' |
TIME_FORMAT | 'P' |
TIME_ZONE | 'Europe/Moscow' |
TRANSACTIONS_MANAGED | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.1.1 (http://www.djangoproject.com)' |
USE_ETAGS | False |
USE_I18N | True |
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.