Advertisement
Guest User

Untitled

a guest
May 11th, 2024
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.91 KB | None | 0 0
  1. Environment:
  2.  
  3.  
  4. Request Method: GET
  5. Request URL: http://127.0.0.1:8000/
  6.  
  7. Django Version: 1.11.6
  8. Python Version: 3.5.4
  9. Installed Applications:
  10. ['django.contrib.admin',
  11. 'django.contrib.auth',
  12. 'django.contrib.contenttypes',
  13. 'django.contrib.sessions',
  14. 'django.contrib.messages',
  15. 'django.contrib.staticfiles',
  16. 'hitcount',
  17. 'Meowseum']
  18. Installed Middleware:
  19. ['django.middleware.security.SecurityMiddleware',
  20. 'django.contrib.sessions.middleware.SessionMiddleware',
  21. 'django.middleware.common.CommonMiddleware',
  22. 'django.middleware.csrf.CsrfViewMiddleware',
  23. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  24. 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
  25. 'django.contrib.messages.middleware.MessageMiddleware',
  26. 'django.middleware.clickjacking.XFrameOptionsMiddleware',
  27. 'Meowseum.middleware.exception_logging_middleware.ExceptionLoggingMiddleware',
  28. 'Meowseum.middleware.user_banning_middleware.LogoutBannedUserMiddleware']
  29.  
  30.  
  31.  
  32. Traceback:
  33.  
  34. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\utils.py" in execute
  35. 65. return self.cursor.execute(sql, params)
  36.  
  37. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\sqlite3\base.py" in execute
  38. 328. return Database.Cursor.execute(self, query, params)
  39.  
  40. The above exception (no such table: Meowseum_page) was the direct cause of the following exception:
  41.  
  42. File "C:\Program Files\Python35\lib\site-packages\django\django\core\handlers\base.py" in _get_response
  43. 185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  44.  
  45. File "A:\A\Web and software development workspace\My websites\Meowseum_Project\Meowseum\views\gallery.py" in front_page
  46. 19. increment_hit_count(request, "index")
  47.  
  48. File "A:\A\Web and software development workspace\My websites\Meowseum_Project\Meowseum\common_view_functions.py" in increment_hit_count
  49. 147. record = Page.objects.get_or_create(name=name)[0]
  50.  
  51. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\manager.py" in manager_method
  52. 85. return getattr(self.get_queryset(), name)(*args, **kwargs)
  53.  
  54. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\query.py" in get_or_create
  55. 464. return self.get(**lookup), False
  56.  
  57. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\query.py" in get
  58. 374. num = len(clone)
  59.  
  60. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\query.py" in __len__
  61. 232. self._fetch_all()
  62.  
  63. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\query.py" in _fetch_all
  64. 1118. self._result_cache = list(self._iterable_class(self))
  65.  
  66. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\query.py" in __iter__
  67. 53. results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
  68.  
  69. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\sql\compiler.py" in execute_sql
  70. 894. raise original_exception
  71.  
  72. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\sql\compiler.py" in execute_sql
  73. 884. cursor.execute(sql, params)
  74.  
  75. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\utils.py" in execute
  76. 80. return super(CursorDebugWrapper, self).execute(sql, params)
  77.  
  78. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\utils.py" in execute
  79. 65. return self.cursor.execute(sql, params)
  80.  
  81. File "C:\Program Files\Python35\lib\site-packages\django\django\db\utils.py" in __exit__
  82. 94. six.reraise(dj_exc_type, dj_exc_value, traceback)
  83.  
  84. File "C:\Program Files\Python35\lib\site-packages\django\django\utils\six.py" in reraise
  85. 685. raise value.with_traceback(tb)
  86.  
  87. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\utils.py" in execute
  88. 65. return self.cursor.execute(sql, params)
  89.  
  90. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\sqlite3\base.py" in execute
  91. 328. return Database.Cursor.execute(self, query, params)
  92.  
  93. During handling of the above exception (no such table: Meowseum_page), another exception occurred:
  94.  
  95. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\utils.py" in execute
  96. 65. return self.cursor.execute(sql, params)
  97.  
  98. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\sqlite3\base.py" in execute
  99. 328. return Database.Cursor.execute(self, query, params)
  100.  
  101. The above exception (no such table: Meowseum_exceptionrecord) was the direct cause of the following exception:
  102.  
  103. File "C:\Program Files\Python35\lib\site-packages\django\django\core\handlers\exception.py" in inner
  104. 41. response = get_response(request)
  105.  
  106. File "C:\Program Files\Python35\lib\site-packages\django\django\core\handlers\base.py" in _legacy_get_response
  107. 249. response = self._get_response(request)
  108.  
  109. File "C:\Program Files\Python35\lib\site-packages\django\django\core\handlers\base.py" in _get_response
  110. 187. response = self.process_exception_by_middleware(e, request)
  111.  
  112. File "C:\Program Files\Python35\lib\site-packages\django\django\core\handlers\base.py" in process_exception_by_middleware
  113. 227. response = middleware_method(request, exception)
  114.  
  115. File "A:\A\Web and software development workspace\My websites\Meowseum_Project\Meowseum\middleware\exception_logging_middleware.py" in process_exception
  116. 14. new_record.save()
  117.  
  118. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\base.py" in save
  119. 808. force_update=force_update, update_fields=update_fields)
  120.  
  121. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\base.py" in save_base
  122. 838. updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  123.  
  124. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\base.py" in _save_table
  125. 924. result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  126.  
  127. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\base.py" in _do_insert
  128. 963. using=using, raw=raw)
  129.  
  130. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\manager.py" in manager_method
  131. 85. return getattr(self.get_queryset(), name)(*args, **kwargs)
  132.  
  133. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\query.py" in _insert
  134. 1076. return query.get_compiler(using=using).execute_sql(return_id)
  135.  
  136. File "C:\Program Files\Python35\lib\site-packages\django\django\db\models\sql\compiler.py" in execute_sql
  137. 1107. cursor.execute(sql, params)
  138.  
  139. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\utils.py" in execute
  140. 80. return super(CursorDebugWrapper, self).execute(sql, params)
  141.  
  142. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\utils.py" in execute
  143. 65. return self.cursor.execute(sql, params)
  144.  
  145. File "C:\Program Files\Python35\lib\site-packages\django\django\db\utils.py" in __exit__
  146. 94. six.reraise(dj_exc_type, dj_exc_value, traceback)
  147.  
  148. File "C:\Program Files\Python35\lib\site-packages\django\django\utils\six.py" in reraise
  149. 685. raise value.with_traceback(tb)
  150.  
  151. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\utils.py" in execute
  152. 65. return self.cursor.execute(sql, params)
  153.  
  154. File "C:\Program Files\Python35\lib\site-packages\django\django\db\backends\sqlite3\base.py" in execute
  155. 328. return Database.Cursor.execute(self, query, params)
  156.  
  157. Exception Type: OperationalError at /
  158. Exception Value: no such table: Meowseum_exceptionrecord
  159.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement