Tenrec-Builders / pi-scan

Pi Scan is a simple, robust capture appliance for book scanners. It runs on a Raspberry Pi 2.
BSD 2-Clause "Simplified" License
264 stars 37 forks source link

can't get Pi Scan to start #8

Closed jhub95 closed 6 years ago

jhub95 commented 6 years ago

Hi there. Downloaded most recent mouse version today (Sept 19, 2017). When booting up the Pi 3 model B I get an error screen that keeps looping.

File "main.py", line 14, in import wiringpi ImportError: No module named wiringpi

It says it saved a log to /home/pi/.kivy/logs but I don't see that log file

The same error happens whether I have a keyboard and mouse plugged in or not. img_20170919_112852686

duerig commented 6 years ago

It looks like you downloaded the 'mouse' version. I will rebuild that image and upload it with a fix.

In the mean time, a workaround is to download the 'touch' version. I know that people have used that successfully. On the 'touch' version, the mouse cursor doesn't show. But you can control Pi Scan entirely with a keyboard.

Alternatively, the only difference between these two images is supposed to be the file .kivy/config.ini. If the mouse version is broken at this time, then you can make your own mouse version from the touch version:

(1) Download and run the 'touch' version

(2) Alt-F2 to switch to another console.

(3) Log in username 'pi' password 'raspberry'

sudo mount -o remount,rw / sudo nano /home_org/pi/.kivy/config.ini

(4) Modify the config.ini to match the mouse config file:

https://github.com/Tenrec-Builders/pi-scan/blob/master/config/mouse.ini

(5) Reboot pi: sudo reboot

That should permanently change the touch image into a mouse image.

In the mean time, I'll be building a new image and testing it out. Sorry about the mistake.

jhub95 commented 6 years ago

Thanks, Jonathon. After following your instructions above it now boots. Thanks!

artelse commented 6 years ago

Got the same issue. Would be great if the mouse version would be updated and linked on the home page.

duerig commented 6 years ago

A new and fixed build has been uploaded. I apologize for the delay. Let me know if it works.