-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.0
-
Component/s: None
-
None
-
Environment:Python virtual environment
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Internal Server Error: /login/
Traceback (most recent call last):
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(*args, **kwargs)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/rest_framework/views.py", line 452, in dispatch
response = self.handle_exception(exc)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/rest_framework/views.py", line 449, in dispatch
response = handler(request, *args, **kwargs)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/rest_framework/decorators.py", line 50, in handler
return func(*args, **kwargs)
File "/sysusers/atul/dx_man/dx_man/views.py", line 86, in login_user
user = auth.authenticate(username = username, password = password)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django/contrib/auth/_init_.py", line 60, in authenticate
user = backend.authenticate(**credentials)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django/contrib/auth/backends.py", line 16, in authenticate
user = UserModel._default_manager.get_by_natural_key(username)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django/contrib/auth/models.py", line 167, in get_by_natural_key
return self.get(**
)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
return self.get_query_set().get(*args, **kwargs)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django/db/models/query.py", line 398, in get
num = len(clone)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django/db/models/query.py", line 106, in _len_
self._result_cache = list(self.iterator())
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django/db/models/query.py", line 317, in iterator
for row in compiler.results_iter():
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/djangotoolbox/db/basecompiler.py", line 375, in results_iter
results = self.build_query(fields).fetch(
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/djangotoolbox/db/basecompiler.py", line 480, in build_query
query = self.query_class(self, fields)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django_mongodb_engine/compiler.py", line 97, in _init_
self.collection = self.compiler.get_collection()
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django_mongodb_engine/compiler.py", line 296, in get_collection
return self.connection.get_collection(self.query.get_meta().db_table)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django_mongodb_engine/base.py", line 196, in get_collection
collection = self.collection_class(self.database, name, **kwargs)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django_mongodb_engine/base.py", line 204, in _getattr_
self._connect()
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/django_mongodb_engine/base.py", line 261, in _connect
self.connection = connection_class(**conn_options)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 314, in _init_
username, password, dbase, opts)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/pymongo/client_options.py", line 108, in _init_
options = dict([validate(opt, val) for opt, val in iteritems(options)])
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/pymongo/common.py", line 425, in validate
value = validator(option, value)
File "/sysusers/atul/.virtualenvs/dxs-product/local/lib/python2.7/site-packages/pymongo/common.py", line 100, in raise_config_error
raise ConfigurationError("Unknown option %s" % (key,))
ConfigurationError: Unknown option auto_start_request