Open Lefuneste83 opened 4 years ago
After searching for these specific error codes, I managed to first install the picamera library by doing the following :
sudo -s export READTHEDOCS=True /home/pi/oprint/bin/python2 -m pip install picamera
https://github.com/waveform80/picamera/issues/578#issuecomment-523997913
Once this succeeded, I could go back to Octoprint and install the plugin without error.
There seems to be an issue with picamera library not being addressed yet in their latest commit. Not sure what it is caused by (the root cause of the installation crash). I tried to change resolutions for standard resolutions in octopi.txt, but it did not change the installer behavior. The install I am using is fresh, started from latest image files. No specific tweaks apart from klipper being installed on it. It may be a known issue for picamera as I see that the have a specific branch for the HQ camera.
https://github.com/waveform80/picamera/tree/hq-camera
Interestingly there seems to be some people not facing this issue with the same setup.
Thank you for doing the research yourself @Lefuneste83 .
My gut says this is not related to the fact this is an HQ camera. I think I have seen similar error even before HQ camera came out.
In any case, I'll leave this issue open for now just in case other users have run into it.
Thanks for posting this in the issues with a solution @Lefuneste83 and thank you @kennethjiang for leaving it open.
@Lefuneste83 you're solution fixed my problem which was a similar issue.
To add to what @kennethjiang said about it not being related to the HQ camera, I was having this issue with a Pi 4 and an arducam. The commonality here appears to be the Pi 4.
Thanks again.
Seems to be an issue with PiCamera itself https://github.com/waveform80/picamera/issues/630
@ksummers92 @Lefuneste83 Can you guys run cat /proc/cpuinfo && cat /sys/firmware/devicetree/base/model
and post the output here? We have got a lot more users reporting this problem recently and we suspect this is because of a new Pi 4 revision that is breaking picamera
. Thank you so much!
Here is the output @kennethjiang.
processor : 0 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 135.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 1 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 135.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 2 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 135.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 3 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 135.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
Hardware : BCM2711 Revision : b03111 Serial : 10000000d271cd93 Model : Raspberry Pi 4 Model B Rev 1.1
Thank you @ksummers92
Thanks again folks for helping me figure this out. Releasing 1.3.3 that hopefully will fix this issue.
On a fresh Octoprint install 1.4.0 with the latest Raspberry Camera HQ installed and running (immage in Octoprint).
--> /boot/octopi.txt
camera="raspi" camera_raspi_options="-x 2028 -y 1520 -fps 25"
I cannot install the Spaghetti detector plugin. It crashes when installing the picamera 1.13 library.