Skip to content
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

argononed.py crashed with FIleNotFoundError in __main__ #8

Open
acoustep opened this issue Jan 23, 2021 · 5 comments
Open

argononed.py crashed with FIleNotFoundError in __main__ #8

acoustep opened this issue Jan 23, 2021 · 5 comments

Comments

@acoustep
Copy link

Hi,

Thank you for creating this useful tool!

I'm having an issue which I suspect means the fans aren't switching on. The tempmon command seems to work fine, but every time I boot up my device I'm getting this error reported to me.

Traceback:
File "/usr/bin/argoned.py", line 11, in <module>
  bus = smbus.SMBus(1)
FileNotFoundError: [Errno 2] No such file or directory.

If it helps, I'm running Ubuntu 20.10 on a Pi 4B (4GB), booting with Bootberry.

I realize this script is for 20.04, but I'm wondering if there's a way to modify it to work with 20.10?

@meuter
Copy link
Owner

meuter commented Jan 23, 2022

I have not tried 20.10 yet. I suspect the python API the access the RPI has changed. I'll take a look and report back.

EDIT: could it be related to this issue #7 ? are you using a Rpi 4b?

@acoustep
Copy link
Author

Yes I'm using a Rpi 4b.

@FallenChromium
Copy link

Happening to me, too. RPi 4B+, Armbian Focal (so 20.04 base)
image

@FallenChromium
Copy link

Apparently it was a problem with my distro, I2C wasn't enabled properly. Resolved for me.

@ghost
Copy link

ghost commented May 30, 2022

Can confirm. I had the same problem with RPi 4B with Raspberry Pi OS Lite (64-bit).

After I enabled I2C in raspi-config, script works without a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants