You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread Thread-90:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/home/ybnd/code/beets/beets/beetsplug/replaygain.py", line 1198, in run
six.reraise(exc[0], exc[1], exc[2])
File "/home/ybnd/.local/share/venve/beets/lib/python3.8/site-packages/six.py", line 703, in reraise
raise value
File "/home/ybnd/code/beets/beets/beetsplug/replaygain.py", line 1510, in wfunc
return func(*args, **kwargs)
File "/home/ybnd/code/beets/beets/beetsplug/replaygain.py", line 1460, in _store_track
store_track_gain(item, track_gains[0])
File "/home/ybnd/code/beets/beets/beetsplug/replaygain.py", line 1324, in store_track_gain
self._store(item)
File "/home/ybnd/code/beets/beets/beetsplug/replaygain.py", line 1319, in _store
item.store()
File "/home/ybnd/code/beets/beets/beets/library.py", line 347, in store
super(LibModel, self).store(fields)
File "/home/ybnd/code/beets/beets/beets/dbcore/db.py", line 516, in store
tx.mutate(query, subvars)
File "/home/ybnd/code/beets/beets/beets/dbcore/db.py", line 838, in mutate
cursor = self.db._connection().execute(statement, subvals)
sqlite3.OperationalError: no such table: items
on the first call, but just succeeds on the second call
Occurs on every call to item.store()
Doesn't depend on the ReplayGain backend you use
Reproducing
Make sure test_replaygain.py actually runs some of the tests (most are skipped in the CI build)
Problem
The tests in
test_replaygain.py
work with an in-memory SQLite database, which doesn't seem to play well with the parallelization introduced in #3478.item.store()
raiseson the first call, but just succeeds on the second call
Occurs on every call to
item.store()
Doesn't depend on the ReplayGain backend you use
Reproducing
test_replaygain.py
actually runs some of the tests (most are skipped in the CI build)_store_retry_once
patchSetup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: