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
Pypilot for Dummies -The Uninitiated
#26
I have run it a few times. The output is below. The display still isn't coming on.

Maybe you should require OpenPlotter install your version instead of a copy.

Here is the output.

pi@openplotter:~ $ pypilot_hat
have gpio for raspberry pi
loading config file: /home/pi/.pypilot/hat.conf
failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
lcd process on 1241
Traceback (most recent call last):
File "/usr/local/bin/pypilot_hat", line 11, in <module>
load_entry_point('pypilot==0.31', 'console_scripts', 'pypilot_hat')()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 472, in main
hat = Hat()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 282, in __init__
self.arduino = Arduino(self)
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 144, in __init__
arduino process on 1314
self.backlight = self.hat.config['lcd']['backlight']
KeyError: 'backlight'
pi@openplotter:~ $ sudo pypilot_hat nokia5110
have gpio for raspberry pi
loading config file: /root/.pypilot/hat.conf
failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
Traceback (most recent call last):
File "/usr/local/bin/pypilot_hat", line 11, in <module>
load_entry_point('pypilot==0.31', 'console_scripts', 'pypilot_hat')()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 472, in main
hat = Hat()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 282, in __init__
arduino process on 1460
self.arduino = Arduino(self)
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 144, in __init__
self.backlight = self.hat.config['lcd']['backlight']
KeyError: 'backlight'
1460 (process ID) old priority 0, new priority -5
pi@openplotter:~ $ sudo pypilot_hat nokia5110
have gpio for raspberry pi
loading config file: /root/.pypilot/hat.conf
failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
Traceback (most recent call last):
File "/usr/local/bin/pypilot_hat", line 11, in <module>
load_entry_point('pypilot==0.31', 'console_scripts', 'pypilot_hat')()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 472, in main
hat = Hat()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 282, in __init__
self.arduino = Arduino(self)
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 144, in __init__
self.backlight = self.hat.config['lcd']['backlight']
KeyError: 'backlight'
pi@openplotter:~ $ sudo python3 setup.py install
python3: can't open file 'setup.py': [Errno 2] No such file or directory
pi@openplotter:~ $ pwd
/home/pi
pi@openplotter:~ $ cd pypilot
pi@openplotter:~/pypilot $ sudo python3 setup.py install
/usr/bin/apt
running install
running bdist_egg
running egg_info
writing pypilot.egg-info/PKG-INFO
writing dependency_links to pypilot.egg-info/dependency_links.txt
writing entry points to pypilot.egg-info/entry_points.txt
writing top-level names to pypilot.egg-info/top_level.txt
reading manifest file 'pypilot.egg-info/SOURCES.txt'
writing manifest file 'pypilot.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
running build_ext
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/pyjson.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/autogain.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/sensors.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/nonblockingpipe.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/bufferedsocket.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/servo_calibration.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/quaternion.py -> build/bdist.linux-armv7l/egg/pypilot
creating build/bdist.linux-armv7l/egg/pypilot/arduino_servo
copying build/lib.linux-armv7l-3.7/pypilot/arduino_servo/arduino_servo_python.py -> build/bdist.linux-armv7l/egg/pypilot/arduino_servo
copying build/lib.linux-armv7l-3.7/pypilot/arduino_servo/_arduino_servo.cpython-37m-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/egg/pypilot/arduino_servo
copying build/lib.linux-armv7l-3.7/pypilot/arduino_servo/arduino_servo.py -> build/bdist.linux-armv7l/egg/pypilot/arduino_servo
copying build/lib.linux-armv7l-3.7/pypilot/arduino_servo/__init__.py -> build/bdist.linux-armv7l/egg/pypilot/arduino_servo
copying build/lib.linux-armv7l-3.7/pypilot/client.py -> build/bdist.linux-armv7l/egg/pypilot
creating build/bdist.linux-armv7l/egg/pypilot/web
copying build/lib.linux-armv7l-3.7/pypilot/web/pypilot_web.pot -> build/bdist.linux-armv7l/egg/pypilot/web
creating build/bdist.linux-armv7l/egg/pypilot/web/templates
copying build/lib.linux-armv7l-3.7/pypilot/web/templates/wifi.html -> build/bdist.linux-armv7l/egg/pypilot/web/templates
copying build/lib.linux-armv7l-3.7/pypilot/web/templates/index.html -> build/bdist.linux-armv7l/egg/pypilot/web/templates
copying build/lib.linux-armv7l-3.7/pypilot/web/templates/calibrationplot.html -> build/bdist.linux-armv7l/egg/pypilot/web/templates
copying build/lib.linux-armv7l-3.7/pypilot/web/web.py -> build/bdist.linux-armv7l/egg/pypilot/web
copying build/lib.linux-armv7l-3.7/pypilot/web/__init__.py -> build/bdist.linux-armv7l/egg/pypilot/web
creating build/bdist.linux-armv7l/egg/pypilot/web/static
copying build/lib.linux-armv7l-3.7/pypilot/web/static/socket.io.min.js -> build/bdist.linux-armv7l/egg/pypilot/web/static
copying build/lib.linux-armv7l-3.7/pypilot/web/static/calibration_plot.js -> build/bdist.linux-armv7l/egg/pypilot/web/static
copying build/lib.linux-armv7l-3.7/pypilot/web/static/jquery.min.js -> build/bdist.linux-armv7l/egg/pypilot/web/static
copying build/lib.linux-armv7l-3.7/pypilot/web/static/dark_theme.css -> build/bdist.linux-armv7l/egg/pypilot/web/static
copying build/lib.linux-armv7l-3.7/pypilot/web/static/index.css -> build/bdist.linux-armv7l/egg/pypilot/web/static
copying build/lib.linux-armv7l-3.7/pypilot/web/static/w3.css -> build/bdist.linux-armv7l/egg/pypilot/web/static
copying build/lib.linux-armv7l-3.7/pypilot/web/static/pypilot_control.js -> build/bdist.linux-armv7l/egg/pypilot/web/static
copying build/lib.linux-armv7l-3.7/pypilot/web/tinypilot.py -> build/bdist.linux-armv7l/egg/pypilot/web
copying build/lib.linux-armv7l-3.7/pypilot/servo.py -> build/bdist.linux-armv7l/egg/pypilot
creating build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/pilot.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/absolute.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/gps.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/basic.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/wind.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/simple.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/learning.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/autotune.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/__init__.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/intellect.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/pilots/fuzzy.py -> build/bdist.linux-armv7l/egg/pypilot/pilots
copying build/lib.linux-armv7l-3.7/pypilot/autopilot.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/serialprobe.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/signalk.py -> build/bdist.linux-armv7l/egg/pypilot
creating build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/wifi_esp32.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/font.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/page.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/gettext_esp32.py -> build/bdist.linux-armv7l/egg/pypilot/hat
creating build/bdist.linux-armv7l/egg/pypilot/hat/templates
copying build/lib.linux-armv7l-3.7/pypilot/hat/templates/index.html -> build/bdist.linux-armv7l/egg/pypilot/hat/templates
copying build/lib.linux-armv7l-3.7/pypilot/hat/web.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/lircd.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/lcd.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/boot.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/glut.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/hat.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/test.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/arduino.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/testlirc.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/menu.py -> build/bdist.linux-armv7l/egg/pypilot/hat
creating build/bdist.linux-armv7l/egg/pypilot/hat/spireader
copying build/lib.linux-armv7l-3.7/pypilot/hat/spireader/_spireader.cpython-37m-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/egg/pypilot/hat/spireader
copying build/lib.linux-armv7l-3.7/pypilot/hat/spireader/__init__.py -> build/bdist.linux-armv7l/egg/pypilot/hat/spireader
copying build/lib.linux-armv7l-3.7/pypilot/hat/spireader/spireader.py -> build/bdist.linux-armv7l/egg/pypilot/hat/spireader
copying build/lib.linux-armv7l-3.7/pypilot/hat/config_esp32.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/__init__.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/lcd_esp32.py -> build/bdist.linux-armv7l/egg/pypilot/hat
creating build/bdist.linux-armv7l/egg/pypilot/hat/static
copying build/lib.linux-armv7l-3.7/pypilot/hat/static/socket.io.min.js -> build/bdist.linux-armv7l/egg/pypilot/hat/static
copying build/lib.linux-armv7l-3.7/pypilot/hat/static/jquery.min.js -> build/bdist.linux-armv7l/egg/pypilot/hat/static
copying build/lib.linux-armv7l-3.7/pypilot/hat/static/index.css -> build/bdist.linux-armv7l/egg/pypilot/hat/static
copying build/lib.linux-armv7l-3.7/pypilot/hat/static/hat_config.js -> build/bdist.linux-armv7l/egg/pypilot/hat/static
copying build/lib.linux-armv7l-3.7/pypilot/hat/static/w3.css -> build/bdist.linux-armv7l/egg/pypilot/hat/static
copying build/lib.linux-armv7l-3.7/pypilot/hat/font.ttf -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/gpio.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/config.py -> build/bdist.linux-armv7l/egg/pypilot/hat
creating build/bdist.linux-armv7l/egg/pypilot/hat/ugfx
copying build/lib.linux-armv7l-3.7/pypilot/hat/ugfx/ugfx.py -> build/bdist.linux-armv7l/egg/pypilot/hat/ugfx
copying build/lib.linux-armv7l-3.7/pypilot/hat/ugfx/_ugfx.cpython-37m-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/egg/pypilot/hat/ugfx
copying build/lib.linux-armv7l-3.7/pypilot/hat/ugfx/__init__.py -> build/bdist.linux-armv7l/egg/pypilot/hat/ugfx
copying build/lib.linux-armv7l-3.7/pypilot/hat/ugfx/generate_version.py -> build/bdist.linux-armv7l/egg/pypilot/hat/ugfx
copying build/lib.linux-armv7l-3.7/pypilot/hat/ugfx/ugfx_mkfont.py -> build/bdist.linux-armv7l/egg/pypilot/hat/ugfx
copying build/lib.linux-armv7l-3.7/pypilot/hat/testrf.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/gpio_esp32.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/hat/upy_client.py -> build/bdist.linux-armv7l/egg/pypilot/hat
copying build/lib.linux-armv7l-3.7/pypilot/boatimu.py -> build/bdist.linux-armv7l/egg/pypilot
creating build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/calibration_plot.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/scope_wx.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/scope_ui.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/autopilot_calibration.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/Vagabond.mtl -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/autopilot_control.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/Vagabond.obj -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/scope.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/compass.png -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/__init__.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/boatplot.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/client_wx.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/autopilot_control_ui.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/ui/shape.py -> build/bdist.linux-armv7l/egg/pypilot/ui
copying build/lib.linux-armv7l-3.7/pypilot/failedimports.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/resolv.py -> build/bdist.linux-armv7l/egg/pypilot
creating build/bdist.linux-armv7l/egg/pypilot/linebuffer
copying build/lib.linux-armv7l-3.7/pypilot/linebuffer/linebuffer.py -> build/bdist.linux-armv7l/egg/pypilot/linebuffer
copying build/lib.linux-armv7l-3.7/pypilot/linebuffer/_linebuffer.cpython-37m-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/egg/pypilot/linebuffer
copying build/lib.linux-armv7l-3.7/pypilot/linebuffer/__init__.py -> build/bdist.linux-armv7l/egg/pypilot/linebuffer
copying build/lib.linux-armv7l-3.7/pypilot/vector.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/__init__.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/tacking.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/version.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/calibration_fit.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/nmea.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/values.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/server.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/rudder.py -> build/bdist.linux-armv7l/egg/pypilot
copying build/lib.linux-armv7l-3.7/pypilot/gpsd.py -> build/bdist.linux-armv7l/egg/pypilot
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pyjson.py to pyjson.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/autogain.py to autogain.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/sensors.py to sensors.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/nonblockingpipe.py to nonblockingpipe.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/bufferedsocket.py to bufferedsocket.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/servo_calibration.py to servo_calibration.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/quaternion.py to quaternion.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/arduino_servo/arduino_servo_python.py to arduino_servo_python.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/arduino_servo/arduino_servo.py to arduino_servo.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/arduino_servo/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/client.py to client.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/web/web.py to web.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/web/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/web/tinypilot.py to tinypilot.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/servo.py to servo.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/pilot.py to pilot.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/absolute.py to absolute.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/gps.py to gps.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/basic.py to basic.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/wind.py to wind.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/simple.py to simple.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/learning.py to learning.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/autotune.py to autotune.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/intellect.py to intellect.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/pilots/fuzzy.py to fuzzy.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/autopilot.py to autopilot.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/serialprobe.py to serialprobe.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/signalk.py to signalk.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/wifi_esp32.py to wifi_esp32.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/font.py to font.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/page.py to page.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/gettext_esp32.py to gettext_esp32.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/web.py to web.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/lircd.py to lircd.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/lcd.py to lcd.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/boot.py to boot.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/glut.py to glut.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/hat.py to hat.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/test.py to test.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/arduino.py to arduino.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/testlirc.py to testlirc.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/menu.py to menu.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/spireader/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/spireader/spireader.py to spireader.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/config_esp32.py to config_esp32.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/lcd_esp32.py to lcd_esp32.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/gpio.py to gpio.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/config.py to config.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/ugfx/ugfx.py to ugfx.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/ugfx/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/ugfx/generate_version.py to generate_version.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/ugfx/ugfx_mkfont.py to ugfx_mkfont.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/testrf.py to testrf.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/gpio_esp32.py to gpio_esp32.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/upy_client.py to upy_client.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/boatimu.py to boatimu.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/calibration_plot.py to calibration_plot.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/scope_wx.py to scope_wx.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/scope_ui.py to scope_ui.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/autopilot_calibration.py to autopilot_calibration.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/autopilot_control.py to autopilot_control.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/scope.py to scope.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/boatplot.py to boatplot.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/client_wx.py to client_wx.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/autopilot_control_ui.py to autopilot_control_ui.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/ui/shape.py to shape.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/failedimports.py to failedimports.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/resolv.py to resolv.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/linebuffer/linebuffer.py to linebuffer.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/linebuffer/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/vector.py to vector.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/tacking.py to tacking.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/version.py to version.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/calibration_fit.py to calibration_fit.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/nmea.py to nmea.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/values.py to values.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/server.py to server.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/rudder.py to rudder.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/gpsd.py to gpsd.cpython-37.pyc
creating stub loader for pypilot/arduino_servo/_arduino_servo.cpython-37m-arm-linux-gnueabihf.so
creating stub loader for pypilot/linebuffer/_linebuffer.cpython-37m-arm-linux-gnueabihf.so
creating stub loader for pypilot/hat/ugfx/_ugfx.cpython-37m-arm-linux-gnueabihf.so
creating stub loader for pypilot/hat/spireader/_spireader.cpython-37m-arm-linux-gnueabihf.so
byte-compiling build/bdist.linux-armv7l/egg/pypilot/arduino_servo/_arduino_servo.py to _arduino_servo.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/linebuffer/_linebuffer.py to _linebuffer.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/ugfx/_ugfx.py to _ugfx.cpython-37.pyc
byte-compiling build/bdist.linux-armv7l/egg/pypilot/hat/spireader/_spireader.py to _spireader.cpython-37.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying pypilot.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pypilot.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pypilot.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pypilot.egg-info/entry_points.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying pypilot.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
writing build/bdist.linux-armv7l/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
pypilot.__pycache__.autopilot.cpython-37: module references __file__
pypilot.__pycache__.boatimu.cpython-37: module references __file__
pypilot.__pycache__.client.cpython-37: module references __file__
pypilot.__pycache__.server.cpython-37: module references __file__
pypilot.__pycache__.servo.cpython-37: module references __file__
pypilot.arduino_servo.__pycache__._arduino_servo.cpython-37: module references __file__
pypilot.arduino_servo.__pycache__.arduino_servo.cpython-37: module references __file__
pypilot.hat.__pycache__.font.cpython-37: module references __file__
pypilot.hat.__pycache__.hat.cpython-37: module references __file__
pypilot.hat.__pycache__.page.cpython-37: module references __file__
pypilot.hat.__pycache__.web.cpython-37: module references __file__
pypilot.hat.spireader.__pycache__._spireader.cpython-37: module references __file__
pypilot.hat.spireader.__pycache__.spireader.cpython-37: module references __file__
pypilot.hat.ugfx.__pycache__._ugfx.cpython-37: module references __file__
pypilot.hat.ugfx.__pycache__.ugfx.cpython-37: module references __file__
pypilot.linebuffer.__pycache__._linebuffer.cpython-37: module references __file__
pypilot.linebuffer.__pycache__.linebuffer.cpython-37: module references __file__
pypilot.pilots.__pycache__.__init__.cpython-37: module references __file__
pypilot.ui.__pycache__.autopilot_calibration.cpython-37: module references __file__
pypilot.ui.__pycache__.boatplot.cpython-37: module references __file__
pypilot.ui.__pycache__.client_wx.cpython-37: module references __file__
pypilot.ui.__pycache__.scope_wx.cpython-37: module references __file__
pypilot.web.__pycache__.web.cpython-37: module references __file__
creating 'dist/pypilot-0.31-py3.7-linux-armv7l.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing pypilot-0.31-py3.7-linux-armv7l.egg
removing '/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg' (and everything under it)
creating /usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg
Extracting pypilot-0.31-py3.7-linux-armv7l.egg to /usr/local/lib/python3.7/dist-packages
pypilot 0.31 is already the active version in easy-install.pth
Installing pypilot script to /usr/local/bin
Installing pypilot_boatimu script to /usr/local/bin
Installing pypilot_calibration script to /usr/local/bin
Installing pypilot_client script to /usr/local/bin
Installing pypilot_client_wx script to /usr/local/bin
Installing pypilot_control script to /usr/local/bin
Installing pypilot_hat script to /usr/local/bin
Installing pypilot_scope script to /usr/local/bin
Installing pypilot_servo script to /usr/local/bin
Installing pypilot_web script to /usr/local/bin

