mirror of
https://github.com/reconurge/flowsint.git
synced 2026-03-12 09:54:46 -05:00
api won't start #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nerblock on GitHub (Oct 26, 2025).
Trying to start the api but no cake:
@dextmorgn commented on GitHub (Oct 26, 2025):
Hey nerblock,
Could you show the output of
poetry run python -m pip list | grep flowsint?Otherwise, make sure you run
poetry installin all py packages :@nerblock commented on GitHub (Oct 26, 2025):
no output..
done
this gives me an error:
@dextmorgn commented on GitHub (Oct 26, 2025):
if
poetry run python -m pip list | grep flowsintreturns nothing, I'm suspecting a mismatch in your python environment. Maybe you're using your local python binary instead of the virtual env one.If you want to debug more, try seeing if those don't reference your
/home/user/.local/lib/python3.11instead of the.venv. Try running :And the one returned by
poetry run which pythonshould be the same.If you don't feel like debugging, try removing the
.venvfolder withrm -rf .venvand relauch the install withmake devcommand.Let me know !
@nerblock commented on GitHub (Oct 26, 2025):
This is what I get:
Will try to remove .venv and report back.
@nerblock commented on GitHub (Oct 26, 2025):
Ok so I removed .venv and I get this error now which is weird because it ran successfully with python 3.11 before:
@dextmorgn commented on GitHub (Oct 26, 2025):
Great, can you comment line #41 in the
Makefileand runrm -rf .venv && make devagain ?Basically remove the
poetry env use python3.12from the install.This was forcing the usage of a particular python version but cannot work if not installed on the host machine.
Let me know if this works, so that I can update the Makefile to make it less restrictive.
@nerblock commented on GitHub (Oct 26, 2025):
Ok, there is some progress... I removed the 3.12 line and ran
apt install build-essential cmake pkg-configbecause of build errors, and now its missing cairo:@nerblock commented on GitHub (Oct 26, 2025):
So it needed
apt install libcairo2-devto continue. And now it fails with:@dextmorgn commented on GitHub (Oct 26, 2025):
Mhhh. I will be working on a fully dockerized env in the next few days to avoid this kind of problem.
@nerblock commented on GitHub (Oct 26, 2025):
It needed
apt install python3.11-dev. 🤦♂️@nerblock commented on GitHub (Oct 26, 2025):
So it built everything successfully, but now I get this error... 😅
@nerblock commented on GitHub (Oct 27, 2025):
Ok, so I removed the double quotes inside the double quotes from /whoxy.py, then this error came up when registering:
I followed this post and replaced the get_password_hash and verify_password functions with the bcrypt only implementation. Now registration works but I cant login:
@dextmorgn commented on GitHub (Oct 27, 2025):
I think the best solution for you would be tu upgrade your python version to python3.12 + and re-start the install
@dextmorgn commented on GitHub (Oct 27, 2025):
@nerblock, I updated the deploy so that now everything works in docker environment. Rebase your branch and run
make devto dev ormake prodfor production and you should be fine ! Let me know if this works so I can close the issue.@nerblock commented on GitHub (Oct 28, 2025):
I can confirm
make prodworks as expected. Thank you for the assistance, closing this!