MycroftAI / enclosure-mark1

Replacing the faceplate repo
Apache License 2.0
9 stars 8 forks source link

following docs doesnt work - updating arduino code #105

Open JarbasAl opened 4 years ago

JarbasAl commented 4 years ago

I was following the documentation to test fix for #104

I ran into these 2 issues following described steps

user@user-Predator-PH315-51:~/PycharmProjects/enclosure-mark1$ ./deploy.sh pi@192.168.1.70
Compiling...
Success
Deploying to:  pi@192.168.1.70
./deploy.sh: line 35: sshpass: command not found
./deploy.sh: line 36: sshpass: command not found
./deploy.sh: line 37: sshpass: command not found
Burning...
./deploy.sh: line 39: sshpass: command not found
Cool! : D

This can be fixed with

sudo apt-get install sshpass

but the script should fail safe and give proper feedback

The second error was this, but doesn't seem important and i think we can ignore safely

pi@mark_1:/opt/mycroft/enclosure $ sudo ./install-avrdude.sh
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libusb-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libusb-0.1-4

E: Package 'libusb-dev' has no installation candidate

Finally, when running upload.sh in the mark1

pi@mark_1:/opt/mycroft/enclosure $ ./upload.sh
Traceback (most recent call last):
  File "/opt/mycroft/enclosure/verifyArduino.py", line 28, in <module>
    import serial
ImportError: No module named serial

but it completes successfully, i think docs should mention we need to activate the mycroft-venv

JarbasAl commented 4 years ago

upload seems to have worked, eyes stay stuck on yellow however

no biggie, it just missed the boot sequence messages

maybe worth pointing that out in the docs also