This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LCD JLX12864 flashing
#21
Having just received a brand new pypilot zero, I could try to find out how to get over the recently revoked git support and update the workbook accordingly.

However, the workbook also mentions Upgrading Tinypilot Remotely. Is that an option for you?

https://github.com/pypilot/workbook/wiki...-tinypilot
Reply
#22
I was able to upgrade pypilot on a brand new tinypilot_2021_11_16.img.xz using the abovementioned method, however pypilot then does not seem to be willing to startup anymore:

Code:
tc@pypilot:/mnt/mmcblk0p2/tce/optional$ sudo sv stop pypilot
ok: down: pypilot: 1s
tc@pypilot:/mnt/mmcblk0p2/tce/optional$ pypilot
autopilot start 178.559815
falling back to python nonblocking socket, will consume more cpu cannot import name 'linebuffer'
pypilot failed to import required modules.  Did you forget to run sudo python3 setup.py install?
Reply
#23
This is probably because the native c python modules (linebuffer, gfx etc) were build on the Sean's image (standard PI Zero, not Zero 2), and the python version is different between the two (3.6 versus 3.8)
Reply
#24
This is still a standard pizero. There seems to be some recompilation of linebuffer.cpp going on in setup.py. I'll capture the setup output and search for linebuffer.
Reply
#25
If it's a standard pi zero my message above doesn't apply, sorry.
Reply
#26
Uploaded build log to https://github.com/pypilot/tinypilot/issues/3

For the time being, it seems you cannot update the tinypilot's version of pypilot to the latest.
Reply
#27
ironman looks like a python3 problem.

tc@pypilot:~$ pypilot
autopilot start 3312.162935
falling back to python nonblocking socket, will consume more cpu cannot import name 'linebuffer'
pypilot failed to import required modules. Did you forget to run sudo python3 setup.py install?
Reply
#28
Thx. Any suggestions?
Reply
#29
Check the version of python that is installed update if necessary.
type " python --version " in terminal.

you might try to do what the message you received says "sudo python3 setup.py install"
Reply
#30
Try running the dependencies.py script (after removing the abundant "i" in line 76).
Some deps failed for me but tinypilot boots with the 0.32 after that.
I did run the build process again after installing the deps, not sure if that is the proper way.

Make sure to set the correct date on the tinypilot so it can verify the certificates of the package servers.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)