Clicking output control throws error in JS console
See original GitHub issueIris version
3.61.1
Operating system(s) affected
- Windows
- MacOS
- iOS
- Android
- Linux
- Other
Browser(s) affected
- Firefox
- Chrome
- Edge
- Other
What happened?
After upgrading to snapserver 0.26.0 from a mistaken Debian repo install, clicking on the outputs speaker icon causes the Iris UI to go blank and a TypeError to be thrown in the web console when Snapcast is enabled. Refreshing the page will bring the controls back, but AFAICT there’s no way to configure outputs as had worked previously. Is this a JSON RPC version issue?
Here’s a screen recording of the error
https://user-images.githubusercontent.com/1056369/152872827-5e25bde7-c753-49b1-9ec5-8aa4ca70e22d.mov
Logs
TypeError: Cannot read properties of undefined (reading 'scheme')
at A (app.min.js?v=1643875123:79:192392)
at Wa (app.min.js?v=1643875123:95:57930)
at bs (app.min.js?v=1643875123:95:104169)
at uc (app.min.js?v=1643875123:95:96717)
at sc (app.min.js?v=1643875123:95:96642)
at Zs (app.min.js?v=1643875123:95:93672)
at app.min.js?v=1643875123:95:45314
at t.unstable_runWithPriority (app.min.js?v=1643875123:103:3844)
at Hi (app.min.js?v=1643875123:95:45023)
at Gi (app.min.js?v=1643875123:95:45259)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
click() method not working Console returning error JavaScript
document.getElementsByClassName returns an array of elements. So you need to acces individual element and then perform click operation.
Read more >A Definitive Guide to Handling Errors in JavaScript - Kinsta
Getting tripped up by errors in your JavaScript? We'll show you how to tame those errors so you can get back to developing...
Read more >A mostly complete guide to error handling in JavaScript.
Learn how to deal with errors and exceptions in synchronous and asynchronous JavaScript code.
Read more >What went wrong? Troubleshooting JavaScript - MDN Web Docs
Go to the tab that you've got number-game-errors.html open in, and open your JavaScript console. You should see an error message along the ......
Read more >Error Handling in JavaScript: a Quick Guide | by Bret Cameron
In this article, we'll look into error handling in JavaScript. We're specifically talking ... Should I use throw, return or console.error?
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
would also be nice, to add a button for cleaning up old disconnected clients.
@novwhisky: thx, i was able to manually clean my list, now the blackscreen-error when tapping devices on ios and macos is gone.
cheers bendsch
Thanks @jaedb 😁 . I see you have error boundaries already implemented elsewhere, are you interested in me opening a PR for this?