Installed /usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg
Processing dependencies for pypilot==0.31
Finished processing dependencies for pypilot==0.31
pi@openplotter:~/pypilot $ sudo pypilot_hat nokia5110
have gpio for raspberry pi
loading config file: /root/.pypilot/hat.conf
failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
Traceback (most recent call last):
File "/usr/local/bin/pypilot_hat", line 11, in <module>
load_entry_point('pypilot==0.31', 'console_scripts', 'pypilot_hat')()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 472, in main
hat = Hat()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 282, in __init__
self.arduino = Arduino(self)
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 144, in __init__
self.backlight = self.hat.config['lcd']['backlight']
KeyError: 'backlight'
pi@openplotter:~/pypilot $ sudo chmod a+rwx spidev0.0
chmod: cannot access 'spidev0.0': No such file or directory
pi@openplotter:~/pypilot $ sudo chmod a+rwx spidev0.1
chmod: cannot access 'spidev0.1': No such file or directory
pi@openplotter:~/pypilot $ sudo pypilot_hat nokia5110
have gpio for raspberry pi
loading config file: /root/.pypilot/hat.conf
failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
Traceback (most recent call last):
File "/usr/local/bin/pypilot_hat", line 11, in <module>
load_entry_point('pypilot==0.31', 'console_scripts', 'pypilot_hat')()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 472, in main
hat = Hat()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 282, in __init__
self.arduino = Arduino(self)
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 144, in __init__
self.backlight = self.hat.config['lcd']['backlight']
KeyError: 'backlight'
pi@openplotter:~/pypilot $ cd pypilot
pi@openplotter:~/pypilot/pypilot $ pypilot_hat
have gpio for raspberry pi
loading config file: /home/pi/.pypilot/hat.conf
failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
lcd process on 3425
Traceback (most recent call last):
File "/usr/local/bin/pypilot_hat", line 11, in <module>
load_entry_point('pypilot==0.31', 'console_scripts', 'pypilot_hat')()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 472, in main
hat = Hat()
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 282, in __init__
self.arduino = Arduino(self)
File "/usr/local/lib/python3.7/dist-packages/pypilot-0.31-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 144, in __init__
self.backlight = self.hat.config['lcd']['backlight']
KeyError: 'backlight'
pi@openplotter:~/pypilot/pypilot $

Here is the version I have now:

pi@openplotter:~/pypilot/pypilot $ pypilot_client ap.version
ap.version = pypilot 0.31
Reply


Messages In This Thread
RE: Pypilot for Dummies -The Uninitiated - by SVHM - 2021-09-11, 09:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)