Greetings. I’m a new developer who wants to contribute to Django. I cloned and opened Django to run on my Windows local, but when I run runtest.py I get the error ‘sqlite3.OperationalError: no such table: test_utils_car’. Can you help me please <3 ?
Exception in thread Thread-25 (thread_func):
Traceback (most recent call last):
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\backends\utils.py", line 105, in _execute
return self.cursor.execute(sql, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\backends\sqlite3\base.py", line 354, in execute
return super().execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: no such table: test_utils_car
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\yunus\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1073, in _bootstrap_inner
self.run()
File "C:\Users\yunus\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\yunus\OneDrive\Masaüstü\django\tests\test_utils\tests.py", line 2144, in thread_func
next(Car.objects.iterator(), None)
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\models\query.py", line 518, in _iterator
yield from iterable
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\models\query.py", line 91, in __iter__
results = compiler.execute_sql(
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\models\sql\compiler.py", line 1570, in execute_sql
cursor.execute(sql, params)
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\backends\utils.py", line 79, in execute
return self._execute_with_wrappers(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\backends\utils.py", line 92, in _execute_with_wrappers
return executor(sql, params, many, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\backends\utils.py", line 100, in _execute
with self.db.wrap_database_errors:
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\backends\utils.py", line 105, in _execute
return self.cursor.execute(sql, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yunus\OneDrive\Masaüstü\django\django\db\backends\sqlite3\base.py", line 354, in execute
return super().execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django.db.utils.OperationalError: no such table: test_utils_car