offlineimap3 icon indicating copy to clipboard operation
offlineimap3 copied to clipboard

Create new release with sqlite threadsafety compat for python3.11

Open jrabinow opened this issue 1 year ago • 2 comments

General informations

https://github.com/OfflineIMAP/offlineimap3/pull/139 got merged in, but since no new release was made, people must either stick with python3.10 or apply the patch manually

Logs, error

OfflineIMAP 8.0.0
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
imaplib2 v3.06, Python v3.11.0rc1, OpenSSL 3.0.5 5 Jul 2022
Account sync Fastmail:
 *** Processing account Fastmail
 Establishing connection to imaps-proxy.fastmail.com:80 (FastmailRemote)
 Creating folder Sent[FastmailLocal]
 ERROR: While attempting to sync account 'Fastmail'
  Your sqlite is not multithreading safe.
 *** Finished account 'Fastmail' in 0:00
ERROR: Exceptions occurred during the run!
ERROR: While attempting to sync account 'Fastmail'
  Your sqlite is not multithreading safe.

Traceback:
  File "/usr/lib/python3.11/site-packages/offlineimap/accounts.py", line 298, in syncrunner
    self.__sync()
  File "/usr/lib/python3.11/site-packages/offlineimap/accounts.py", line 377, in __sync
    remoterepos.sync_folder_structure(localrepos, statusrepos)
  File "/usr/lib/python3.11/site-packages/offlineimap/repository/Base.py", line 292, in sync_folder_structure
    status_repo.makefolder(local_name.replace(
  File "/usr/lib/python3.11/site-packages/offlineimap/repository/LocalStatus.py", line 123, in makefolder
    folder.openfiles()
  File "/usr/lib/python3.11/site-packages/offlineimap/folder/LocalStatusSQLite.py", line 107, in openfiles
    assert sqlite.threadsafety == 1, 'Your sqlite is not multithreading safe.'

Steps to reproduce the error

  • Upgrade to Python 3.11
  • Run offlineimap

jrabinow avatar May 07 '23 05:05 jrabinow

+1 waiting for a release, too.

nafets227 avatar Dec 11 '23 18:12 nafets227

+1 ran into this as well today

gcentauri avatar Dec 19 '23 17:12 gcentauri