-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi,
I've noticed a weird issue when importing two titlt series movies (ProtImportTsMovies protocol) using scipion 3.7.1 and pyworkflow 3.11.1.
The import gets stuck for long minutes before issuing multiple database is locked statements and ends up failing.
Trying to update outputTiltSeriesM (output) of protocol tomo - import tilt-series movies, attempt=1: database is locked
Trying to update outputTiltSeriesM (output) of protocol tomo - import tilt-series movies, attempt=2: database is locked
Trying to update outputTiltSeriesM (output) of protocol tomo - import tilt-series movies, attempt=3: database is locked
The full run.stdout.log is attached (with DEBUG enabled and SCIPION_DEBUG_SQLITE set)
The same import with pyworkflow 3.10.6 works as expected (import takes seconds)
The same import with pyworkflow 3.11.1 succeeds when adding journal_mode: WAL to the pragmas dict in
| pragmas = { |
The CHANGES refers to Parallel section refactored: Scipion threads and or "Package compute" lines.", maybe some condition was introduced and the sqlite db gets deadlocked with badly coordinated threads
The issue is reproducible at will for now!
Thank you for your assistance!