The traceback is long, here's a snippet.
{{{
Process SpawnPoolWorker-47:
Traceback (most recent call last):
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\process.py",
line 314, in _bootstrap
self.run()
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\process.py",
line 108, in run
self._target(*self._args, **self._kwargs)
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\pool.py",
line 109, in worker
initializer(*initargs)
File "C:\Users\smith\projects\django\django\test\runner.py", line 442,
in _init_worker
connection.creation.setup_worker_connection(_worker_id)
File
"C:\Users\smith\projects\django\django\db\backends\sqlite3\creation.py",
line 145, in setup_worker_connection
source_db = self.connection.Database.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: unable to open database file
Process SpawnPoolWorker-48:
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34903>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: David, Sanders (removed)
* cc: David Sanders (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/34903#comment:1>
* version: 4.2 => dev
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
Comment:
I guess we can revert 2128a73713735fb794ca6565fd5d7792293f5cfa.
--
Ticket URL: <https://code.djangoproject.com/ticket/34903#comment:2>
Comment (by David Sanders):
Yep that is an option but I'd like to investigate why the worker is trying
to open databases that don't exist 🤔 (provided I can setup a Windows VM)
--
Ticket URL: <https://code.djangoproject.com/ticket/34903#comment:3>
* owner: nobody => David Sanders
* status: new => assigned
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34903#comment:4>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34903#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"68d0159b6dfce07f144045d56639c52066e8b90e" 68d0159b]:
{{{
#!CommitTicketReference repository=""
revision="68d0159b6dfce07f144045d56639c52066e8b90e"
Fixed #34903, Refs #34825 -- Made workers initialization respect empty set
of used connections.
Thanks to David Smith for the investigation & patch.
Regression in 2128a73713735fb794ca6565fd5d7792293f5cfa.
Follow up to a5905b164dbf52e59fa646af9c3d523c0804d86a.
Co-authored-by: David Sanders <shang.xia...@gmail.com>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34903#comment:6>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"08aa336af46f30a29577a96588eeb3b440cd6dad" 08aa336a]:
{{{
#!CommitTicketReference repository=""
revision="08aa336af46f30a29577a96588eeb3b440cd6dad"
[5.0.x] Fixed #34903, Refs #34825 -- Made workers initialization respect
empty set of used connections.
Thanks to David Smith for the investigation & patch.
Regression in 2128a73713735fb794ca6565fd5d7792293f5cfa.
Follow up to a5905b164dbf52e59fa646af9c3d523c0804d86a.
Co-authored-by: David Sanders <shang.xia...@gmail.com>
Backport of 68d0159b6dfce07f144045d56639c52066e8b90e from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34903#comment:7>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/34903#comment:8>