martomi / chiadog

A watch dog providing a peace in mind that your Chia farm is running smoothly 24/7.
MIT License
457 stars 120 forks source link

pygtail is not in venv #212

Closed ojura closed 3 years ago

ojura commented 3 years ago

Describe the bug

When running start.sh, I get: ModuleNotFoundError: No module named 'pygtail' Tested at 429b90c

Environment:

pieterhelsen commented 3 years ago

Did you run install.sh after you updated to the new version?

ojura commented 3 years ago

Ah, I haven't. But I tried pip3 install pygtail and it still wouldn't find it, presumably because it was installed into .local and not into the venv.

Perhaps notify users that they need to run install.sh? I easily missed it, especially since I was able to run it before without that.

pieterhelsen commented 3 years ago

I would indeed expect that it is due to the installation to local instead of venv. Were you able to resolve the issue running install.sh?

The install.sh procedure is mentioned the upgrade instructions here. How can improve further on the documentation?

ojura commented 3 years ago

Yes, it has of course fixed the problem, and the documentation is adequate. However, the problem was that I haven't looked at the documentation :) My suggestion was something like printing a reminder to the user to run install.sh (and if pygtail is missing) if they skipped looking at the docs like I did.