[GH-ISSUE #1173] Incompatibility: atomicwrites from ArchLinux #2239

Closed
opened 2026-03-01 17:57:34 +03:00 by kerem · 2 comments
Owner

Originally created by @meerfrau on GitHub (Jul 9, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1173

Describe the bug

  File "/usr/lib/python3.10/site-packages/archivebox/cli/archivebox_status.py", line 11, in <module>
    from ..main import status
  File "/usr/lib/python3.10/site-packages/archivebox/main.py", line 23, in <module>
    from .parsers import (
  File "/usr/lib/python3.10/site-packages/archivebox/parsers/__init__.py", line 17, in <module>
    from ..system import atomic_write
  File "/usr/lib/python3.10/site-packages/archivebox/system.py", line 14, in <module>
    from .vendor.atomicwrites import atomic_write as lib_atomic_write
ModuleNotFoundError: No module named 'archivebox.vendor.atomicwrites'

My atomicwrites is at /usr/lib/python3.10/site-packages/atomicwrites/ ˝– where does ArchiveBox expects it?

Steps to reproduce

Python 3.10
python setup.py install --root="$pkgdir" --optimize=1
./archivebox

ArchiveBox version

git master

Originally created by @meerfrau on GitHub (Jul 9, 2023). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1173 #### Describe the bug ``` File "/usr/lib/python3.10/site-packages/archivebox/cli/archivebox_status.py", line 11, in <module> from ..main import status File "/usr/lib/python3.10/site-packages/archivebox/main.py", line 23, in <module> from .parsers import ( File "/usr/lib/python3.10/site-packages/archivebox/parsers/__init__.py", line 17, in <module> from ..system import atomic_write File "/usr/lib/python3.10/site-packages/archivebox/system.py", line 14, in <module> from .vendor.atomicwrites import atomic_write as lib_atomic_write ModuleNotFoundError: No module named 'archivebox.vendor.atomicwrites' ``` My atomicwrites is at `/usr/lib/python3.10/site-packages/atomicwrites/` ˝– where does ArchiveBox expects it? #### Steps to reproduce Python 3.10 `python setup.py install --root="$pkgdir" --optimize=1` ./archivebox #### ArchiveBox version git master
kerem closed this issue 2026-03-01 17:57:34 +03:00
Author
Owner

@pirate commented on GitHub (Jul 9, 2023):

Make sure you clone the submodules, this error usually shows up when the repo is cloned without the submodules pulled.

See the Setup the dev environment section at the bottom of the README for instructions.

(We vendor it so it's not going to use Arch Linux's version.)

<!-- gh-comment-id:1627749856 --> @pirate commented on GitHub (Jul 9, 2023): Make sure you clone the submodules, this error usually shows up when the repo is cloned without the submodules pulled. See the `Setup the dev environment` section at the bottom of the README for instructions. (We vendor it so it's not going to use Arch Linux's version.)
Author
Owner

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

Closing as stale

<!-- gh-comment-id:1899640757 --> @pirate commented on GitHub (Jan 19, 2024): Closing as stale
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#2239
No description provided.