Guest User

Untitled

a guest
May 31st, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.03 KB | None | 0 0
  1. certifi==2018.4.16
  2. Django==2.0.5
  3. mysql-connector-python==8.0.11
  4. mysqlclient==1.3.12
  5. pipenv==2018.5.18
  6. psycopg2-binary==2.7.4
  7. PyMySQL==0.8.1
  8. pytz==2018.4
  9. virtualenv==16.0.0
  10. virtualenv-clone==0.3.0
  11. whitenoise==3.3.1
  12.  
  13. Environment:
  14.  
  15.  
  16. Request Method: POST
  17. Request URL: http://localhost:8000/admin/login/?next=/admin/
  18.  
  19. Django Version: 2.0.5
  20. Python Version: 3.6.5
  21. Installed Applications:
  22. ['django.contrib.admin',
  23. 'django.contrib.auth',
  24. 'django.contrib.contenttypes',
  25. 'django.contrib.sessions',
  26. 'django.contrib.messages',
  27. 'django.contrib.staticfiles',
  28. 'picker_main']
  29. Installed Middleware:
  30. ['django.middleware.security.SecurityMiddleware',
  31. 'django.contrib.sessions.middleware.SessionMiddleware',
  32. 'django.middleware.common.CommonMiddleware',
  33. 'django.middleware.csrf.CsrfViewMiddleware',
  34. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  35. 'django.contrib.messages.middleware.MessageMiddleware',
  36. 'django.middleware.clickjacking.XFrameOptionsMiddleware']
  37.  
  38.  
  39.  
  40. Traceback:
  41.  
  42. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangocorehandlersexception.py" in inner
  43. 35. response = get_response(request)
  44.  
  45. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangocorehandlersbase.py" in _get_response
  46. 128. response = self.process_exception_by_middleware(e, request)
  47.  
  48. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangocorehandlersbase.py" in _get_response
  49. 126. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  50.  
  51. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoviewsdecoratorscache.py" in _wrapped_view_func
  52. 44. response = view_func(request, *args, **kwargs)
  53.  
  54. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangocontribadminsites.py" in login
  55. 398. return LoginView.as_view(**defaults)(request)
  56.  
  57. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoviewsgenericbase.py" in view
  58. 69. return self.dispatch(request, *args, **kwargs)
  59.  
  60. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoutilsdecorators.py" in _wrapper
  61. 62. return bound_func(*args, **kwargs)
  62.  
  63. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoviewsdecoratorsdebug.py" in sensitive_post_parameters_wrapper
  64. 76. return view(request, *args, **kwargs)
  65.  
  66. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoutilsdecorators.py" in bound_func
  67. 58. return func.__get__(self, type(self))(*args2, **kwargs2)
  68.  
  69. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoutilsdecorators.py" in _wrapper
  70. 62. return bound_func(*args, **kwargs)
  71.  
  72. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoutilsdecorators.py" in _wrapped_view
  73. 142. response = view_func(request, *args, **kwargs)
  74.  
  75. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoutilsdecorators.py" in bound_func
  76. 58. return func.__get__(self, type(self))(*args2, **kwargs2)
  77.  
  78. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoutilsdecorators.py" in _wrapper
  79. 62. return bound_func(*args, **kwargs)
  80.  
  81. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoviewsdecoratorscache.py" in _wrapped_view_func
  82. 44. response = view_func(request, *args, **kwargs)
  83.  
  84. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoutilsdecorators.py" in bound_func
  85. 58. return func.__get__(self, type(self))(*args2, **kwargs2)
  86.  
  87. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangocontribauthviews.py" in dispatch
  88. 66. return super().dispatch(request, *args, **kwargs)
  89.  
  90. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoviewsgenericbase.py" in dispatch
  91. 89. return handler(request, *args, **kwargs)
  92.  
  93. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoviewsgenericedit.py" in post
  94. 141. if form.is_valid():
  95.  
  96. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoformsforms.py" in is_valid
  97. 179. return self.is_bound and not self.errors
  98.  
  99. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoformsforms.py" in errors
  100. 174. self.full_clean()
  101.  
  102. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoformsforms.py" in full_clean
  103. 377. self._clean_form()
  104.  
  105. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangoformsforms.py" in _clean_form
  106. 404. cleaned_data = self.clean()
  107.  
  108. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangocontribauthforms.py" in clean
  109. 195. self.user_cache = authenticate(self.request, username=username, password=password)
  110.  
  111. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangocontribauth__init__.py" in authenticate
  112. 70. user = _authenticate_with_backend(backend, backend_path, request, credentials)
  113.  
  114. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangocontribauth__init__.py" in _authenticate_with_backend
  115. 116. return backend.authenticate(*args, **credentials)
  116.  
  117. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangocontribauthbackends.py" in authenticate
  118. 16. user = UserModel._default_manager.get_by_natural_key(username)
  119.  
  120. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangocontribauthbase_user.py" in get_by_natural_key
  121. 44. return self.get(**{self.model.USERNAME_FIELD: username})
  122.  
  123. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangodbmodelsmanager.py" in manager_method
  124. 82. return getattr(self.get_queryset(), name)(*args, **kwargs)
  125.  
  126. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangodbmodelsquery.py" in get
  127. 397. num = len(clone)
  128.  
  129. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangodbmodelsquery.py" in __len__
  130. 254. self._fetch_all()
  131.  
  132. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangodbmodelsquery.py" in _fetch_all
  133. 1179. self._result_cache = list(self._iterable_class(self))
  134.  
  135. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangodbmodelsquery.py" in __iter__
  136. 62. for row in compiler.results_iter(results):
  137.  
  138. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangodbmodelssqlcompiler.py" in apply_converters
  139. 1005. for row in map(list, rows):
  140.  
  141. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangodbmodelssqlcompiler.py" in cursor_iter
  142. 1460. for rows in iter((lambda: cursor.fetchmany(itersize)), sentinel):
  143.  
  144. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangodbmodelssqlcompiler.py" in <lambda>
  145. 1460. for rows in iter((lambda: cursor.fetchmany(itersize)), sentinel):
  146.  
  147. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesdjangodbutils.py" in inner
  148. 96. return func(*args, **kwargs)
  149.  
  150. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesmysqlconnectorcursor_cext.py" in fetchmany
  151. 510. rows.extend(self._cnx.get_rows(size))
  152.  
  153. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesmysqlconnectorconnection_cext.py" in get_rows
  154. 275. row[i])
  155.  
  156. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesmysqlconnectorconversion.py" in to_python
  157. 205. return self._cache_field_types[vtype[1]](value, vtype)
  158.  
  159. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesmysqlconnectordjangobase.py" in _DATETIME_to_python
  160. 119. dt = MySQLConverter._DATETIME_to_python(self, value)
  161.  
  162. File "C:UsersXSHAAppDataLocalProgramsPythonPython36libsite-packagesmysqlconnectorconversion.py" in _DATETIME_to_python
  163. 506. (date_, time_) = value.split(b' ')
  164.  
  165. Exception Type: AttributeError at /admin/login/
  166. Exception Value: 'datetime.datetime' object has no attribute 'split'
Add Comment
Please, Sign In to add comment