(2019, "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/)")
Request Method: | GET |
---|---|
Request URL: | http://l-bags.ru/sovet/yhod_za_shkolnim_rukzakom/ |
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: | Птн, 29 Мар 2024 04:56:44 +0300 |
/home/users/b/bags/distrib/Django-1.1.1/django/core/handlers/base.py
in get_response
Variable | Value |
---|---|
callback | <function details at 0x7f06528fd668> |
callback_args | () |
callback_kwargs | {'mlug': u'yhod_za_shkolnim_rukzakom'} |
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 0x7f06525f7050>) |
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 0x7f06546ecd10>> |
receivers | [(<function _rollback_on_exception at 0x7f0653e8da28>, 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': '18.208.172.3',
'HTTP_X_SERVER_IP': '81.177.140.53',
'PATH_INFO': u'/sovet/yhod_za_shkolnim_rukzakom/',
'PATH_TRANSLATED': 'redirect:/django.wsgi/sovet/yhod_za_shkolnim_rukzakom//yhod_za_shkolnim_rukzakom/',
'QUERY_STRING': '',
'REDIRECT_STATUS': '200',
'REDIRECT_URL': '/sovet/yhod_za_shkolnim_rukzakom/',
'REDIRECT_downgrade-1.0': '',
'REDIRECT_suppress-error-charset': '',
'REMOTE_ADDR': '18.208.172.3',
'REMOTE_PORT': '40112',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/sovet/yhod_za_shkolnim_rukzakom/',
'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': '1711677403941241',
'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 0x7f065476c1b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f0654771468>,
'wsgi.input': <mod_wsgi.Input object at 0x7f065476c130>,
'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 0x7f06549eacd0> |
settings | <django.conf.LazySettings object at 0x7f0654a30610> |
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 details
Variable | Value |
---|---|
mlug | u'yhod_za_shkolnim_rukzakom' |
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': '18.208.172.3',
'HTTP_X_SERVER_IP': '81.177.140.53',
'PATH_INFO': u'/sovet/yhod_za_shkolnim_rukzakom/',
'PATH_TRANSLATED': 'redirect:/django.wsgi/sovet/yhod_za_shkolnim_rukzakom//yhod_za_shkolnim_rukzakom/',
'QUERY_STRING': '',
'REDIRECT_STATUS': '200',
'REDIRECT_URL': '/sovet/yhod_za_shkolnim_rukzakom/',
'REDIRECT_downgrade-1.0': '',
'REDIRECT_suppress-error-charset': '',
'REMOTE_ADDR': '18.208.172.3',
'REMOTE_PORT': '40112',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/sovet/yhod_za_shkolnim_rukzakom/',
'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': '1711677403941241',
'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 0x7f065476c1b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f0654771468>,
'wsgi.input': <mod_wsgi.Input object at 0x7f065476c130>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
/home/users/b/bags/distrib/Django-1.1.1/django/shortcuts/__init__.py
in get_object_or_404
Variable | Value |
---|---|
args | () |
klass | <class 'apps.sovets.models.Sovet'> |
kwargs | {'mlug': u'yhod_za_shkolnim_rukzakom'} |
queryset | 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/query.py
in get
Variable | Value |
---|---|
args | () |
clone | Error in formatting: (2019, "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/)") |
kwargs | {'mlug': u'yhod_za_shkolnim_rukzakom'} |
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/query.py
in __len__
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/query.py
in iterator
Variable | Value |
---|---|
aggregate_select | [] |
aggregate_start | 15 |
extra_select | [] |
fields | [<django.db.models.fields.AutoField object at 0x7f06529483d0>,
<django.db.models.fields.CharField object at 0x7f0652949f10>,
<django.db.models.fields.files.ImageField object at 0x7f0652949f90>,
<sorl.thumbnail.fields.ImageWithThumbnailsField object at 0x7f0652949fd0>,
<django.db.models.fields.TextField object at 0x7f06529480d0>,
<django.db.models.fields.TextField object at 0x7f0652948110>,
<django.db.models.fields.BooleanField object at 0x7f0652948150>,
<django.db.models.fields.DateTimeField object at 0x7f0652948190>,
<django.db.models.fields.CharField object at 0x7f06529481d0>,
<django.db.models.fields.TextField object at 0x7f0652948210>,
<django.db.models.fields.CharField object at 0x7f0652948250>,
<django.db.models.fields.CharField object at 0x7f0652948290>,
<django.db.models.fields.CharField object at 0x7f06529482d0>,
<django.db.models.fields.CharField object at 0x7f0652948310>,
<autoslug.fields.AutoSlugField object at 0x7f0652948350>] |
fill_cache | False |
index_start | 0 |
load_fields | [] |
max_depth | 5 |
only_load | {} |
pk_idx | 0 |
requested | None |
self | Error in formatting: (2019, "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/)") |
skip | None |
/home/users/b/bags/distrib/Django-1.1.1/django/db/models/sql/query.py
in results_iter
Variable | Value |
---|---|
fields | None |
resolve_columns | False |
self | <django.db.models.sql.query.BaseQuery object at 0x7f06528fc2d0> |
/home/users/b/bags/distrib/Django-1.1.1/django/db/models/sql/query.py
in execute_sql
Variable | Value |
---|---|
params | (u'yhod_za_shkolnim_rukzakom',) |
result_type | 'multi' |
self | <django.db.models.sql.query.BaseQuery object at 0x7f06528fc2d0> |
sql | 'SELECT `sovets_sovet`.`id`, `sovets_sovet`.`title`, `sovets_sovet`.`img_alternative`, `sovets_sovet`.`image`, `sovets_sovet`.`upbanner`, `sovets_sovet`.`lowbanner`, `sovets_sovet`.`main`, `sovets_sovet`.`pub_date`, `sovets_sovet`.`description`, `sovets_sovet`.`text`, `sovets_sovet`.`keywords`, `sovets_sovet`.`author`, `sovets_sovet`.`url_author`, `sovets_sovet`.`chpy`, `sovets_sovet`.`mlug` FROM `sovets_sovet` WHERE `sovets_sovet`.`mlug` = %s ORDER BY `sovets_sovet`.`pub_date` ASC' |
/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 0x7f0653f33668> |
settings | <django.conf.LazySettings object at 0x7f0654a30610> |
/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 0x7f065470e0c8>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f0654714ed8>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f0654714d70>,
11: <function typecast_time at 0x7f06546f6ed8>,
12: <function DateTime_or_None at 0x7f0654714c08>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065470e0c8>,
248: <function Str2Set at 0x7f0654723398>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f06547237d0>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0654714e60>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f0654714de8>,
<type 'bool'>: <function Bool2Str at 0x7f0654723320>,
<type 'instance'>: <function Instance2Str at 0x7f06547236e0>,
<type 'float'>: <function Float2Str at 0x7f0654723578>,
<type 'int'>: <function Thing2Str at 0x7f0654723488>,
<type 'list'>: <function quote_tuple at 0x7f0654723848>,
<type 'long'>: <function Thing2Str at 0x7f0654723488>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f06547235f0>,
<type 'set'>: <function Set2Str at 0x7f0654723410>,
<type 'str'>: <function Thing2Literal at 0x7f0654723668>,
<type 'tuple'>: <function quote_tuple at 0x7f0654723848>,
<type 'object'>: <function Instance2Str at 0x7f06547236e0>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654723500>},
'db': 'bags',
'host': '127.0.0.1',
'passwd': '83804321289',
'use_unicode': True,
'user': 'bags'} |
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f0653f33668> |
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 0x7f065470e0c8>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f0654714ed8>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f0654714d70>,
11: <function typecast_time at 0x7f06546f6ed8>,
12: <function DateTime_or_None at 0x7f0654714c08>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065470e0c8>,
248: <function Str2Set at 0x7f0654723398>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f06547237d0>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0654714e60>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f0654714de8>,
<type 'bool'>: <function Bool2Str at 0x7f0654723320>,
<type 'instance'>: <function Instance2Str at 0x7f06547236e0>,
<type 'float'>: <function Float2Str at 0x7f0654723578>,
<type 'int'>: <function Thing2Str at 0x7f0654723488>,
<type 'list'>: <function quote_tuple at 0x7f0654723848>,
<type 'long'>: <function Thing2Str at 0x7f0654723488>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f06547235f0>,
<type 'set'>: <function Set2Str at 0x7f0654723410>,
<type 'str'>: <function Thing2Literal at 0x7f0654723668>,
<type 'tuple'>: <function quote_tuple at 0x7f0654723848>,
<type 'object'>: <function Instance2Str at 0x7f06547236e0>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654723500>},
'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 0x7f0652913140> |
_get_string_literal | <function _get_string_literal at 0x7f06525f5b18> |
_get_unicode_literal | <function _get_unicode_literal at 0x7f06529130c8> |
args | () |
autocommit | False |
charset | 'utf8' |
client_flag | 196610 |
client_version | (10, 1) |
conv | {0: <function typecast_decimal at 0x7f065470e0c8>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f0654714ed8>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f0654714d70>,
11: <function typecast_time at 0x7f06546f6ed8>,
12: <function DateTime_or_None at 0x7f0654714c08>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065470e0c8>,
248: <function Str2Set at 0x7f0654723398>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f06547237d0>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0654714e60>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f0654714de8>,
<type 'bool'>: <function Bool2Str at 0x7f0654723320>,
<type 'instance'>: <function Instance2Str at 0x7f06547236e0>,
<type 'float'>: <function Float2Str at 0x7f0654723578>,
<type 'int'>: <function Thing2Str at 0x7f0654723488>,
<type 'list'>: <function quote_tuple at 0x7f0654723848>,
<type 'long'>: <function Thing2Str at 0x7f0654723488>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f06547235f0>,
<type 'set'>: <function Set2Str at 0x7f0654723410>,
<type 'str'>: <function Thing2Literal at 0x7f0654723668>,
<type 'tuple'>: <function quote_tuple at 0x7f0654723848>,
<type 'object'>: <function Instance2Str at 0x7f06547236e0>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654723500>} |
conv2 | {0: <function typecast_decimal at 0x7f065470e0c8>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f0654714ed8>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f0654714d70>,
11: <function typecast_time at 0x7f06546f6ed8>,
12: <function DateTime_or_None at 0x7f0654714c08>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065470e0c8>,
248: <function Str2Set at 0x7f0654723398>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f06547237d0>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0654714e60>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f0654714de8>,
<type 'bool'>: <function Bool2Str at 0x7f0654723320>,
<type 'instance'>: <function Instance2Str at 0x7f06547236e0>,
<type 'float'>: <function Float2Str at 0x7f0654723578>,
<type 'int'>: <function Thing2Str at 0x7f0654723488>,
<type 'list'>: <function quote_tuple at 0x7f0654723848>,
<type 'long'>: <function Thing2Str at 0x7f0654723488>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f06547235f0>,
<type 'set'>: <function Set2Str at 0x7f0654723410>,
<type 'str'>: <function Thing2Literal at 0x7f0654723668>,
<type 'tuple'>: <function quote_tuple at 0x7f0654723848>,
<type 'object'>: <function Instance2Str at 0x7f06547236e0>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654723500>} |
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 0x7f0654714ed8>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f0654714d70>,
11: <function TimeDelta_or_None at 0x7f0654714c80>,
12: <function DateTime_or_None at 0x7f0654714c08>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <class 'decimal.Decimal'>,
248: <function Str2Set at 0x7f0654723398>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f06547237d0>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0654714e60>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f0654714de8>,
<type 'bool'>: <function Bool2Str at 0x7f0654723320>,
<type 'instance'>: <function Instance2Str at 0x7f06547236e0>,
<type 'float'>: <function Float2Str at 0x7f0654723578>,
<type 'int'>: <function Thing2Str at 0x7f0654723488>,
<type 'list'>: <function quote_tuple at 0x7f0654723848>,
<type 'long'>: <function Thing2Str at 0x7f0654723488>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f06547235f0>,
<type 'set'>: <function Set2Str at 0x7f0654723410>,
<type 'str'>: <function Thing2Literal at 0x7f0654723668>,
<type 'tuple'>: <function quote_tuple at 0x7f0654723848>,
<type 'object'>: <function Instance2Str at 0x7f06547236e0>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654723500>} |
cursorclass | <class 'MySQLdb.cursors.Cursor'> |
db | <weakproxy at 0x7f06528fea48 to Connection at 0x43d7fe0> |
k | 254 |
kwargs | {'charset': 'utf8',
'client_flag': 2,
'conv': {0: <function typecast_decimal at 0x7f065470e0c8>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f0654714ed8>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f0654714d70>,
11: <function typecast_time at 0x7f06546f6ed8>,
12: <function DateTime_or_None at 0x7f0654714c08>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065470e0c8>,
248: <function Str2Set at 0x7f0654723398>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f06547237d0>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0654714e60>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f0654714de8>,
<type 'bool'>: <function Bool2Str at 0x7f0654723320>,
<type 'instance'>: <function Instance2Str at 0x7f06547236e0>,
<type 'float'>: <function Float2Str at 0x7f0654723578>,
<type 'int'>: <function Thing2Str at 0x7f0654723488>,
<type 'list'>: <function quote_tuple at 0x7f0654723848>,
<type 'long'>: <function Thing2Str at 0x7f0654723488>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f06547235f0>,
<type 'set'>: <function Set2Str at 0x7f0654723410>,
<type 'str'>: <function Thing2Literal at 0x7f0654723668>,
<type 'tuple'>: <function quote_tuple at 0x7f0654723848>,
<type 'object'>: <function Instance2Str at 0x7f06547236e0>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654723500>},
'db': 'bags',
'host': '127.0.0.1',
'passwd': '83804321289',
'use_unicode': True,
'user': 'bags'} |
kwargs2 | {'client_flag': 196610,
'conv': {0: <function typecast_decimal at 0x7f065470e0c8>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f0654714ed8>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f0654714d70>,
11: <function typecast_time at 0x7f06546f6ed8>,
12: <function DateTime_or_None at 0x7f0654714c08>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065470e0c8>,
248: <function Str2Set at 0x7f0654723398>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f06547237d0>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0654714e60>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f0654714de8>,
<type 'bool'>: <function Bool2Str at 0x7f0654723320>,
<type 'instance'>: <function Instance2Str at 0x7f06547236e0>,
<type 'float'>: <function Float2Str at 0x7f0654723578>,
<type 'int'>: <function Thing2Str at 0x7f0654723488>,
<type 'list'>: <function quote_tuple at 0x7f0654723848>,
<type 'long'>: <function Thing2Str at 0x7f0654723488>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f06547235f0>,
<type 'set'>: <function Set2Str at 0x7f0654723410>,
<type 'str'>: <function Thing2Literal at 0x7f0654723668>,
<type 'tuple'>: <function quote_tuple at 0x7f0654723848>,
<type 'object'>: <function Instance2Str at 0x7f06547236e0>,
<type 'unicode'>: <function Unicode2Str at 0x7f0654723500>},
'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 43d7fe0> |
sql_mode | '' |
string_decoder | <function string_decoder at 0x7f06529132a8> |
string_literal | <function string_literal at 0x7f06529131b8> |
unicode_literal | <function unicode_literal at 0x7f0652913230> |
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 43d7fe0> |
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 | '18.208.172.3' |
HTTP_X_SERVER_IP | '81.177.140.53' |
PATH_INFO | u'/sovet/yhod_za_shkolnim_rukzakom/' |
PATH_TRANSLATED | 'redirect:/django.wsgi/sovet/yhod_za_shkolnim_rukzakom//yhod_za_shkolnim_rukzakom/' |
QUERY_STRING | '' |
REDIRECT_STATUS | '200' |
REDIRECT_URL | '/sovet/yhod_za_shkolnim_rukzakom/' |
REDIRECT_downgrade-1.0 | '' |
REDIRECT_suppress-error-charset | '' |
REMOTE_ADDR | '18.208.172.3' |
REMOTE_PORT | '40112' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'http' |
REQUEST_URI | '/sovet/yhod_za_shkolnim_rukzakom/' |
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 | '1711677403941241' |
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 0x7f065476c1b0> |
wsgi.file_wrapper | <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f0654771468> |
wsgi.input | <mod_wsgi.Input object at 0x7f065476c130> |
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.