(2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")
Request Method: | GET |
---|---|
Request URL: | http://daric.com/preregister/ |
Django Version: | 1.4.2 |
Exception Type: | OperationalError |
Exception Value: | (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") |
Exception Location: | /usr/lib/python2.7/dist-packages/MySQLdb/connections.py in __init__, line 187 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.3 |
Python Path: | ['/home/Daric/', '/usr/local/lib/python2.7/dist-packages/South-0.7.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_sct-0.7-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/authorize-0.0.9-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/picalo-4.94-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/zc.blist-1.0b2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/ZODB3-3.10.5-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/zope.testing-4.1.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/zope.event-4.0.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/zdaemon-3.0.4-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/ZConfig-2.9.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/zc.lockfile-1.0.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/transaction-1.3.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/zope.exceptions-4.0.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/mechanize-0.2.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/ZSI-2.1_a1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/docx-0.2.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/paramiko-1.12.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/ecdsa-0.10-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_filter-0.7-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/fuzzywuzzy-0.18.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7'] |
Server time: | Fri, 29 Mar 2024 04:31:33 -0700 |
/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
exceptions | <module 'django.core.exceptions' from '/usr/local/lib/python2.7/dist-packages/django/core/exceptions.pyc'> |
e | OperationalError(2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") |
callback_args | () |
settings | <django.conf.LazySettings object at 0x7f11d4a0c1d0> |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f11d6d1be90>> |
self | <django.core.handlers.modpython.ModPythonHandler object at 0x7f11d49a96d0> |
request | "<ModPythonRequest\npath:/preregister/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'AUTH_TYPE': None,\n 'CONTENT_LENGTH': 0,\n 'CONTENT_TYPE': None,\n 'CSRF_COOKIE': 'qyhXtDruVXbmlp5BQTR7EMcq9Y248bJv',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'daric.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/preregister/',\n 'PATH_TRANSLATED': None,\n 'QUERY_STRING': None,\n 'REMOTE_ADDR': '54.157.35.140',\n 'REMOTE_HOST': None,\n 'REMOTE_IDENT': None,\n 'REMOTE_USER': None,\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': '',\n 'SERVER_NAME': 'ip-10-0-0-173.ec2.internal',\n 'SERVER_PORT': 80,\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'mod_python'}>" |
callback | <function consoleview at 0x7f11d68fdb90> |
resolver | <RegexURLResolver Daric.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {} |
response | None |
urlconf | 'Daric.urls' |
/home/Daric/home/views.py
in consoleview
def consoleview(request):
import json
dictionary = {}
nodeslist = []
nodeslist2 = []
edgeslist = []
bolist = getallubo()...
for node in OwnerEntity.objects.all().order_by('id'):
if node.source_set.all().count() > 0 or node.target_set.all().count() > 0:
if node in bolist:
nodeslist.append({'name':node.firstName + ' (Beneficial Owner)'})
else:
if 'Target Company' in node.description:
Variable | Value |
---|---|
dictionary | {} |
nodeslist | [] |
request | "<ModPythonRequest\npath:/preregister/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'AUTH_TYPE': None,\n 'CONTENT_LENGTH': 0,\n 'CONTENT_TYPE': None,\n 'CSRF_COOKIE': 'qyhXtDruVXbmlp5BQTR7EMcq9Y248bJv',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'daric.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/preregister/',\n 'PATH_TRANSLATED': None,\n 'QUERY_STRING': None,\n 'REMOTE_ADDR': '54.157.35.140',\n 'REMOTE_HOST': None,\n 'REMOTE_IDENT': None,\n 'REMOTE_USER': None,\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': '',\n 'SERVER_NAME': 'ip-10-0-0-173.ec2.internal',\n 'SERVER_PORT': 80,\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'mod_python'}>" |
nodeslist2 | [] |
json | <module 'json' from '/usr/lib/python2.7/json/__init__.pyc'> |
edgeslist | [] |
/home/Daric/home/views.py
in getallubo
def threestepresult(corpentity):
for corp in OwnerRelation.objects.filter(target=corpentity):
if float(corp.directPercentage) >= 0.25 and not corp.source.isCorporation:
return False
return True
def getallubo():
for q in CorpOwnership.objects.all():...
q.directPercentage = 0.0
q.save()
for g in OwnerEntity.objects.filter(isCorporation=True):
updatecorpentities(corpentity=g,percentage=1.0,newentity=g)
q = 1.0
ubolist = []
/usr/local/lib/python2.7/dist-packages/django/db/models/query.py
in _result_iter
upper = len(self._result_cache)
while pos < upper:
yield self._result_cache[pos]
pos = pos + 1
if not self._iter:
raise StopIteration
if len(self._result_cache) <= pos:
self._fill_cache()...
def __nonzero__(self):
if self._prefetch_related_lookups and not self._prefetch_done:
# We need all the results in order to be able to do the prefetch
# in one go. To minimize code duplication, we use the __len__
# code path which also forces this, and also does the prefetch
Variable | Value |
---|---|
upper | 0 |
self | [] |
pos | 0 |
/usr/local/lib/python2.7/dist-packages/django/db/models/query.py
in _fill_cache
"""
Fills the result cache with 'num' more entries (or until the results
iterator is exhausted).
"""
if self._iter:
try:
for i in range(num or ITER_CHUNK_SIZE):
self._result_cache.append(self._iter.next())...
except StopIteration:
self._iter = None
def _next_is_sticky(self):
"""
Indicates that the next filter call and the one following that should
Variable | Value |
---|---|
i | 0 |
self | [] |
num | None |
/usr/local/lib/python2.7/dist-packages/django/db/models/query.py
in iterator
# Cache db and model outside the loop
db = self.db
model = self.model
compiler = self.query.get_compiler(using=db)
if fill_cache:
klass_info = get_klass_info(model, max_depth=max_depth,
requested=requested, only_load=only_load)
for row in compiler.results_iter():...
if fill_cache:
obj, _ = get_cached_row(row, index_start, db, klass_info,
offset=len(aggregate_select))
else:
if skip:
row_data = row[index_start:aggregate_start]
Variable | Value |
---|---|
requested | None |
fill_cache | False |
aggregate_select | [] |
fields | [<django.db.models.fields.AutoField: id>, <django.db.models.fields.related.ForeignKey: corp>, <django.db.models.fields.related.ForeignKey: indiv>, <django.db.models.fields.DecimalField: directPercentage>] |
skip | None |
self | [] |
load_fields | [] |
db | 'default' |
index_start | 0 |
extra_select | [] |
aggregate_start | 4 |
model | <class 'home.models.CorpOwnership'> |
only_load | {} |
max_depth | 5 |
compiler | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f11d6cff3d0> |
/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py
in results_iter
fields = None
has_aggregate_select = bool(self.query.aggregate_select)
# Set transaction dirty if we're using SELECT FOR UPDATE to ensure
# a subsequent commit/rollback is executed, so any database locks
# are released.
if self.query.select_for_update and transaction.is_managed(self.using):
transaction.set_dirty(self.using)
for rows in self.execute_sql(MULTI):...
for row in rows:
if resolve_columns:
if fields is None:
# We only set this up here because
# related_select_fields isn't populated until
# execute_sql() has been called.
Variable | Value |
---|---|
fields | None |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f11d6cff3d0> |
has_aggregate_select | False |
resolve_columns | True |
/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py
in execute_sql
raise EmptyResultSet
except EmptyResultSet:
if result_type == MULTI:
return empty_iter()
else:
return
cursor = self.connection.cursor()...
cursor.execute(sql, params)
if not result_type:
return cursor
if result_type == SINGLE:
if self.query.ordering_aliases:
Variable | Value |
---|---|
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f11d6cff3d0> |
params | () |
result_type | 'multi' |
sql | 'SELECT `home_corpownership`.`id`, `home_corpownership`.`corp_id`, `home_corpownership`.`indiv_id`, `home_corpownership`.`directPercentage` FROM `home_corpownership`' |
/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py
in cursor
self.connection.close()
self.connection = None
def cursor(self):
self.validate_thread_sharing()
if (self.use_debug_cursor or
(self.use_debug_cursor is None and settings.DEBUG)):
cursor = self.make_debug_cursor(self._cursor())...
else:
cursor = util.CursorWrapper(self._cursor(), self)
return cursor
def make_debug_cursor(self, cursor):
return util.CursorDebugWrapper(cursor, self)
Variable | Value |
---|---|
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f11d6d1bf50> |
/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py
in _cursor
kwargs['host'] = settings_dict['HOST']
if settings_dict['PORT']:
kwargs['port'] = int(settings_dict['PORT'])
# We need the number of potentially affected rows after an
# "UPDATE", not the number of changed rows.
kwargs['client_flag'] = CLIENT.FOUND_ROWS
kwargs.update(settings_dict['OPTIONS'])
self.connection = Database.connect(**kwargs)...
self.connection.encoders[SafeUnicode] = self.connection.encoders[unicode]
self.connection.encoders[SafeString] = self.connection.encoders[str]
self.features.uses_savepoints = \
self.get_server_version() >= (5, 0, 3)
connection_created.send(sender=self.__class__, connection=self)
cursor = self.connection.cursor()
Variable | Value |
---|---|
new_connection | True |
settings_dict | {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'daric', 'OPTIONS': {}, 'PASSWORD': 'tattvamasi', 'PORT': '3306', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Los_Angeles', 'USER': 'root'} |
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f11d6d1bf50> |
kwargs | {'charset': 'utf8', 'client_flag': 2, 'conv': {0: <function typecast_decimal at 0x7f11d5107050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f11d51157d0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f11d5115668>, 11: <function typecast_time at 0x7f11d50f4ed8>, 12: <function parse_datetime_with_timezone_support at 0x7f11d512c578>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f11d5107050>, 248: <function Str2Set at 0x7f11d5115c08>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f11d5115758>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7f11d512c410>, <type 'bool'>: <function Bool2Str at 0x7f11d5123140>, <type 'set'>: <function Set2Str at 0x7f11d5115c80>, <type 'object'>: <function Instance2Str at 0x7f11d5115f50>, <type 'NoneType'>: <function None2NULL at 0x7f11d5115e60>, <type 'instance'>: <function Instance2Str at 0x7f11d5115f50>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f11d5115d70>, <type 'str'>: <function Thing2Literal at 0x7f11d5115ed8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f11d5115de8>, <type 'long'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'int'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'array.array'>: <function array2Str at 0x7f11d51230c8>}, 'db': 'daric', 'passwd': 'tattvamasi', 'port': 3306, 'use_unicode': True, 'user': 'root'} |
/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py
in Connect
def Binary(x):
return str(x)
def Connect(*args, **kwargs):
"""Factory function for connections.Connection."""
from connections import Connection
return Connection(*args, **kwargs)...
connect = Connection = Connect
__all__ = [ 'BINARY', 'Binary', 'Connect', 'Connection', 'DATE',
'Date', 'Time', 'Timestamp', 'DateFromTicks', 'TimeFromTicks',
'TimestampFromTicks', 'DataError', 'DatabaseError', 'Error',
Variable | Value |
---|---|
Connection | <class 'MySQLdb.connections.Connection'> |
args | () |
kwargs | {'charset': 'utf8', 'client_flag': 2, 'conv': {0: <function typecast_decimal at 0x7f11d5107050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f11d51157d0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f11d5115668>, 11: <function typecast_time at 0x7f11d50f4ed8>, 12: <function parse_datetime_with_timezone_support at 0x7f11d512c578>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f11d5107050>, 248: <function Str2Set at 0x7f11d5115c08>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f11d5115758>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7f11d512c410>, <type 'bool'>: <function Bool2Str at 0x7f11d5123140>, <type 'set'>: <function Set2Str at 0x7f11d5115c80>, <type 'object'>: <function Instance2Str at 0x7f11d5115f50>, <type 'NoneType'>: <function None2NULL at 0x7f11d5115e60>, <type 'instance'>: <function Instance2Str at 0x7f11d5115f50>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f11d5115d70>, <type 'str'>: <function Thing2Literal at 0x7f11d5115ed8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f11d5115de8>, <type 'long'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'int'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'array.array'>: <function array2Str at 0x7f11d51230c8>}, 'db': 'daric', 'passwd': 'tattvamasi', 'port': 3306, 'use_unicode': True, 'user': 'root'} |
/usr/lib/python2.7/dist-packages/MySQLdb/connections.py
in __init__
if client_version >= (4, 1):
client_flag |= CLIENT.MULTI_STATEMENTS
if client_version >= (5, 0):
client_flag |= CLIENT.MULTI_RESULTS
kwargs2['client_flag'] = client_flag
super(Connection, self).__init__(*args, **kwargs2)...
self.encoders = dict([ (k, v) for k, v in conv.items()
if type(k) is not int ])
self._server_version = tuple([ numeric_part(n) for n in self.get_server_info().split('.')[:2] ])
Variable | Value |
---|---|
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 0x7f11d51157d0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f11d5115668>, 11: <function TimeDelta_or_None at 0x7f11d5115578>, 12: <function DateTime_or_None at 0x7f11d5115500>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <class 'decimal.Decimal'>, 248: <function Str2Set at 0x7f11d5115c08>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f11d5115758>, <type 'datetime.datetime'>: <function DateTime2literal at 0x7f11d51156e0>, <type 'bool'>: <function Bool2Str at 0x7f11d5123140>, <type 'set'>: <function Set2Str at 0x7f11d5115c80>, <type 'object'>: <function Instance2Str at 0x7f11d5115f50>, <type 'NoneType'>: <function None2NULL at 0x7f11d5115e60>, <type 'instance'>: <function Instance2Str at 0x7f11d5115f50>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f11d5115d70>, <type 'str'>: <function Thing2Literal at 0x7f11d5115ed8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f11d5115de8>, <type 'long'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'int'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'array.array'>: <function array2Str at 0x7f11d51230c8>} |
kwargs2 | {'client_flag': 196610, 'conv': {0: <function typecast_decimal at 0x7f11d5107050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f11d51157d0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f11d5115668>, 11: <function typecast_time at 0x7f11d50f4ed8>, 12: <function parse_datetime_with_timezone_support at 0x7f11d512c578>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f11d5107050>, 248: <function Str2Set at 0x7f11d5115c08>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f11d5115758>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7f11d512c410>, <type 'bool'>: <function Bool2Str at 0x7f11d5123140>, <type 'set'>: <function Set2Str at 0x7f11d5115c80>, <type 'object'>: <function Instance2Str at 0x7f11d5115f50>, <type 'NoneType'>: <function None2NULL at 0x7f11d5115e60>, <type 'instance'>: <function Instance2Str at 0x7f11d5115f50>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f11d5115d70>, <type 'str'>: <function Thing2Literal at 0x7f11d5115ed8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f11d5115de8>, <type 'long'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'int'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'array.array'>: <function array2Str at 0x7f11d51230c8>}, 'db': 'daric', 'passwd': 'tattvamasi', 'port': 3306, 'user': 'root'} |
args | () |
conv | {0: <function typecast_decimal at 0x7f11d5107050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f11d51157d0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f11d5115668>, 11: <function typecast_time at 0x7f11d50f4ed8>, 12: <function parse_datetime_with_timezone_support at 0x7f11d512c578>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f11d5107050>, 248: <function Str2Set at 0x7f11d5115c08>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f11d5115758>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7f11d512c410>, <type 'bool'>: <function Bool2Str at 0x7f11d5123140>, <type 'set'>: <function Set2Str at 0x7f11d5115c80>, <type 'object'>: <function Instance2Str at 0x7f11d5115f50>, <type 'NoneType'>: <function None2NULL at 0x7f11d5115e60>, <type 'instance'>: <function Instance2Str at 0x7f11d5115f50>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f11d5115d70>, <type 'str'>: <function Thing2Literal at 0x7f11d5115ed8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f11d5115de8>, <type 'long'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'int'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'array.array'>: <function array2Str at 0x7f11d51230c8>} |
use_unicode | True |
FIELD_TYPE | <module 'MySQLdb.constants.FIELD_TYPE' from '/usr/lib/python2.7/dist-packages/MySQLdb/constants/FIELD_TYPE.pyc'> |
kwargs | {'charset': 'utf8', 'client_flag': 2, 'conv': {0: <function typecast_decimal at 0x7f11d5107050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f11d51157d0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f11d5115668>, 11: <function typecast_time at 0x7f11d50f4ed8>, 12: <function parse_datetime_with_timezone_support at 0x7f11d512c578>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f11d5107050>, 248: <function Str2Set at 0x7f11d5115c08>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f11d5115758>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7f11d512c410>, <type 'bool'>: <function Bool2Str at 0x7f11d5123140>, <type 'set'>: <function Set2Str at 0x7f11d5115c80>, <type 'object'>: <function Instance2Str at 0x7f11d5115f50>, <type 'NoneType'>: <function None2NULL at 0x7f11d5115e60>, <type 'instance'>: <function Instance2Str at 0x7f11d5115f50>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f11d5115d70>, <type 'str'>: <function Thing2Literal at 0x7f11d5115ed8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f11d5115de8>, <type 'long'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'int'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'array.array'>: <function array2Str at 0x7f11d51230c8>}, 'db': 'daric', 'passwd': 'tattvamasi', 'port': 3306, 'use_unicode': True, 'user': 'root'} |
sql_mode | '' |
charset | 'utf8' |
self | <_mysql.connection closed at 7f11d6d9e0b0> |
n | '5' |
WeakValueDictionary | <class weakref.WeakValueDictionary at 0x7f11d4998c18> |
conv2 | {0: <function typecast_decimal at 0x7f11d5107050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f11d51157d0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f11d5115668>, 11: <function typecast_time at 0x7f11d50f4ed8>, 12: <function parse_datetime_with_timezone_support at 0x7f11d512c578>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f11d5107050>, 248: <function Str2Set at 0x7f11d5115c08>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f11d5115758>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7f11d512c410>, <type 'bool'>: <function Bool2Str at 0x7f11d5123140>, <type 'set'>: <function Set2Str at 0x7f11d5115c80>, <type 'object'>: <function Instance2Str at 0x7f11d5115f50>, <type 'NoneType'>: <function None2NULL at 0x7f11d5115e60>, <type 'instance'>: <function Instance2Str at 0x7f11d5115f50>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f11d5115d70>, <type 'str'>: <function Thing2Literal at 0x7f11d5115ed8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f11d5115de8>, <type 'long'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'int'>: <function Thing2Str at 0x7f11d5115cf8>, <type 'array.array'>: <function array2Str at 0x7f11d51230c8>} |
CLIENT | <module 'MySQLdb.constants.CLIENT' from '/usr/lib/python2.7/dist-packages/MySQLdb/constants/CLIENT.pyc'> |
proxy | <built-in function proxy> |
v | [(128, <type 'str'>)] |
k | 254 |
client_version | (5, 5) |
client_flag | 196610 |
types | <module 'types' from '/usr/lib/python2.7/types.pyc'> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
AUTH_TYPE | None |
CONTENT_LENGTH | 0 |
REMOTE_USER | None |
SERVER_PORT | 80 |
SERVER_NAME | 'ip-10-0-0-173.ec2.internal' |
GATEWAY_INTERFACE | 'CGI/1.1' |
CSRF_COOKIE | 'qyhXtDruVXbmlp5BQTR7EMcq9Y248bJv' |
REMOTE_ADDR | '54.157.35.140' |
SERVER_SOFTWARE | 'mod_python' |
REMOTE_IDENT | None |
SCRIPT_NAME | '' |
HTTP_USER_AGENT | 'claudebot' |
REQUEST_METHOD | 'GET' |
HTTP_HOST | 'daric.com' |
PATH_INFO | u'/preregister/' |
CONTENT_TYPE | None |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | None |
HTTP_ACCEPT | '*/*' |
REMOTE_HOST | None |
PATH_TRANSLATED | None |
Daric.settings
Setting | Value |
---|---|
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'Daric.urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
FILE_UPLOAD_PERMISSIONS | None |
URL_VALIDATOR_USER_AGENT | 'Django/1.4.2 (https://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'daric', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Los_Angeles', 'USER': 'root'}} |
SERVER_EMAIL | 'root@localhost' |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
HTTPS_SUPPORT | True |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django_mobile.middleware.MobileDetectionMiddleware', 'django_mobile.middleware.SetFlavourMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
SEND_BROKEN_LINK_EMAILS | False |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django_mobile.loader.Loader') |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.humanize', 'home', 'account', 'dashboard', 'help', 'django.contrib.admin', 'lender', 'borrower', 'portfolio', 'smallbusiness', 'rest_framework', 'django_filters', 'django_mobile') |
LANGUAGES | (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
TIME_FORMAT | 'P' |
SPH_SETTINGS | {'community_jsincludes': ['/home/Daric/media/sphene/community/jquery-1.2.3.min.js', '/home/Daric/media/sphene/community/jquery.autocomplete.js'], 'community_styleincludes': ['/home/Daric/media/sphene/sphboard/styles/base.css']} |
GEOIP_PATH | '/usr/share/GeoIP' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/media/' |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'logfile': {'class': 'logging.FileHandler', 'filename': '/home/Daric/errors.log'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'include_html': True, 'level': 'ERROR'}}, 'loggers': {'dariclog': {'handlers': ['logfile'], 'level': 'ERROR', 'propagate': False}, 'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
FIXTURE_DIRS | () |
EMAIL_HOST | 'smtp.gmail.com' |
DATE_FORMAT | 'm/d/Y' |
MEDIA_ROOT | '' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
REST_FRAMEWORK | {'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',)} |
MEDIA_URL | '' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/home/Daric',) |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
STATIC_DOC_ROOT | '/home/Daric/media/' |
DECIMAL_SEPARATOR | '.' |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'America/Los_Angeles' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'django_mobile.context_processors.flavour') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'Daric.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/home/Daric/media/' |
EMAIL_PORT | 587 |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard 500 page.