-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
[BUG]: Watchdog issue - following upgrade from 4.1 to 4.2 #679
Comments
Hmm, are you sure? Because the new Sensiron driver is only available in the 4.x.y.z branch, which is kind of development. So in the main branch, this driver is not used yet, and should not need the Sensiron driver ( https://github.com/theyosh/TerrariumPI/blob/main/hardware/sensor/sht2x_sensor.py ) . The 4.x.y.z branch does have the Sensiron driver in the requirements: https://github.com/theyosh/TerrariumPI/blob/4.x.y.z/requirements.txt#L50 So I get the felling you have not the latest code if you want to run on the 4.x.y.z branch. Or you should switch back to the main branch, and update that with a git pull. My suggestion is to go back to the main branch and do a git pull and rerun the installer. That should do the trick |
Hmm, the sensirion_i2c_driver is indeed missing. Strange, I thought it would be installed with the other Sensiron driver. But this is fixed now. But still this is in the 4.x.y.z branch, not the main branch |
Mark, is this still an issue? The main branch should just work, and the 4.x.y.z also if you rerun the installer after pulling the latest code. |
@theyosh I just did a git pull and ended up with this issue. How can I install the missing modules? P.S. I'm on X.Y.Z |
Here's error for your info:
|
first activate python virtual env: then install the following:
Then it should work |
Indeed, I just sorted it. Thanks! |
But it is still strange... in the 4.x.y.z they should be installed with the installer: https://github.com/theyosh/TerrariumPI/blob/4.x.y.z/requirements.txt#L50-L51= |
Hi Joshua, No I fixed it myself, I just raised this to make you aware of it and it seems someone else has had the issue. It is weird, when I was first installing your software when is was just 4.0.0 I had similar weird things you helped with. I'm happy for you to close as it doesn't seem too common. Cheers |
Then I am for closing. It is possible to search in closed issues as well. So people should then do a bit more research ;) The problem self should be fixed, that is the main thing to fix. And I think I did, so I close it then now. Thanks for the response |
Hi Joshua,
Just upgraded to 4.2 after waiting a while - but the service isn't able to start:
Debugged and found missing modules:
sensirion_i2c_sht
sensirion_i2c_driver
went into venv and pip3 installed them and resolved :) I'm getting better!
Just thought you should know. Checked requirements.txt:
pi@pi-terrearium:~/TerrariumPI $ cat requirements.txt | grep sensirion
sensirion-i2c-sht==1.0.0
sensirion_i2c_driver isn't there! but was the first thing my service failed on.
Best regards,
Mark
The text was updated successfully, but these errors were encountered: