[GH-ISSUE #1636] Bug: circular dependency on dev branch when running archivebox install #981

Closed
opened 2026-03-01 14:47:42 +03:00 by kerem · 5 comments
Owner

Originally created by @blastrock on GitHub (Jan 19, 2025).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1636

Originally assigned to: @pirate on GitHub.

Provide a screenshot and describe the bug

I'd like to contribute but I have trouble setting up my env.

I followed the readme:

# Install ArchiveBox + python dependencies
pip install uv
./bin/lock_pkgs.sh         # (aka `uv venv; uv sync;` + generate requirements.txt)

# Install ArchiveBox runtime dependencies
mkdir -p data && cd data
archivebox install         # on >=v0.8.5 (otherwise `archivebox setup`)

The last line does not work, and I'm not sure how it's supposed to. Instead I ran uv run -- archivebox install, was I correct in doing that?

EDIT: I have the same issue when following the docker instructions.

Steps to reproduce

1. Go to dev branch (currently 12f109b)
2. `bin/lock_pkgs.sh`
3. `mkdir -p data && cd data`
4. `uv run -- archivebox install`

Logs or errors

Built archivebox @ file:///home/blastrock/work/ArchiveBox
Uninstalled 32 packages in 161ms
Installed 32 packages in 100ms
[+] Initializing a new ArchiveBox v0.8.6rc3 collection...
----------------------------------------------------------------------

[+] Building archive folder structure...
    + ./archive, ./sources, ./logs...
    + ./ArchiveBox.conf...

[+] Building main SQL index and running initial migrations...

╭─────────────────────────────────   [X] Error while trying to load database! ─────────────────────────────────╮
│                                                                                                              │
│ ImportError: cannot import name 'KVTag' from partially initialized module 'tags.models' (most likely due to  │
│ a circular import) (/home/blastrock/work/ArchiveBox/archivebox/tags/models.py)                               │
│ Please check your config and DATA_DIR permissions.                                                           │
│                                                                                                              │
╰───────────────────────────────────────── NO WRITES CAN BE PERFORMED ─────────────────────────────────────────╯

╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/blastrock/work/ArchiveBox/archivebox/config/django.py:96 in setup_django                   │
│                                                                                                  │
│    93 │   │   │   │   # Otherwise use default sqlite3 file-based database and initialize djang   │94 │   │   │   │   # without running migrations automatically (user runs them manually by c   │95 │   │   │   │   try:                                                                       │
│ ❱  96 │   │   │   │   │   django.setup()                                                         │
│    97 │   │   │   │   except Exception as e:                                                     │
│    98 │   │   │   │   │   bump_startup_progress_bar(advance=1000)                                │
│    99                                                                                            │
│                                                                                                  │
│ /home/blastrock/work/ArchiveBox/.venv/lib/python3.11/site-packages/django/__init__.py:24 in      │
│ setup                                                                                            │
│                                                                                                  │
│   21 │   │   set_script_prefix(                                                                  │
│   22 │   │   │   "/" if settings.FORCE_SCRIPT_NAME is None else settings.FORCE_SCRIPT_NAME       │
│   23 │   │   )                                                                                   │
│ ❱ 24 │   apps.populate(settings.INSTALLED_APPS)                                                  │
│   25                                                                                             │
│                                                                                                  │
│ /home/blastrock/work/ArchiveBox/.venv/lib/python3.11/site-packages/django/apps/registry.py:116   │
│ in populate                                                                                      │
│                                                                                                  │
│   113 │   │   │                                                                                  │
│   114 │   │   │   # Phase 2: import models modules.                                              │115 │   │   │   for app_config in self.app_configs.values():                                   │
│ ❱ 116 │   │   │   │   app_config.import_models()                                                 │
│   117 │   │   │                                                                                  │
│   118 │   │   │   self.clear_cache()                                                             │
│   119                                                                                            │
│                                                                                                  │
│ /home/blastrock/work/ArchiveBox/.venv/lib/python3.11/site-packages/django/apps/config.py:269 in  │
│ import_models                                                                                    │
│                                                                                                  │
│   266 │   │                                                                                      │
│   267 │   │   if module_has_submodule(self.module, MODELS_MODULE_NAME):                          │
│   268 │   │   │   models_module_name = "%s.%s" % (self.name, MODELS_MODULE_NAME)                 │
│ ❱ 269 │   │   │   self.models_module = import_module(models_module_name)                         │
│   270 │                                                                                          │
│   271 │   def ready(self):                                                                       │
│   272 │   │   """                                                                                │
│                                                                                                  │
│ /home/blastrock/.local/share/uv/python/cpython-3.11.11-linux-x86_64-gnu/lib/python3.11/importlib │
│ /__init__.py:126 in import_module                                                                │
│                                                                                                  │
│   123 │   │   │   if character != '.':                                                           │
│   124 │   │   │   │   break                                                                      │
│   125 │   │   │   level += 1                                                                     │
│ ❱ 126 │   return _bootstrap._gcd_import(name[level:], package, level)                            │
│   127                                                                                            │
│   128                                                                                            │
│   129 _RELOADING = {}                                                                            │
│ in _gcd_import:1204                                                                              │
│ in _find_and_load:1176                                                                           │
│ in _find_and_load_unlocked:1147                                                                  │
│ in _load_unlocked:690                                                                            │
│ in exec_module:940                                                                               │
│ in _call_with_frames_removed:241                                                                 │
│                                                                                                  │
│ /home/blastrock/work/ArchiveBox/archivebox/machine/models.py:21 in <module>                      │
│                                                                                                  │
│    18 import archivebox                                                                          │
│    19                                                                                            │
│    20 from abx_pkg import Binary, BinProvider                                                    │
│ ❱  21 from archivebox.base_models.models import ABIDModel, ABIDField, AutoDateTimeField, Model   │
│    22                                                                                            │
│    23 from .detect import get_host_guid, get_os_info, get_vm_info, get_host_network, get_host_   │
│    24                                                                                            │
│                                                                                                  │
│ /home/blastrock/work/ArchiveBox/archivebox/base_models/models.py:32 in <module>                  │
│                                                                                                  │
│    29                                                                                            │
│    30 from django_stubs_ext.db.models import TypedModelMeta                                      │
│    31                                                                                            │
│ ❱  32 from tags.models import KVTag, ModelWithKVTags                                             │
│    33                                                                                            │
│    34 from archivebox import DATA_DIR                                                            │
│    35 from archivebox.index.json import to_json                                                  │
│                                                                                                  │
│ /home/blastrock/work/ArchiveBox/archivebox/tags/models.py:21 in <module>                         │
│                                                                                                  │
│    18 from django.contrib.contenttypes.fields import GenericRelation                             │
│    19                                                                                            │
│    20                                                                                            │
│ ❱  21 from base_models.models import ABIDModel, ABIDField, AutoDateTimeField, get_or_create_sy   │
│    22                                                                                            │
│    23 FORBIDDEN_TAG_CHARS = ('=', '\n', '\t', '\r', ',', '\'', '"', '\\')                        │
│    24                                                                                            │
│                                                                                                  │
│ /home/blastrock/work/ArchiveBox/archivebox/base_models/models.py:32 in <module>                  │
│                                                                                                  │
│    29                                                                                            │
│    30 from django_stubs_ext.db.models import TypedModelMeta                                      │
│    31                                                                                            │
│ ❱  32 from tags.models import KVTag, ModelWithKVTags                                             │
│    33                                                                                            │
│    34 from archivebox import DATA_DIR                                                            │
│    35 from archivebox.index.json import to_json                                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ImportError: cannot import name 'KVTag' from partially initialized module 'tags.models' (most likely due to a 
circular import) (/home/blastrock/work/ArchiveBox/archivebox/tags/models.py)

[truncated because of github]

ArchiveBox Version

0.8.6rc3
ArchiveBox v0.8.6rc3 COMMIT_HASH=12f109b BUILD_TIME=2025-01-19 12:44:05 1737290645
IN_DOCKER=False IN_QEMU=False ARCH=x86_64 OS=Linux PLATFORM=Linux-6.12.9-amd64-x86_64-with-glibc2.40 
PYTHON=Cpython (venv)
EUID=1000:1000 UID=1000:1000 PUID=1000:1000 FS_UID=1000:1000 FS_PERMS=644 FS_ATOMIC=True FS_REMOTE=False
DEBUG=False IS_TTY=True SUDO=False ID=c8bf76cc:03683fad SEARCH_BACKEND=ripgrep LDAP=False

 Binary Dependencies:
$ /home/blastrock/work/ArchiveBox/data/lib/x86_64-linux/pip/venv/bin/python install --cache-dir=/home/blastrock/.cache/pip --upgrade pip setuptools
 √  python                3.11.11      venv_pip   ~/work/ArchiveBox/.venv/bin/python
 √  django                5.1.4        venv_pip   ~/work/ArchiveBox/.venv/lib/python3.11/site-packages/django/__init__.py
 √  sqlite                2.6.0        venv_pip   ~/work/ArchiveBox/.venv/lib/python3.11/site-packages/django/db/backends/sqlite3/base.py
 √  pip                   24.3.1       lib_pip    ./lib/x86_64-linux/pip/venv/bin/pip
 √  pipx                  1.7.1        sys_pip    /usr/bin/pipx
 √  yt-dlp                2024.12.3    venv_pip   ~/work/ArchiveBox/.venv/bin/yt-dlp
 √  ffmpeg                7.1.3        env        /usr/bin/ffmpeg
 √  wget                  1.24.5       apt        /usr/bin/wget
 X  sonic                 None         not found  None of the configured providers (brew, env) were able to load binary: sonic ERRORS={}
 X  single-file           None         not found  None of the configured providers (lib_npm, sys_npm, env) were able to load binary: single-file ERRORS={}
 √  rg                    14.1.1       apt        /usr/bin/rg
 X  readability-extractor None         not found  None of the configured providers (lib_npm, sys_npm, env) were able to load binary: readability-extractor ERRORS={}
 X  puppeteer             None         not found  None of the configured providers (lib_npm, sys_npm, env) were able to load binary: puppeteer ERRORS={}
 X  playwright            None         not found  None of the configured providers (lib_pip, venv_pip, sys_pip, env) were able to load binary: playwright ERRORS={}
 √  node                  20.18.1      apt        /usr/bin/node
 √  npm                   9.2.0        apt        /usr/bin/npm
 √  npx                   9.2.0        apt        /usr/bin/npx
 X  postlight-parser      None         not found  None of the configured providers (lib_npm, sys_npm, env) were able to load binary: postlight-parser ERRORS={}
 √  ldap                  3.4.4        venv_pip   ~/work/ArchiveBox/.venv/lib/python3.11/site-packages/ldap/__init__.py
 √  git                   2.47.1       apt        /usr/bin/git
 √  curl                  8.11.1       apt        /usr/bin/curl
 √  chrome                132.0.6834   env        /usr/bin/chromium

 Package Managers:
 √  apt         /usr/bin/apt-get                                     UID=0    PATH=/usr/bin
 -  brew        not available                                        UID=1000 PATH=
 √  env         /usr/bin/which                                       UID=0    PATH=~/work/ArchiveBox/.venv/bin:…
 √  puppeteer   /usr/bin/npx                                         UID=1000 PATH=./lib/x86_64-linux/bin
 -  playwright  not available                                        UID=1000 PATH=./lib/x86_64-linux/bin:~/wor…
 √  sys_npm     /usr/bin/npm                                         UID=1000 PATH=~/.local/bin
 √  lib_npm     /usr/bin/npm                                         UID=1000 PATH=./lib/x86_64-linux/npm/node_…
 √  sys_pip     ~/.local/share/uv/python/cpython-3.11.11-linux-x86_64-gnu/bin/pip UID=1000 PATH=~/.local/share/…
 √  venv_pip    ~/work/ArchiveBox/.venv/bin/pip                      UID=1000 PATH=~/work/ArchiveBox/.venv/bin
 √  lib_pip     ./lib/x86_64-linux/pip/venv/bin/pip                  UID=1000 PATH=/usr/local/share/abx/pip/ven…

 Code locations:
 √  PACKAGE_DIR           27 files        valid     ~/work/ArchiveBox/archivebox                                
 √  TEMPLATES_DIR         3 files         valid     ~/work/ArchiveBox/archivebox/templates                      
 -  CUSTOM_TEMPLATES_DIR  missing         unused    ./user_templates                       
 -  USER_PLUGINS_DIR      missing         unused    ./user_plugins                         
 √  LIB_DIR               3 files         valid     ./lib/x86_64-linux                     

 Data locations:
 √  DATA_DIR              8 files         valid     ~/work/ArchiveBox/data                                      
 √  CONFIG_FILE           139.0 Bytes     valid     ./ArchiveBox.conf                      
 X  SQL_INDEX             missing         invalid   ./index.sqlite3                        
 √  QUEUE_DATABASE        28.0 KB         valid     ./queue.sqlite3                        
 √  ARCHIVE_DIR           0 files         valid     ./archive                              
 √  SOURCES_DIR           0 files         valid     ./sources                              
 -  PERSONAS_DIR          missing         unused    ./personas                             
 √  LOGS_DIR              1 files         valid     ./logs                                 
 X  TMP_DIR               missing         invalid   ./tmp/c8bf76cc

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

Other

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


Originally created by @blastrock on GitHub (Jan 19, 2025). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1636 Originally assigned to: @pirate on GitHub. ### Provide a screenshot and describe the bug I'd like to contribute but I have trouble setting up my env. I followed the readme: ``` # Install ArchiveBox + python dependencies pip install uv ./bin/lock_pkgs.sh # (aka `uv venv; uv sync;` + generate requirements.txt) # Install ArchiveBox runtime dependencies mkdir -p data && cd data archivebox install # on >=v0.8.5 (otherwise `archivebox setup`) ``` The last line does not work, and I'm not sure how it's supposed to. Instead I ran `uv run -- archivebox install`, was I correct in doing that? EDIT: I have the same issue when following the docker instructions. ### Steps to reproduce ```markdown 1. Go to dev branch (currently 12f109b) 2. `bin/lock_pkgs.sh` 3. `mkdir -p data && cd data` 4. `uv run -- archivebox install` ``` ### Logs or errors ```shell Built archivebox @ file:///home/blastrock/work/ArchiveBox Uninstalled 32 packages in 161ms Installed 32 packages in 100ms [+] Initializing a new ArchiveBox v0.8.6rc3 collection... ---------------------------------------------------------------------- [+] Building archive folder structure... + ./archive, ./sources, ./logs... + ./ArchiveBox.conf... [+] Building main SQL index and running initial migrations... ╭───────────────────────────────── [X] Error while trying to load database! ─────────────────────────────────╮ │ │ │ ImportError: cannot import name 'KVTag' from partially initialized module 'tags.models' (most likely due to │ │ a circular import) (/home/blastrock/work/ArchiveBox/archivebox/tags/models.py) │ │ Please check your config and DATA_DIR permissions. │ │ │ ╰───────────────────────────────────────── NO WRITES CAN BE PERFORMED ─────────────────────────────────────────╯ ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /home/blastrock/work/ArchiveBox/archivebox/config/django.py:96 in setup_django │ │ │ │ 93 │ │ │ │ # Otherwise use default sqlite3 file-based database and initialize djang │ │ 94 │ │ │ │ # without running migrations automatically (user runs them manually by c │ │ 95 │ │ │ │ try: │ │ ❱ 96 │ │ │ │ │ django.setup() │ │ 97 │ │ │ │ except Exception as e: │ │ 98 │ │ │ │ │ bump_startup_progress_bar(advance=1000) │ │ 99 │ │ │ │ /home/blastrock/work/ArchiveBox/.venv/lib/python3.11/site-packages/django/__init__.py:24 in │ │ setup │ │ │ │ 21 │ │ set_script_prefix( │ │ 22 │ │ │ "/" if settings.FORCE_SCRIPT_NAME is None else settings.FORCE_SCRIPT_NAME │ │ 23 │ │ ) │ │ ❱ 24 │ apps.populate(settings.INSTALLED_APPS) │ │ 25 │ │ │ │ /home/blastrock/work/ArchiveBox/.venv/lib/python3.11/site-packages/django/apps/registry.py:116 │ │ in populate │ │ │ │ 113 │ │ │ │ │ 114 │ │ │ # Phase 2: import models modules. │ │ 115 │ │ │ for app_config in self.app_configs.values(): │ │ ❱ 116 │ │ │ │ app_config.import_models() │ │ 117 │ │ │ │ │ 118 │ │ │ self.clear_cache() │ │ 119 │ │ │ │ /home/blastrock/work/ArchiveBox/.venv/lib/python3.11/site-packages/django/apps/config.py:269 in │ │ import_models │ │ │ │ 266 │ │ │ │ 267 │ │ if module_has_submodule(self.module, MODELS_MODULE_NAME): │ │ 268 │ │ │ models_module_name = "%s.%s" % (self.name, MODELS_MODULE_NAME) │ │ ❱ 269 │ │ │ self.models_module = import_module(models_module_name) │ │ 270 │ │ │ 271 │ def ready(self): │ │ 272 │ │ """ │ │ │ │ /home/blastrock/.local/share/uv/python/cpython-3.11.11-linux-x86_64-gnu/lib/python3.11/importlib │ │ /__init__.py:126 in import_module │ │ │ │ 123 │ │ │ if character != '.': │ │ 124 │ │ │ │ break │ │ 125 │ │ │ level += 1 │ │ ❱ 126 │ return _bootstrap._gcd_import(name[level:], package, level) │ │ 127 │ │ 128 │ │ 129 _RELOADING = {} │ │ in _gcd_import:1204 │ │ in _find_and_load:1176 │ │ in _find_and_load_unlocked:1147 │ │ in _load_unlocked:690 │ │ in exec_module:940 │ │ in _call_with_frames_removed:241 │ │ │ │ /home/blastrock/work/ArchiveBox/archivebox/machine/models.py:21 in <module> │ │ │ │ 18 import archivebox │ │ 19 │ │ 20 from abx_pkg import Binary, BinProvider │ │ ❱ 21 from archivebox.base_models.models import ABIDModel, ABIDField, AutoDateTimeField, Model │ │ 22 │ │ 23 from .detect import get_host_guid, get_os_info, get_vm_info, get_host_network, get_host_ │ │ 24 │ │ │ │ /home/blastrock/work/ArchiveBox/archivebox/base_models/models.py:32 in <module> │ │ │ │ 29 │ │ 30 from django_stubs_ext.db.models import TypedModelMeta │ │ 31 │ │ ❱ 32 from tags.models import KVTag, ModelWithKVTags │ │ 33 │ │ 34 from archivebox import DATA_DIR │ │ 35 from archivebox.index.json import to_json │ │ │ │ /home/blastrock/work/ArchiveBox/archivebox/tags/models.py:21 in <module> │ │ │ │ 18 from django.contrib.contenttypes.fields import GenericRelation │ │ 19 │ │ 20 │ │ ❱ 21 from base_models.models import ABIDModel, ABIDField, AutoDateTimeField, get_or_create_sy │ │ 22 │ │ 23 FORBIDDEN_TAG_CHARS = ('=', '\n', '\t', '\r', ',', '\'', '"', '\\') │ │ 24 │ │ │ │ /home/blastrock/work/ArchiveBox/archivebox/base_models/models.py:32 in <module> │ │ │ │ 29 │ │ 30 from django_stubs_ext.db.models import TypedModelMeta │ │ 31 │ │ ❱ 32 from tags.models import KVTag, ModelWithKVTags │ │ 33 │ │ 34 from archivebox import DATA_DIR │ │ 35 from archivebox.index.json import to_json │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ImportError: cannot import name 'KVTag' from partially initialized module 'tags.models' (most likely due to a circular import) (/home/blastrock/work/ArchiveBox/archivebox/tags/models.py) [truncated because of github] ``` ### ArchiveBox Version ```shell 0.8.6rc3 ArchiveBox v0.8.6rc3 COMMIT_HASH=12f109b BUILD_TIME=2025-01-19 12:44:05 1737290645 IN_DOCKER=False IN_QEMU=False ARCH=x86_64 OS=Linux PLATFORM=Linux-6.12.9-amd64-x86_64-with-glibc2.40 PYTHON=Cpython (venv) EUID=1000:1000 UID=1000:1000 PUID=1000:1000 FS_UID=1000:1000 FS_PERMS=644 FS_ATOMIC=True FS_REMOTE=False DEBUG=False IS_TTY=True SUDO=False ID=c8bf76cc:03683fad SEARCH_BACKEND=ripgrep LDAP=False Binary Dependencies: $ /home/blastrock/work/ArchiveBox/data/lib/x86_64-linux/pip/venv/bin/python install --cache-dir=/home/blastrock/.cache/pip --upgrade pip setuptools √ python 3.11.11 venv_pip ~/work/ArchiveBox/.venv/bin/python √ django 5.1.4 venv_pip ~/work/ArchiveBox/.venv/lib/python3.11/site-packages/django/__init__.py √ sqlite 2.6.0 venv_pip ~/work/ArchiveBox/.venv/lib/python3.11/site-packages/django/db/backends/sqlite3/base.py √ pip 24.3.1 lib_pip ./lib/x86_64-linux/pip/venv/bin/pip √ pipx 1.7.1 sys_pip /usr/bin/pipx √ yt-dlp 2024.12.3 venv_pip ~/work/ArchiveBox/.venv/bin/yt-dlp √ ffmpeg 7.1.3 env /usr/bin/ffmpeg √ wget 1.24.5 apt /usr/bin/wget X sonic None not found None of the configured providers (brew, env) were able to load binary: sonic ERRORS={} X single-file None not found None of the configured providers (lib_npm, sys_npm, env) were able to load binary: single-file ERRORS={} √ rg 14.1.1 apt /usr/bin/rg X readability-extractor None not found None of the configured providers (lib_npm, sys_npm, env) were able to load binary: readability-extractor ERRORS={} X puppeteer None not found None of the configured providers (lib_npm, sys_npm, env) were able to load binary: puppeteer ERRORS={} X playwright None not found None of the configured providers (lib_pip, venv_pip, sys_pip, env) were able to load binary: playwright ERRORS={} √ node 20.18.1 apt /usr/bin/node √ npm 9.2.0 apt /usr/bin/npm √ npx 9.2.0 apt /usr/bin/npx X postlight-parser None not found None of the configured providers (lib_npm, sys_npm, env) were able to load binary: postlight-parser ERRORS={} √ ldap 3.4.4 venv_pip ~/work/ArchiveBox/.venv/lib/python3.11/site-packages/ldap/__init__.py √ git 2.47.1 apt /usr/bin/git √ curl 8.11.1 apt /usr/bin/curl √ chrome 132.0.6834 env /usr/bin/chromium Package Managers: √ apt /usr/bin/apt-get UID=0 PATH=/usr/bin - brew not available UID=1000 PATH= √ env /usr/bin/which UID=0 PATH=~/work/ArchiveBox/.venv/bin:… √ puppeteer /usr/bin/npx UID=1000 PATH=./lib/x86_64-linux/bin - playwright not available UID=1000 PATH=./lib/x86_64-linux/bin:~/wor… √ sys_npm /usr/bin/npm UID=1000 PATH=~/.local/bin √ lib_npm /usr/bin/npm UID=1000 PATH=./lib/x86_64-linux/npm/node_… √ sys_pip ~/.local/share/uv/python/cpython-3.11.11-linux-x86_64-gnu/bin/pip UID=1000 PATH=~/.local/share/… √ venv_pip ~/work/ArchiveBox/.venv/bin/pip UID=1000 PATH=~/work/ArchiveBox/.venv/bin √ lib_pip ./lib/x86_64-linux/pip/venv/bin/pip UID=1000 PATH=/usr/local/share/abx/pip/ven… Code locations: √ PACKAGE_DIR 27 files valid ~/work/ArchiveBox/archivebox √ TEMPLATES_DIR 3 files valid ~/work/ArchiveBox/archivebox/templates - CUSTOM_TEMPLATES_DIR missing unused ./user_templates - USER_PLUGINS_DIR missing unused ./user_plugins √ LIB_DIR 3 files valid ./lib/x86_64-linux Data locations: √ DATA_DIR 8 files valid ~/work/ArchiveBox/data √ CONFIG_FILE 139.0 Bytes valid ./ArchiveBox.conf X SQL_INDEX missing invalid ./index.sqlite3 √ QUEUE_DATABASE 28.0 KB valid ./queue.sqlite3 √ ARCHIVE_DIR 0 files valid ./archive √ SOURCES_DIR 0 files valid ./sources - PERSONAS_DIR missing unused ./personas √ LOGS_DIR 1 files valid ./logs X TMP_DIR missing invalid ./tmp/c8bf76cc ``` ### How did you install the version of ArchiveBox you are using? Other ### 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 ```shell ``` ### ArchiveBox Configuration ```shell ```
kerem closed this issue 2026-03-01 14:47:42 +03:00
Author
Owner

@pirate commented on GitHub (Jan 19, 2025):

Sorry dev is kinda broken right now, I recommend working off of the v0.8.5rc51 tag.

<!-- gh-comment-id:2600927531 --> @pirate commented on GitHub (Jan 19, 2025): Sorry dev is kinda broken right now, I recommend working off of the `v0.8.5rc51` tag.
Author
Owner

@blastrock commented on GitHub (Jan 19, 2025):

Ok, I'll try that, thank you!

<!-- gh-comment-id:2600959442 --> @blastrock commented on GitHub (Jan 19, 2025): Ok, I'll try that, thank you!
Author
Owner

@hoangquochung1110 commented on GitHub (Jan 27, 2025):

Hi @pirate any progress for this issue ?

I think we may split base_models/models into submodules to avoid circular imports

For example,

models
├── __init__.py
├── abid.py
├── note.py
└── read_only.py

What do you think ?

<!-- gh-comment-id:2615104232 --> @hoangquochung1110 commented on GitHub (Jan 27, 2025): Hi @pirate any progress for this issue ? I think we may split `base_models/models` into submodules to avoid circular imports For example, ``` models ├── __init__.py ├── abid.py ├── note.py └── read_only.py ``` What do you think ?
Author
Owner

@hoangquochung1110 commented on GitHub (Feb 21, 2025):

Any updates on this ? thanks

<!-- gh-comment-id:2674780687 --> @hoangquochung1110 commented on GitHub (Feb 21, 2025): Any updates on this ? thanks
Author
Owner

@pirate commented on GitHub (Dec 30, 2025):

fixed

<!-- gh-comment-id:3700533869 --> @pirate commented on GitHub (Dec 30, 2025): fixed
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#981
No description provided.