Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gcavalcante8808/8305693 to your computer and use it in GitHub Desktop.
Save gcavalcante8808/8305693 to your computer and use it in GitHub Desktop.
Environment:
Request Method: GET
Request URL: http://localhost:8000/admin/SEP/semcomputer/126DA47BC0A801A800C915099B9968CF/
Django Version: 1.5.3
Python Version: 2.7.5
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_admin_bootstrapped',
'django.contrib.admin',
'mptt',
'django_extensions',
'django_auth_ldap',
'rest_framework',
'dsim1.core',
'homepage',
'SEP')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware')
Traceback:
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/contrib/admin/options.py" in wrapper
372. return self.admin_site.admin_view(view)(*args, **kwargs)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
91. response = view_func(request, *args, **kwargs)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
89. response = view_func(request, *args, **kwargs)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner
202. return view(request, *args, **kwargs)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper
25. return bound_func(*args, **kwargs)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
91. response = view_func(request, *args, **kwargs)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func
21. return func(self, *args2, **kwargs2)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/transaction.py" in inner
223. return func(*args, **kwargs)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/contrib/admin/options.py" in change_view
1068. obj = self.get_object(request, unquote(object_id))
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/contrib/admin/options.py" in get_object
484. return queryset.get(pk=object_id)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/query.py" in get
398. num = len(clone)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/query.py" in __len__
106. self._result_cache = list(self.iterator())
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/query.py" in iterator
317. for row in compiler.results_iter():
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in results_iter
775. for rows in self.execute_sql(MULTI):
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
830. sql, params = self.as_sql()
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django_pyodbc/compiler.py" in as_sql
211. with_col_aliases=with_col_aliases)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in as_sql
85. where, w_params = self.query.where.as_sql(qn=qn, connection=self.connection)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/sql/where.py" in as_sql
97. sql, params = child.as_sql(qn=qn, connection=connection)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/sql/where.py" in as_sql
97. sql, params = child.as_sql(qn=qn, connection=connection)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/sql/where.py" in as_sql
97. sql, params = child.as_sql(qn=qn, connection=connection)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/sql/where.py" in as_sql
100. sql, params = self.make_atom(child, qn, connection)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/sql/where.py" in make_atom
172. field_sql = self.sql_for_columns(lvalue, qn, connection)
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/models/sql/where.py" in sql_for_columns
248. return connection.ops.field_cast_sql(db_type) % lhs
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django_pyodbc/operations.py" in field_cast_sql
84. if self.sql_server_ver < 2005 and db_type and db_type.lower() == 'ntext':
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django_pyodbc/operations.py" in _get_sql_server_ver
30. cur = self.connection.cursor()
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django/db/backends/__init__.py" in cursor
324. cursor = self.make_debug_cursor(self._cursor())
File "/home/RFOC/01388863189/PycharmProjects/dsim/lib/python2.7/site-packages/django_pyodbc/base.py" in _cursor
228. autocommit=autocommit)
Exception Type: Error at /admin/SEP/semcomputer/126DA47BC0A801A800C915099B9968CF/
Exception Value: ('08001', '[08001] [unixODBC][Microsoft][ODBC Driver 11 for SQL Server]Neither DSN nor SERVER keyword supplied (0) (SQLDriverConnect)')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment