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

Dockerfile - Organize Build Errors & Failed Install ? #410

Open
nodecentral opened this issue Aug 25, 2024 · 0 comments
Open

Dockerfile - Organize Build Errors & Failed Install ? #410

nodecentral opened this issue Aug 25, 2024 · 0 comments
Labels

Comments

@nodecentral
Copy link

nodecentral commented Aug 25, 2024

Describe the bug

When following the Docker installation guide https://tfeldmann.github.io/organize/docker/ the install returns the following errors

Step 6

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Step 6/16 : RUN pip install "poetry==1.7.1" &&     python -m venv ${VIRTUAL_ENV}

[…]

Installing collected packages: trove-classifiers, ptyprocess, fastjsonschema, distlib, zipp, urllib3, tomlkit, shellingham, rapidfuzz, pyproject-hooks, pycparser, poetry-core, platformdirs, pkginfo, pexpect, packaging, msgpack, more-itertools, jeepney, installer, idna, filelock, crashtest, charset-normalizer, certifi, virtualenv, requests, jaraco.classes, importlib-metadata, dulwich, cleo, cffi, build, requests-toolbelt, cryptography, cachecontrol, SecretStorage, keyring, poetry-plugin-export, poetry
Successfully installed SecretStorage-3.3.3 build-1.2.1 cachecontrol-0.13.1 certifi-2024.7.4 cffi-1.17.0 charset-normalizer-3.3.2 cleo-2.1.0 crashtest-0.4.1 cryptography-43.0.0 distlib-0.3.8 dulwich-0.21.7 fastjsonschema-2.20.0 filelock-3.15.4 idna-3.8 importlib-metadata-8.4.0 installer-0.7.0 jaraco.classes-3.4.0 jeepney-0.8.0 keyring-24.3.1 more-itertools-10.4.0 msgpack-1.0.8 packaging-24.1 pexpect-4.9.0 pkginfo-1.11.1 platformdirs-3.11.0 poetry-1.7.1 poetry-core-1.8.1 poetry-plugin-export-1.6.0 ptyprocess-0.7.0 pycparser-2.22 pyproject-hooks-1.1.0 rapidfuzz-3.9.6 requests-2.32.3 requests-toolbelt-1.0.0 shellingham-1.5.4 tomlkit-0.13.2 trove-classifiers-2024.7.2 urllib3-2.2.2 virtualenv-20.26.3 zipp-3.20.0

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

And Step 8

The current project could not be installed: [Errno 2] No such file or directory: '/app/README.md'
If you do not want to install the current project use --no-root

Step 8/16 : RUN poetry install --only=main --no-interaction
 ---> Running in 6f8784acf593
Installing dependencies from lock file

Package operations: 27 installs, 0 updates, 0 removals

  • Installing six (1.16.0)
  • Installing markupsafe (2.0.1)
  • Installing platformdirs (4.2.2)
  • Installing python-dateutil (2.9.0.post0)
  • Installing pyyaml (6.0.1)
  • Installing jinja2 (3.1.4)
  • Installing pycparser (2.22)
  • Installing cffi (1.16.0)
  • Installing mdurl (0.1.2)
  • Installing typing-extensions (4.12.2)
  • Installing annotated-types (0.7.0)
  • Installing charset-normalizer (3.3.2)
  • Installing cryptography (42.0.8)
  • Installing markdown-it-py (3.0.0)
  • Installing pydantic-core (2.20.1)
  • Installing pygments (2.18.0)
  • Installing types-python-dateutil (2.9.0.20240316)
  • Installing arrow (1.3.0)
  • Installing docopt-ng (0.9.0)
  • Installing docx2txt (0.8)
  • Installing exifread (2.3.2)
  • Installing natsort (8.4.0)
  • Installing pdfminer-six (20231228)
  • Installing pydantic (2.8.2)
  • Installing rich (13.7.1)
  • Installing send2trash (1.8.3)
  • Installing simplematch (1.4)

Installing the current project: organize-tool (3.2.5)

The current project could not be installed: [Errno 2] No such file or directory: '/app/README.md'
If you do not want to install the current project use --no-root

And then when trying to run the container, it returns the following error..

No module named organize.main; 'organize' is a package and cannot be directly executed

[/share/Container/organize/organize] # docker run organize
/venv/bin/python: No module named organize.__main__; 'organize' is a package and cannot be directly executed
[/share/Container/organize/organize] #
  • OS: = Linux QNAP
  • Dockerfile from repo.
@nodecentral nodecentral changed the title Dockerfile - Build Errors Dockerfile - Organize Build Errors & Failed Install ? Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant