(2019, "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/)")
Request Method: | GET |
---|---|
Request URL: | http://l-bags.ru/articles/135/ |
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: | Чтв, 28 Мар 2024 22:05:47 +0300 |
/home/users/b/bags/distrib/Django-1.1.1/django/core/handlers/base.py
in get_response
Variable | Value |
---|---|
callback | <function details at 0x7f065290a8c0> |
callback_args | () |
callback_kwargs | {'tlug': u'135'} |
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 0x7f0652605290>) |
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 0x7f06546f9d10>> |
receivers | [(<function _rollback_on_exception at 0x7f0653e999b0>, 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.206.160.129',
'HTTP_X_SERVER_IP': '81.177.140.53',
'PATH_INFO': u'/articles/135/',
'PATH_TRANSLATED': 'redirect:/django.wsgi/articles/135//135/',
'QUERY_STRING': '',
'REDIRECT_STATUS': '200',
'REDIRECT_URL': '/articles/135/',
'REDIRECT_downgrade-1.0': '',
'REDIRECT_suppress-error-charset': '',
'REMOTE_ADDR': '18.206.160.129',
'REMOTE_PORT': '51262',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/articles/135/',
'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': '1711652747140989',
'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 0x7f06547781b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f065477d468>,
'wsgi.input': <mod_wsgi.Input object at 0x7f0654778130>,
'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 0x7f06549f6cd0> |
settings | <django.conf.LazySettings object at 0x7f0654a3c610> |
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/articles/views.py
in details
Variable | Value |
---|---|
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.206.160.129',
'HTTP_X_SERVER_IP': '81.177.140.53',
'PATH_INFO': u'/articles/135/',
'PATH_TRANSLATED': 'redirect:/django.wsgi/articles/135//135/',
'QUERY_STRING': '',
'REDIRECT_STATUS': '200',
'REDIRECT_URL': '/articles/135/',
'REDIRECT_downgrade-1.0': '',
'REDIRECT_suppress-error-charset': '',
'REMOTE_ADDR': '18.206.160.129',
'REMOTE_PORT': '51262',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/articles/135/',
'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': '1711652747140989',
'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 0x7f06547781b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f065477d468>,
'wsgi.input': <mod_wsgi.Input object at 0x7f0654778130>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
tlug | u'135' |
/home/users/b/bags/distrib/Django-1.1.1/django/shortcuts/__init__.py
in get_object_or_404
Variable | Value |
---|---|
args | () |
klass | <class 'apps.articles.models.Article'> |
kwargs | {'tlug': u'135'} |
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 | {'tlug': u'135'} |
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 | 17 |
extra_select | [] |
fields | [<django.db.models.fields.AutoField object at 0x7f06529f3450>,
<django.db.models.fields.CharField object at 0x7f06529f3610>,
<django.db.models.fields.files.ImageField object at 0x7f06529f3910>,
<django.db.models.fields.files.ImageField object at 0x7f06529f3850>,
<sorl.thumbnail.fields.ImageWithThumbnailsField object at 0x7f06529f3950>,
<django.db.models.fields.BooleanField object at 0x7f06529f3a10>,
<django.db.models.fields.TextField object at 0x7f06529f3a50>,
<django.db.models.fields.TextField object at 0x7f06529f3a90>,
<django.db.models.fields.DateTimeField object at 0x7f06529f3ad0>,
<django.db.models.fields.CharField object at 0x7f06529f3b10>,
<django.db.models.fields.CharField object at 0x7f06529f3b50>,
<django.db.models.fields.TextField object at 0x7f06529f3b90>,
<django.db.models.fields.CharField object at 0x7f06529f3bd0>,
<django.db.models.fields.CharField object at 0x7f06529f3c10>,
<django.db.models.fields.CharField object at 0x7f06529f3c50>,
<django.db.models.fields.CharField object at 0x7f06529f3c90>,
<autoslug.fields.AutoSlugField object at 0x7f06529f3cd0>] |
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 0x7f06529093d0> |
/home/users/b/bags/distrib/Django-1.1.1/django/db/models/sql/query.py
in execute_sql
Variable | Value |
---|---|
params | (u'135',) |
result_type | 'multi' |
self | <django.db.models.sql.query.BaseQuery object at 0x7f06529093d0> |
sql | 'SELECT `articles_article`.`id`, `articles_article`.`title`, `articles_article`.`img_alternative`, `articles_article`.`img_new`, `articles_article`.`image`, `articles_article`.`main`, `articles_article`.`upbanner`, `articles_article`.`lowbanner`, `articles_article`.`pub_date`, `articles_article`.`seo_title`, `articles_article`.`description`, `articles_article`.`text`, `articles_article`.`keywords`, `articles_article`.`author`, `articles_article`.`url_author`, `articles_article`.`chpy`, `articles_article`.`tlug` FROM `articles_article` WHERE `articles_article`.`tlug` = %s ORDER BY `articles_article`.`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 0x7f0653f40668> |
settings | <django.conf.LazySettings object at 0x7f0654a3c610> |
/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 0x7f065471a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065471fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065471fcf8>,
11: <function typecast_time at 0x7f0654702e60>,
12: <function DateTime_or_None at 0x7f065471fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065471a050>,
248: <function Str2Set at 0x7f065472f320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f065472f758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065471fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065471fd70>,
<type 'bool'>: <function Bool2Str at 0x7f065472f2a8>,
<type 'instance'>: <function Instance2Str at 0x7f065472f668>,
<type 'float'>: <function Float2Str at 0x7f065472f500>,
<type 'int'>: <function Thing2Str at 0x7f065472f410>,
<type 'list'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'long'>: <function Thing2Str at 0x7f065472f410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f065472f578>,
<type 'set'>: <function Set2Str at 0x7f065472f398>,
<type 'str'>: <function Thing2Literal at 0x7f065472f5f0>,
<type 'tuple'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'object'>: <function Instance2Str at 0x7f065472f668>,
<type 'unicode'>: <function Unicode2Str at 0x7f065472f488>},
'db': 'bags',
'host': '127.0.0.1',
'passwd': '83804321289',
'use_unicode': True,
'user': 'bags'} |
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f0653f40668> |
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 0x7f065471a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065471fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065471fcf8>,
11: <function typecast_time at 0x7f0654702e60>,
12: <function DateTime_or_None at 0x7f065471fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065471a050>,
248: <function Str2Set at 0x7f065472f320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f065472f758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065471fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065471fd70>,
<type 'bool'>: <function Bool2Str at 0x7f065472f2a8>,
<type 'instance'>: <function Instance2Str at 0x7f065472f668>,
<type 'float'>: <function Float2Str at 0x7f065472f500>,
<type 'int'>: <function Thing2Str at 0x7f065472f410>,
<type 'list'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'long'>: <function Thing2Str at 0x7f065472f410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f065472f578>,
<type 'set'>: <function Set2Str at 0x7f065472f398>,
<type 'str'>: <function Thing2Literal at 0x7f065472f5f0>,
<type 'tuple'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'object'>: <function Instance2Str at 0x7f065472f668>,
<type 'unicode'>: <function Unicode2Str at 0x7f065472f488>},
'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 0x7f0652921320> |
_get_string_literal | <function _get_string_literal at 0x7f0652602cf8> |
_get_unicode_literal | <function _get_unicode_literal at 0x7f06529212a8> |
args | () |
autocommit | False |
charset | 'utf8' |
client_flag | 196610 |
client_version | (10, 1) |
conv | {0: <function typecast_decimal at 0x7f065471a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065471fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065471fcf8>,
11: <function typecast_time at 0x7f0654702e60>,
12: <function DateTime_or_None at 0x7f065471fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065471a050>,
248: <function Str2Set at 0x7f065472f320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f065472f758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065471fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065471fd70>,
<type 'bool'>: <function Bool2Str at 0x7f065472f2a8>,
<type 'instance'>: <function Instance2Str at 0x7f065472f668>,
<type 'float'>: <function Float2Str at 0x7f065472f500>,
<type 'int'>: <function Thing2Str at 0x7f065472f410>,
<type 'list'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'long'>: <function Thing2Str at 0x7f065472f410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f065472f578>,
<type 'set'>: <function Set2Str at 0x7f065472f398>,
<type 'str'>: <function Thing2Literal at 0x7f065472f5f0>,
<type 'tuple'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'object'>: <function Instance2Str at 0x7f065472f668>,
<type 'unicode'>: <function Unicode2Str at 0x7f065472f488>} |
conv2 | {0: <function typecast_decimal at 0x7f065471a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065471fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065471fcf8>,
11: <function typecast_time at 0x7f0654702e60>,
12: <function DateTime_or_None at 0x7f065471fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065471a050>,
248: <function Str2Set at 0x7f065472f320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f065472f758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065471fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065471fd70>,
<type 'bool'>: <function Bool2Str at 0x7f065472f2a8>,
<type 'instance'>: <function Instance2Str at 0x7f065472f668>,
<type 'float'>: <function Float2Str at 0x7f065472f500>,
<type 'int'>: <function Thing2Str at 0x7f065472f410>,
<type 'list'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'long'>: <function Thing2Str at 0x7f065472f410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f065472f578>,
<type 'set'>: <function Set2Str at 0x7f065472f398>,
<type 'str'>: <function Thing2Literal at 0x7f065472f5f0>,
<type 'tuple'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'object'>: <function Instance2Str at 0x7f065472f668>,
<type 'unicode'>: <function Unicode2Str at 0x7f065472f488>} |
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 0x7f065471fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065471fcf8>,
11: <function TimeDelta_or_None at 0x7f065471fc08>,
12: <function DateTime_or_None at 0x7f065471fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <class 'decimal.Decimal'>,
248: <function Str2Set at 0x7f065472f320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f065472f758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065471fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065471fd70>,
<type 'bool'>: <function Bool2Str at 0x7f065472f2a8>,
<type 'instance'>: <function Instance2Str at 0x7f065472f668>,
<type 'float'>: <function Float2Str at 0x7f065472f500>,
<type 'int'>: <function Thing2Str at 0x7f065472f410>,
<type 'list'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'long'>: <function Thing2Str at 0x7f065472f410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f065472f578>,
<type 'set'>: <function Set2Str at 0x7f065472f398>,
<type 'str'>: <function Thing2Literal at 0x7f065472f5f0>,
<type 'tuple'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'object'>: <function Instance2Str at 0x7f065472f668>,
<type 'unicode'>: <function Unicode2Str at 0x7f065472f488>} |
cursorclass | <class 'MySQLdb.cursors.Cursor'> |
db | <weakproxy at 0x7f065290bc00 to Connection at 0x43c2d70> |
k | 254 |
kwargs | {'charset': 'utf8',
'client_flag': 2,
'conv': {0: <function typecast_decimal at 0x7f065471a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065471fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065471fcf8>,
11: <function typecast_time at 0x7f0654702e60>,
12: <function DateTime_or_None at 0x7f065471fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065471a050>,
248: <function Str2Set at 0x7f065472f320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f065472f758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065471fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065471fd70>,
<type 'bool'>: <function Bool2Str at 0x7f065472f2a8>,
<type 'instance'>: <function Instance2Str at 0x7f065472f668>,
<type 'float'>: <function Float2Str at 0x7f065472f500>,
<type 'int'>: <function Thing2Str at 0x7f065472f410>,
<type 'list'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'long'>: <function Thing2Str at 0x7f065472f410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f065472f578>,
<type 'set'>: <function Set2Str at 0x7f065472f398>,
<type 'str'>: <function Thing2Literal at 0x7f065472f5f0>,
<type 'tuple'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'object'>: <function Instance2Str at 0x7f065472f668>,
<type 'unicode'>: <function Unicode2Str at 0x7f065472f488>},
'db': 'bags',
'host': '127.0.0.1',
'passwd': '83804321289',
'use_unicode': True,
'user': 'bags'} |
kwargs2 | {'client_flag': 196610,
'conv': {0: <function typecast_decimal at 0x7f065471a050>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x7f065471fe60>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x7f065471fcf8>,
11: <function typecast_time at 0x7f0654702e60>,
12: <function DateTime_or_None at 0x7f065471fb90>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x7f065471a050>,
248: <function Str2Set at 0x7f065472f320>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<type 'array.array'>: <function array2Str at 0x7f065472f758>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f065471fde8>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x7f065471fd70>,
<type 'bool'>: <function Bool2Str at 0x7f065472f2a8>,
<type 'instance'>: <function Instance2Str at 0x7f065472f668>,
<type 'float'>: <function Float2Str at 0x7f065472f500>,
<type 'int'>: <function Thing2Str at 0x7f065472f410>,
<type 'list'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'long'>: <function Thing2Str at 0x7f065472f410>,
<type 'dict'>: <built-in function escape_dict>,
<type 'NoneType'>: <function None2NULL at 0x7f065472f578>,
<type 'set'>: <function Set2Str at 0x7f065472f398>,
<type 'str'>: <function Thing2Literal at 0x7f065472f5f0>,
<type 'tuple'>: <function quote_tuple at 0x7f065472f7d0>,
<type 'object'>: <function Instance2Str at 0x7f065472f668>,
<type 'unicode'>: <function Unicode2Str at 0x7f065472f488>},
'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 43c2d70> |
sql_mode | '' |
string_decoder | <function string_decoder at 0x7f0652921488> |
string_literal | <function string_literal at 0x7f0652921398> |
unicode_literal | <function unicode_literal at 0x7f0652921410> |
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 43c2d70> |
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.206.160.129' |
HTTP_X_SERVER_IP | '81.177.140.53' |
PATH_INFO | u'/articles/135/' |
PATH_TRANSLATED | 'redirect:/django.wsgi/articles/135//135/' |
QUERY_STRING | '' |
REDIRECT_STATUS | '200' |
REDIRECT_URL | '/articles/135/' |
REDIRECT_downgrade-1.0 | '' |
REDIRECT_suppress-error-charset | '' |
REMOTE_ADDR | '18.206.160.129' |
REMOTE_PORT | '51262' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'http' |
REQUEST_URI | '/articles/135/' |
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 | '1711652747140989' |
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 0x7f06547781b0> |
wsgi.file_wrapper | <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f065477d468> |
wsgi.input | <mod_wsgi.Input object at 0x7f0654778130> |
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.