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
Problem with GPIO push button inputs following Pypilot upgrade
#31
Don't get any webpage.  Get this when running hat:

web failed to run process: module 'web' has no attribute 'web_process'

Can do without webpage, I just need to configure my buttons, LCD works.  Used my hat.config from .16 - use 'auto' to toggle the AP.  The first time I press auto it will engage the AP if it is off.  When I try to toggle it off I get this:

Traceback (most recent call last):
  File "/usr/local/bin/pypilot_hat", line 11, in <module>
    load_entry_point('pypilot==0.24', 'console_scripts', 'pypilot_hat')()
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 448, in main
    hat.poll()
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/hat.py", line 394, in poll
    i.poll()
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/lcd.py", line 327, in poll
    next_page = self.page.process()
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/hat/page.py", line 732, in process
    speed = keys[key][0]
KeyError: 0
got signal atexit cleaning up 2409
got signal 17 cleaning up 2409
subprocess returned (0, 0) []
got signal 17 cleaning up 2409
Reply


Messages In This Thread
RE: Problem with GPIO push button inputs following Pypilot upgrade - by ajax - 2021-05-02, 02:43 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)