-
Notifications
You must be signed in to change notification settings - Fork 16
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
Error with DietPi #4
Comments
With the help of @sunfounder I installed the dependencies:
But now I have the error: root@DietPi:/opt/vc/bin/nas-kit# python3 /opt/vc/bin/nas-kit/main/raspi_omv_main.py &
[1] 4557
root@DietPi:/opt/vc/bin/nas-kit# Traceback (most recent call last):
File "/opt/vc/bin/nas-kit/main/raspi_omv_main.py", line 3, in <module>
import RPi.GPIO as GPIO
File "/usr/local/lib/python3.7/dist-packages/RPi/GPIO/__init__.py", line 8, in <module>
from RPi.core import\
File "/usr/local/lib/python3.7/dist-packages/RPi/core.py", line 59, in <module>
LOW = gpiod.Line.ACTIVE_LOW
AttributeError: module 'gpiod' has no attribute 'Line'
^C
[1]+ Exit 1 python3 /opt/vc/bin/nas-kit/main/raspi_omv_main.py
root@DietPi:/opt/vc/bin/nas-kit# Someone help? |
I'm currently stuck at the same point while trying to install on Debian. I also had to install the following :
|
I managed to make it work today on my NAS Kit. DependenciesThe only required Python dependencies are the following:
PrerequisitesMake sure SPI is enabled on your Raspberry Pi:
SetupClone this repo:
Go to
That's all! You can now run the script. Run
Launch at startupNote: To start
It should now start the NAS Kit EPD screen display at startup! 🎉 PS: This should be in a README in this repo, so it could help people. PPS: I have opened #5, do not hesitate to comment/improve the documentation! 👍 |
@thomasdom This is clearly an improvement on the problem, as I get the fans to work this way. I'm still having an issue with the screen that is briefly blinking, then stays white. I get an error from the command
This seems to be an error with the locale number format, as the number use a |
Using Still, there is room for improvement here. |
Agree! This should be addressed in a separate issue to facilitate tracking of bugs/improvements 👍 |
I created a new issue for that locale problem. I'm still having an issue with the launch at startup (on a fresh install of raspbian). If I follow your guide:
I cannot make the link (1.) without
The fourth command gives me an error:
Any idea about this one ? |
Hi,
I do this: Now start service by: sudo /to_the_path/omv-epd start And reboot your raspberry and it's working. |
@nostromo1st you are right, I forgot to make the file executable, which was the cause of my problem. |
Hello,
I tried to install the NAS Kit on a DietPi distribution on my SunFounder Kit.
But I have this error:
Here the line on bug:
nas-kit/lib/epd_lib/epdconfig.py
Line 50 in bc9bebc
Good luck!
The text was updated successfully, but these errors were encountered: