GithubHelp home page GithubHelp logo

Bug: Docker build failing about archivebox HOT 4 OPEN

jamesob avatar jamesob commented on June 24, 2024
Bug: Docker build failing

from archivebox.

Comments (4)

jamesob avatar jamesob commented on June 24, 2024
$ uname -a
Linux zzz 6.1.0-16-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.67-1 (2023-12-12) x86_64 GNU/Linux

from archivebox.

jamesob avatar jamesob commented on June 24, 2024

Applied this diff:

diff --git a/Dockerfile b/Dockerfile
index 8a537a88..e837acc9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -253,7 +253,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$T
     echo "[+] Installing PIP ArchiveBox dependencies from requirements.txt for ${TARGETPLATFORM}..." \
     && apt-get update -qq \
     && apt-get install -qq -y -t bookworm-backports \
-        # build-essential \
+        build-essential python3-dev slapd ldap-utils \
         libssl-dev libldap2-dev libsasl2-dev \
         python3-ldap python3-msgpack python3-mutagen python3-regex python3-pycryptodome procps \
     # && ln -s "$GLOBAL_VENV" "$APP_VENV" \

Got past the previous issue, onto a new error:

 > [stage-0 22/23] RUN "/app"/bin/docker_entrypoint.sh version 2>&1 | tee -a /VERSION.txt:
#26 2.209 Traceback (most recent call last):
#26 2.209   File "/usr/local/bin/archivebox", line 5, in <module>
#26 2.209     from archivebox.cli import main
#26 2.209   File "/app/archivebox/cli/__init__.py", line 83, in <module>
#26 2.209     SUBCOMMANDS = list_subcommands()
#26 2.209                   ^^^^^^^^^^^^^^^^^^
#26 2.209   File "/app/archivebox/cli/__init__.py", line 43, in list_subcommands
#26 2.209     module = import_module('.archivebox_{}'.format(subcommand), __package__)
#26 2.209              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#26 2.210   File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
#26 2.210     return _bootstrap._gcd_import(name[level:], package, level)
#26 2.210            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#26 2.210   File "/app/archivebox/cli/archivebox_init.py", line 11, in <module>
#26 2.210     from ..main import init
#26 2.210   File "/app/archivebox/main.py", line 23, in <module>
#26 2.210     from .parsers import (
#26 2.210   File "/app/archivebox/parsers/__init__.py", line 16, in <module>
#26 2.210     from ..system import atomic_write
#26 2.210   File "/app/archivebox/system.py", line 14, in <module>
#26 2.210     from .vendor.atomicwrites import atomic_write as lib_atomic_write
#26 2.210 ModuleNotFoundError: No module named 'archivebox.vendor.atomicwrites'
------
executor failed running [/bin/bash -o pipefail -o errexit -o errtrace -o nounset -c "$CODE_DIR"/bin/docker_entrypoint.sh version 2>&1 | tee -a /VERSION.txt]: exit code: 1

from archivebox.

pirate avatar pirate commented on June 24, 2024

It's under active heavy development right now sorry, I am changing the primary keys of the core models to UUIDs/ a new system called ABIDs, so it's going to be on-and-off broken for at least a few weeks. Hang tight and use the tagged v0.8.0-rc pre-release or v0.7.2 for now!

from archivebox.

jamesob avatar jamesob commented on June 24, 2024

Definitely not trying to tell you how to run your show and very appreciative of the work here, but might be worth keeping build-breaking changes to some kind of dev branch. I'm sure you may have your reasons though.

from archivebox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.