Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new release with sqlite threadsafety compat for python3.11 #151

Open
jrabinow opened this issue May 7, 2023 · 2 comments · Fixed by Homebrew/homebrew-core#181922

Comments

@jrabinow
Copy link

jrabinow commented May 7, 2023

General informations

#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
@nafets227
Copy link

+1 waiting for a release, too.

@gcentauri
Copy link

+1 ran into this as well today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants