Closed razem-io closed 9 months ago
Hi there and welcome to Inkycal. Thanks for opening this issue. As this is your first issue in this repository, please read through the contributing guidelines
I got hit with the same issue :-( And the display never gets refreshed.
This error appears to be very uncommon. My Google search did not result in any valid hits. I will try to invest some more time, but I hope someone with more experience can help.
I also wondering why it's not a second time refreshing. Screen epd_7_in_5_v2_colour // V2! Buyed from tindie bundle
Changed refresh time in settings to 2 minutes to catch the error.
Till it's not fixed I run a crontab every 2 hours with the inky_run script.
One time refresh works and after 2 minutes the script give the error and dies.
Quickfix till his vacation is over I think :)
I got hit with the same issue :-( And the display never gets refreshed.
OK, the display gets refreshed, I had a typo in the display type config, so I also can run the script from crontab hourly due to the crash.
@zsoltika @razem-io @SIDy1993 Thank you for your patience! The fix I have been testing to fix this problem seems to be working!
Please run the following to fix this issue:
cd ~/Inkycal
source venv/bin/activate
pip install gpiozero
git pull
sudo reboot
@aceisace
Thanks for the fix. Yesterday after you closed it I ran git pull and it already works after it with the little update of 1 file I think.
Now I tested your comment but it seems everything alright already
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: gpiozero in ./venv/lib/python3.9/site-packages (2.0)
Requirement already satisfied: colorzero in ./venv/lib/python3.9/site-packages (from gpiozero) (2.0)
Requirement already satisfied: setuptools in ./venv/lib/python3.9/site-packages (from colorzero->gpiozero) (69.0.2)
Glad to hear it works now! Yes, I did push a fix but I wanted to test it a little longer on my Raspberry Pi to ensure it would ran stable even after several updates. Now that I have tested it myself and it's working as expected, the fix is official 😉
@zsoltika @razem-io @SIDy1993 Thank you for your patience! The fix I have been testing to fix this problem seems to be working!
Please run the following to fix this issue:
cd ~/Inkycal source venv/bin/activate pip install gpiozero git pull sudo reboot
I did it but pip install ...
have not installed anything (like for @SIDy1993 : requirements already satisfied). Shouldn't it be pip install gpiozero --upgrade
?
@zsoltika If pip install doesn't install anything extra, it means you already have the dependencies installed. As Inkycal uses fixed versions for most dependencies, there is no need to upgrade as some things may break otherwise. Basically, gpiozero should be present in recent versions of Inkycal, but not older ones, hence I added it anyway so older users can benefit from this too. 👍 Is your Inkycal running correctly after the fix?
@aceisace Thanks for the clarification! Yes mine works as expected since the update thanks for the fix as well!
Describe the bug Running python inky_run.py results in an error. Just installed InkycalOS Lite on an
epd_7_in_5_v3_colour
I ordered a few days ago.