Donkie / Spoolman

Keep track of your inventory of 3D-printer filament spools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing requirements.txt leads to failing install

dw-0 opened this issue · comments

commented

Describe the bug
When executing install_debian.sh, the script will fail here:
https://github.com/Donkie/Spoolman/blob/v0.16.1/scripts/install_debian.sh#L153
As it will not find the expected requirements.txt

pi@minion:~/Spoolman $ bash ./scripts/install_debian.sh
Python 3.9 or later is installed (Current version: 3.9.2)
Updating apt-get cache...
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Reading package lists... Done
Updating pip...
Pip updated successfully.
Installing system-wide pip packages needed for Spoolman...
Installing Spoolman backend and its dependencies...
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

To Reproduce
Steps to reproduce the behavior:

  1. Execute install_debian.sh script.
  2. Wait :)

Expected behavior
A requirements.txt file present, if it holds necessary dependencies

requirements are generated during packaging the release. see the release files zip and take the file from there.

see

pdm export -o requirements.txt --without-hashes > requirements.txt

As @rufinus said, you need to download the .zip from the release page:
https://github.com/Donkie/Spoolman/releases/tag/v0.16.1

spoolman.zip here:
image

commented

I see, my bad. Sorry. I did a git pull (was on v0.13.x), checked out the recent tag and thought it should work when i run the script ^^ i was taught better. Thanks.