-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The Stepper motor fails to work because of a permission issue, it can not import the module 'board'
Log cleared!
2021-05-04 16:20:04.367 | INFO | __main__:<module>:39 - Starting the PlanktoScope python script!
2021-05-04 16:20:04.451 | INFO | planktoscope.mqtt:<module>:60 - planktoscope.mqtt is loaded
Traceback (most recent call last):
File "/home/pi/PlanktonScope/scripts/main.py", line 45, in <module>
import planktoscope.stepper
File "/home/pi/.node-red/projects/PlanktonScope/scripts/planktoscope/stepper.py", line 3, in <module>
import adafruit_motorkit
File "/usr/local/lib/python3.7/dist-packages/adafruit_motorkit.py", line 55, in <module>
import board
**File "/home/pi/.local/lib/python3.7/site-packages/board.py", line 166, in <module>
raise NotImplementedError("Board not supported {}".format(board_id))
NotImplementedError: Board not supported None**
<13>May 4 16:28:00 update.sh: Updating the main repository
<13>May 4 16:28:00 update.sh: nothing to do!
To Reproduce
Steps to reproduce the behavior:
-
ssh into the pi
-
cd test
-
python3 stepper.py
File "/home/pi/.local/lib/python3.7/site-packages/board.py", line 166, in <module> raise NotImplementedError("Board not supported {}".format(board_id)) NotImplementedError: Board not supported None -
sudo python3 stepper.py <---- this works without the error
Planktoscope version (please complete the following information):
Pi4, Verison 2.2, Adafruit Hat
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working