We're building https://www.thingiverse.com/thing:3826740
installed the software https://github.com/DrVoHo/Rubik_solver and then got several problems.
First the camera. we had to change PiCamera to Picamera2 in a couple of places.
Then we needed "luma". We did apt install luma.oled and that was fixed.
Then we got "failed to add edge detection" errors. We searched the internet, found a "you need the upgraded version", tried installing the updated version before we realized that was from 2018 and that we were running a much later version than the upgraded version that was suggested. Si back to stock gpio... We finally got past that with deleting all button code from the cubesolver.
(The issue seems that GPIO numbers like 513 ARE allowed/supported and "17" is not. I was unable to find a conversion table).
After all that.... we got a python crash inside some library for the camera. (no member _preview).
So we decided that an older image might work better: We installed a bookworm image,
So now we're stuck a lot earlier in the process: How do we install "luma" ?
We searched apt, but in bookworm luma is not (yet) a a package. So we tried "pip install luma" (as root) and surprise! that worked!
But the rubiks cube solver program still complains about not finding luma.
What now? We're running out of options.
installed the software https://github.com/DrVoHo/Rubik_solver and then got several problems.
First the camera. we had to change PiCamera to Picamera2 in a couple of places.
Then we needed "luma". We did apt install luma.oled and that was fixed.
Then we got "failed to add edge detection" errors. We searched the internet, found a "you need the upgraded version", tried installing the updated version before we realized that was from 2018 and that we were running a much later version than the upgraded version that was suggested. Si back to stock gpio... We finally got past that with deleting all button code from the cubesolver.
(The issue seems that GPIO numbers like 513 ARE allowed/supported and "17" is not. I was unable to find a conversion table).
After all that.... we got a python crash inside some library for the camera. (no member _preview).
So we decided that an older image might work better: We installed a bookworm image,
So now we're stuck a lot earlier in the process: How do we install "luma" ?
We searched apt, but in bookworm luma is not (yet) a a package. So we tried "pip install luma" (as root) and surprise! that worked!
But the rubiks cube solver program still complains about not finding luma.

What now? We're running out of options.
Statistics: Posted by rew — Sat Mar 23, 2024 3:43 pm