threepistons / rtm-lcd-status

Status display for your Remember The Milk tasks, using an Adafruit LCD display; now abandoned because I stopped using RTM.
GNU General Public License v3.0
2 stars 0 forks source link

LCD screen and backlight stay on after script exits #1

Closed threepistons closed 6 years ago

threepistons commented 6 years ago

Given Debian 9 with Python 2.7.13 and all dependencies installed.

When I ran ./rtmstatus.py and pressed CTRL-C to exit.

In order to run the task count script.

Then I get the following output:

helen@ravenbrand ~/git/rtm-lcd-status
 % ./rtmstatus.py
^CTraceback (most recent call last):
  File "./rtmstatus.py", line 102, in <module>
    time.sleep(10)
KeyboardInterrupt

and the LCD backlight stayed on with the text still displayed on the LCD screen.

I expected the LCD screen to clear and turn off, and not see a traceback on stdio.

threepistons commented 6 years ago

The 'off' argument is a workaround, not a fix.