[GH-ISSUE #1764] Bug: Python v3.14 compatibility #2537

Open
opened 2026-03-01 17:59:42 +03:00 by kerem · 2 comments
Owner

Originally created by @virtadpt on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1764

Originally assigned to: @pirate on GitHub.

Provide a screenshot and describe the bug

I installed the last stable version of Archivebox using Pip (v0.7.1, or so pip list tells me) into a venv and everything I try to do results in a "[X] Error while loading configuration value: SQLITE_VERSION" failure, including just running archivebox --help.

Image

No remote storage is used for ArchiveBox/ (I don't use data/ as the directory name because it conflicts with another project).

Steps to reproduce

1. `python -mvenv archivebox`
2. `. archivebox/bin/activate`
3. `pip install archivebox[sonic] yt-dlp yt-dlp-ejs playwright setuptools legacy-cgi`
4. `playwright install chromium`
5. `cd ArchiveBox` (this is where I have my archive, as well as ArchiveBox.conf.
6. `archivebox --help`

Logs or errors

[X] Error while loading configuration value: SQLITE_VERSION
    AttributeError: module 'sqlite3.dbapi2' has no attribute 'version'

    Check your config for mistakes and try again (your archive data is unaffected).

    For config documentation and examples see:
        https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration

ArchiveBox Version

(archivebox) {18:32:39 @ Mon Feb 16}
[drwho @ leandra:(4) ArchiveBox]$ archivebox version

[X] Error while loading configuration value: SQLITE_VERSION
    AttributeError: module 'sqlite3.dbapi2' has no attribute 'version'

    Check your config for mistakes and try again (your archive data is unaffected).

    For config documentation and examples see:
        https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration


`pip list` says it's version 0.7.1.

How did you install the version of ArchiveBox you are using?

pip

What operating system are you running on?

Linux (Ubuntu/Debian/Arch/Alpine/etc.)

What type of drive are you using to store your ArchiveBox data?

  • some of data/ is on a local SSD or NVMe drive
  • some of data/ is on a spinning hard drive or external USB drive
  • some of data/ is on a network mount (e.g. NFS/SMB/Ceph/GlusterFS/etc.)
  • some of data/ is on a FUSE mount (e.g. SSHFS/RClone/S3/B2/Google Drive/Dropbox/etc.)

Docker Compose Configuration


ArchiveBox Configuration

[SERVER_CONFIG]
SECRET_KEY = nS...Ae
PUBLIC_INDEX = True
FOOTER_INFO =
RIPGREP_VERSION = 15.1.0
YOUTUBEDL_VERSION = 2026.02.04
TIMEOUT = 600
PUBLIC_SNAPSHOTS = False
PUBLIC_ADD_VIEW = False
BIND_ADDR = 0.0.0.0:8500
SQLITE_VERSION = 3.51.2
LISTEN_HOST = <redacted>

[ARCHIVE_METHOD_TOGGLES]
SAVE_SINGLEFILE = True
SAVE_READABILITY = True
SAVE_PDF = True
SAVE_SCREENSHOT = True
SAVE_ARCHIVE_DOT_ORG = True

[ARCHIVE_METHOD_OPTIONS]
CURL_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0"
WGET_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
CHROME_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
COOKIES_FILE = /home/drwho/ArchiveBox/cookies.txt

[DEPENDENCY_CONFIG]
USE_YOUTUBEDL = True
YOUTUBEDL_BINARY = /home/drwho/archivebox/bin/yt-dlp
CHROME_BINARY = /home/drwho/.cache/ms-playwright/chromium-1181/chrome-linux/chrome
USE_CHROME = True

[SEARCH_BACKEND_CONFIG]
SEARCH_BACKEND_TIMEOUT = 600
SEARCH_BACKEND_PASSWORD = J...W
SEARCH_BACKEND_PORT = 1491
SEARCH_BACKEND_ENGINE = sonic
SEARCH_BACKEND_HOST_NAME = localhost

[GENERAL_CONFIG]
ONLY_NEW = True
TIMEOUT = 600
Originally created by @virtadpt on GitHub (Feb 17, 2026). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1764 Originally assigned to: @pirate on GitHub. ### Provide a screenshot and describe the bug I installed the last stable version of Archivebox using Pip (v0.7.1, or so `pip list` tells me) into a venv and everything I try to do results in a "[X] Error while loading configuration value: SQLITE_VERSION" failure, including just running `archivebox --help`. ![Image](https://github.com/user-attachments/assets/cb2ef1a4-afe9-4bb4-b236-f27db7e5fee5) No remote storage is used for `ArchiveBox/` (I don't use `data/` as the directory name because it conflicts with another project). ### Steps to reproduce ```markdown 1. `python -mvenv archivebox` 2. `. archivebox/bin/activate` 3. `pip install archivebox[sonic] yt-dlp yt-dlp-ejs playwright setuptools legacy-cgi` 4. `playwright install chromium` 5. `cd ArchiveBox` (this is where I have my archive, as well as ArchiveBox.conf. 6. `archivebox --help` ``` ### Logs or errors ```shell [X] Error while loading configuration value: SQLITE_VERSION AttributeError: module 'sqlite3.dbapi2' has no attribute 'version' Check your config for mistakes and try again (your archive data is unaffected). For config documentation and examples see: https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration ``` ### ArchiveBox Version ```shell (archivebox) {18:32:39 @ Mon Feb 16} [drwho @ leandra:(4) ArchiveBox]$ archivebox version [X] Error while loading configuration value: SQLITE_VERSION AttributeError: module 'sqlite3.dbapi2' has no attribute 'version' Check your config for mistakes and try again (your archive data is unaffected). For config documentation and examples see: https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration `pip list` says it's version 0.7.1. ``` ### How did you install the version of ArchiveBox you are using? pip ### What operating system are you running on? Linux (Ubuntu/Debian/Arch/Alpine/etc.) ### What type of drive are you using to store your ArchiveBox data? - [ ] some of `data/` is on a local SSD or NVMe drive - [x] some of `data/` is on a spinning hard drive or external USB drive - [ ] some of `data/` is on a network mount (e.g. NFS/SMB/Ceph/GlusterFS/etc.) - [ ] some of `data/` is on a FUSE mount (e.g. SSHFS/RClone/S3/B2/Google Drive/Dropbox/etc.) ### Docker Compose Configuration ```shell ``` ### ArchiveBox Configuration ```shell [SERVER_CONFIG] SECRET_KEY = nS...Ae PUBLIC_INDEX = True FOOTER_INFO = RIPGREP_VERSION = 15.1.0 YOUTUBEDL_VERSION = 2026.02.04 TIMEOUT = 600 PUBLIC_SNAPSHOTS = False PUBLIC_ADD_VIEW = False BIND_ADDR = 0.0.0.0:8500 SQLITE_VERSION = 3.51.2 LISTEN_HOST = <redacted> [ARCHIVE_METHOD_TOGGLES] SAVE_SINGLEFILE = True SAVE_READABILITY = True SAVE_PDF = True SAVE_SCREENSHOT = True SAVE_ARCHIVE_DOT_ORG = True [ARCHIVE_METHOD_OPTIONS] CURL_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0" WGET_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" CHROME_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" COOKIES_FILE = /home/drwho/ArchiveBox/cookies.txt [DEPENDENCY_CONFIG] USE_YOUTUBEDL = True YOUTUBEDL_BINARY = /home/drwho/archivebox/bin/yt-dlp CHROME_BINARY = /home/drwho/.cache/ms-playwright/chromium-1181/chrome-linux/chrome USE_CHROME = True [SEARCH_BACKEND_CONFIG] SEARCH_BACKEND_TIMEOUT = 600 SEARCH_BACKEND_PASSWORD = J...W SEARCH_BACKEND_PORT = 1491 SEARCH_BACKEND_ENGINE = sonic SEARCH_BACKEND_HOST_NAME = localhost [GENERAL_CONFIG] ONLY_NEW = True TIMEOUT = 600 ```
Author
Owner

@pirate commented on GitHub (Feb 18, 2026):

0.7.x doesn't support 3.14, only up to 3.13 I believe.
What OS are you on?

The dev branch does support 3.14 if you dont mind running an unstable version.

<!-- gh-comment-id:3917907071 --> @pirate commented on GitHub (Feb 18, 2026): 0.7.x doesn't support 3.14, only up to 3.13 I believe. What OS are you on? The `dev` branch does support 3.14 if you dont mind running an unstable version.
Author
Owner

@virtadpt commented on GitHub (Feb 18, 2026):

Arch Linux, updated as of 15 February 2026 (which is why I had to reinstall).

I also tried setting up the dev branch when that didn't work - commit a0be8fe7. I'll admit, I only tried for a couple of hours to set it up from a Git clone and got frustrated with it. I'll try again later.

<!-- gh-comment-id:3923302152 --> @virtadpt commented on GitHub (Feb 18, 2026): Arch Linux, updated as of 15 February 2026 (which is why I had to reinstall). I also tried setting up the `dev` branch when that didn't work - commit a0be8fe7. I'll admit, I only tried for a couple of hours to set it up from a Git clone and got frustrated with it. I'll try again later.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#2537
No description provided.