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

Web interface crashes - Javascript error #1430

Closed
1 task done
rrlevy opened this issue Feb 10, 2022 · 0 comments · Fixed by #1464
Closed
1 task done

Web interface crashes - Javascript error #1430

rrlevy opened this issue Feb 10, 2022 · 0 comments · Fixed by #1464
Assignees
Labels

Comments

@rrlevy
Copy link

rrlevy commented Feb 10, 2022

  • I confirm that this is an issue rather than a question.

Bug report

When trying to use Hyperion web interface, it crashes and shows the Hyperion logo overlay:
image

Inspecting the console shows the following error message:

ui_utils.js:1211 Uncaught TypeError: Cannot read properties of undefined (reading 'available')
    at getSystemInfo (ui_utils.js:1211:62)
    at eval (eval at globalEval (jquery.min.js:2:2538), <anonymous>:17:24)
    at eval (<anonymous>)
    at Function.globalEval (jquery.min.js:2:2538)
    at n.fn.init.domManip (jquery.min.js:3:17225)
    at n.fn.init.append (jquery.min.js:3:14908)
    at n.fn.init.<anonymous> (jquery.min.js:3:16268)
    at n.access (jquery.min.js:2:30138)
    at n.fn.init.html (jquery.min.js:3:15939)
    at Object.<anonymous> (jquery.min.js:4:17105)

Steps to reproduce

  • Installed 2.0.12 version with HyperBian in a Raspberry Pi Zero W
  • Configured USB Capture card to use 640x480 and decimation 8
  • Configured LED Hardware to use a WLED controller using tpm2net (using 834 LEDs)
  • Edit the LED Hardware configuration to correctly position the LEDs, and after saving I get in the crash screen. Any page reloads shows the same error
  • If clearing browser cache and reloading, after next login web interface seems to work. Next time editing LED Hardware leads to the same crash

What is expected?

  • Web interface working properly

What is actually happening?

  • Web interface crashes

System

Hyperion Server:

  • Build: (HEAD detached at 2.0.12) (GitHub-dc6aa4d/df14958-1637501177)
  • Build time: Nov 21 2021 17:25:12
  • Git Remote: https://github.com/hyperion-project/hyperion.ng
  • Version: 2.0.12
  • UI Lang: en (BrowserLang: pt-BR)
  • UI Access: default
  • Avail Capt: dispmanx,v4l2,framebuffer,qt
  • Config path: /home/pi/.hyperion
  • Database: read/write

Hyperion Server OS:

  • Distribution: HyperBian GNU/Linux 11 (bullseye)
  • Architecture: arm
  • CPU Model: ARMv6-compatible processor rev 7 (v6l)
  • CPU Type: Raspberry Pi Zero W Rev 1.1
  • CPU Revision: 9000c1
  • CPU Hardware: BCM2835
  • Kernel: linux (5.10.63+ (WS: 32))
  • Root/Admin: false
  • Qt Version: 5.15.2
  • Python Version: 3.9.2
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
@Lord-Grey Lord-Grey added needs investigation Further testing is required and removed Waiting For Review labels Feb 10, 2022
Lord-Grey added a commit to Lord-Grey/hyperion.ng that referenced this issue May 2, 2022
@Lord-Grey Lord-Grey self-assigned this May 2, 2022
@Lord-Grey Lord-Grey added Bug and removed needs investigation Further testing is required labels May 2, 2022
@Lord-Grey Lord-Grey mentioned this issue May 5, 2022
14 tasks
Lord-Grey added a commit that referenced this issue May 10, 2022
* Fix #1430 - ensure all config and sysinfo response are there before reloading the page

* Fix printout

* fix typo

* PriorityMuxer: Remove emit out of QMutableMapIteratorion

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

Successfully merging a pull request may close this issue.

2 participants