Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timer button crashed #235

Closed
tyeth opened this issue Feb 7, 2023 · 1 comment
Closed

Timer button crashed #235

tyeth opened this issue Feb 7, 2023 · 1 comment

Comments

@tyeth
Copy link

tyeth commented Feb 7, 2023

The first couple of buttons are fine if clicked with no devices in the list, and the rest seem to crash, but ignoring that and assuming you have 1 or more devices in the list (I have 1 LilyGo T-DisplayS3 running latest dev build of tasmota) then the Timers button caused a crash.
The error was:

 Traceback (most recent call last):
  File "C:\dev\software\tasmota-TDM\tdm\GUI\devices.py", line 461, in configureTimers
    timers = TimersDialog(self.device)
  File "C:\dev\software\tasmota-TDM\tdm\GUI\dialogs\timers.py", line 53, in __init__
    self.cbxTimerOut.addItems(self.device.power().keys())
TypeError: index 0 has type 'int' but 'str' is expected

Let me know how I can be more helpful. I'm running from git copy, using vscode and the espressif esp-idf environment setup (python etc in powershell). I've pip installed everything fine (although had to install mu-editor too to update and avoid version mismatch) and am launching with python.exe tdpm.py, or whatever it is, from within the integrated terminal and my default shell (esp-idf in powershell).

@Wyman42
Copy link

Wyman42 commented Sep 5, 2024

Idem for me. Installed on n windows 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants