Maschine2501 / NR1-UI

Userinterface for Volumio (RaspberryPi) with ssd1322 and ssd1306 oled display, spectrum bargraph, progress bar, LED functions, Standby-functions, 4 Buttons and Rotary Encoder.
Other
45 stars 12 forks source link

Crash on Volumio Buster with Radio Paradise plugin #8

Closed avjui closed 1 year ago

avjui commented 3 years ago

With the Radio Paradise plugin I got a crash

Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "nr1ui.py", line 569, in display_update_service
    oled.modal.DrawOn(image)
  File "nr1ui.py", line 3130, in DrawOn
    if ScrollSpecsFirstRound == True:
UnboundLocalError: local variable 'ScrollSpecsFirstRound' referenced before assignment

After Insert following lines after line 972 in nr1ui.py the crash is gone for me

        global ScrollSpecsFirstRound
        global ScrollSpecsNextRound
        global ScrollSpecsTag
        global ScrollSpecsNext
Maschine2501 commented 2 years ago

@avjui Hi! Sorry for the late answer. Ist the Issue still persistent on newest Volumio/newest NR1-UI? Cheers