dmunozv04 / iSponsorBlockTV

SponsorBlock client for all YouTube TV clients.
GNU General Public License v3.0
2.21k stars 92 forks source link

Crash when trying to generate a config using the new tool #58

Closed 343max closed 9 months ago

343max commented 9 months ago

Describe the bug When trying to enter the TV Code the app crashes with the following error:

╭──────────────────────────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ /app/iSponsorBlockTV/setup_wizard.py:229 in changed_pairing_code                                                                                                                                                                          │
│                                                                                                                                                                                                                                           │
│   226 │                                                                                        ╭────── locals ───────╮                                                                                                                    │
│   227 │   @on(Input.Changed, "#pairing-code-input")                                            │ event = Changed()   │                                                                                                                    │
│   228 │   def changed_pairing_code(self, event: Input.Changed):                                │  self = AddDevice() │                                                                                                                    │
│ ❱ 229 │   │   self.query_one("#add-device-button").disabled = not event.validation_result.is_v ╰─────────────────────╯                                                                                                                    │
│   230 │                                                                                                                                                                                                                                   │
│   231 │   @on(Input.Submitted, "#pairing-code-input")                                                                                                                                                                                     │
│   232 │   @on(Button.Pressed, "#add-device-pin-add-button")                                                                                                                                                                               │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
NoMatches: No nodes match <DOMQuery query='#add-device-button'>

To Reproduce

  1. docker run --rm -it -v ./data:/app/data ghcr.io/dmunozv04/isponsorblocktv --setup
  2. Add Device
  3. Add with pairing code
  4. tab down to the "Pairing Code" input
  5. type a number

Expected behavior The number should appear.

iSponsorBlockTV server (please complete the following information):

Apple TV (please complete the following information):

dmunozv04 commented 9 months ago

Seems I made a mistake. Should be fixed on the latest version. Give it a couple of minutes for the docker image to build