2022-04-17, 03:06 PM
Hi all,
Finally got underway with building my Pypilot setup and very excited. I'm running Tinypilot with Hat and motor controller from Sean.
I have a question about updating from the Github repo - mainly just for fun, there aren't any particular updates that I need. Has anyone been able to update from the repo directly, and if so could you detail how you went about it?
I attempted to update pypilot from https://github.com/pypilot/pypilot without success.
I used a machine with two wifi interfaces - one connected to pypilot's wifi network and one to a network with internet access. I could git clone from the repo to local. I attempted to clone directly across to the pypilot using git clone https://github.com/pypilot/pypilot ssh://tc@192.168.14.1/mnt/mmcblk0p2/tinypilot
The command reported success - enumerating, counting, compressing, receiving objectives, resolving deltas. However upon inspecting the /home/tc/pypilot I could see that no files had updated. I tried to clone to a test directory, and it reported success again but did not deploy any files to the test directory.
From here I decided to clone the repo to the local machine that I was working on, compress into a tar archive and scped it across to the tinypilot --- extracted it to /home/tc/pypilot, it successfully overwrote the changes, and then I followed advice from here to rebuild it: https://pypilot.org/wiki/doku.php?id=upgrading_from_git
I ran:
python3 setup.py build
sudo python3 setup.py install
It went through the building and I rebooted the tinypilot from shell.
I noticed that the LCD screen reported v0.32 again which was not the same as 0.34 that I thought I had updated with.
I had a look at services running in top and noticed that the scripts associated with pypilot are running from /usr/local/lib/python3.6/site-packages/pypilot
I inspected the version file in there and noticed it was 0.32.
Wondering if someone might be able to provide some guidance on where I might have gone wrong?
Thanks!
Finally got underway with building my Pypilot setup and very excited. I'm running Tinypilot with Hat and motor controller from Sean.
I have a question about updating from the Github repo - mainly just for fun, there aren't any particular updates that I need. Has anyone been able to update from the repo directly, and if so could you detail how you went about it?
I attempted to update pypilot from https://github.com/pypilot/pypilot without success.
I used a machine with two wifi interfaces - one connected to pypilot's wifi network and one to a network with internet access. I could git clone from the repo to local. I attempted to clone directly across to the pypilot using git clone https://github.com/pypilot/pypilot ssh://tc@192.168.14.1/mnt/mmcblk0p2/tinypilot
The command reported success - enumerating, counting, compressing, receiving objectives, resolving deltas. However upon inspecting the /home/tc/pypilot I could see that no files had updated. I tried to clone to a test directory, and it reported success again but did not deploy any files to the test directory.
From here I decided to clone the repo to the local machine that I was working on, compress into a tar archive and scped it across to the tinypilot --- extracted it to /home/tc/pypilot, it successfully overwrote the changes, and then I followed advice from here to rebuild it: https://pypilot.org/wiki/doku.php?id=upgrading_from_git
I ran:
python3 setup.py build
sudo python3 setup.py install
It went through the building and I rebooted the tinypilot from shell.
I noticed that the LCD screen reported v0.32 again which was not the same as 0.34 that I thought I had updated with.
I had a look at services running in top and noticed that the scripts associated with pypilot are running from /usr/local/lib/python3.6/site-packages/pypilot
I inspected the version file in there and noticed it was 0.32.
Wondering if someone might be able to provide some guidance on where I might have gone wrong?
Thanks!