Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Musicbee Traceback from error on load

Found a bug in EventGhost? Report it here.
Post Reply
wysocki
Experienced User
Posts: 65
Joined: Mon Nov 23, 2015 9:23 pm
Location: Los Angeles area

Musicbee Traceback from error on load

Post by wysocki »

Whenever I load my webpage from my Galaxy S5, I get the attached Exception report in the log. Even with the messages, everything appears to be working ok. What causes that traceback report? It doesn't come up when I load the page from a pc.
Attachments
Capture.JPG
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Musicbee Traceback from error on load

Post by Pako »

What browser do you use on your mobile?
When I will be able to reproduce this error, I'll be able to fix it somehow.
Meanwhile, you can try using a different browser. I can recommend, for example, CM Browser. That seems to be pretty good.

Pako
You know flattr ? You can Image
wysocki
Experienced User
Posts: 65
Joined: Mon Nov 23, 2015 9:23 pm
Location: Los Angeles area

Re: Musicbee Traceback from error on load

Post by wysocki »

Very odd. I've been using Dolphin as my browser. The error message actually comes up when I exit the browser AFTER being on my webserver/index.html page. It happens if my defalt webpage is Musicbee or if my homepage contains Musicbee in an iframe. I've installed CM as you suggested and it behaves exactly the same way as Dolphin. I start the browser to its default page, browse to my webserver, hit "back" to go back to the default page, hit back again to close the browser (or just select "Exit" in the browser), then the error appears.

Interestingly, Chrome browser does not have any problems! (just shows "closing" in the log upon exit).
Musicbee was setup from your installation zip from Dec 26, 2015.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Musicbee Traceback from error on load

Post by Pako »

Please try a modified version of Webserver plugin:
__init__.py
Webserver - version 3.10
(192.64 KiB) Downloaded 250 times
Pako
You know flattr ? You can Image
wysocki
Experienced User
Posts: 65
Joined: Mon Nov 23, 2015 9:23 pm
Location: Los Angeles area

Re: Musicbee Traceback from error on load

Post by wysocki »

Sorry, didn't fix the problem, this time it was expecting a string but found an integer! I tried multiple phones and multiple computers with the same results. Chrome browser had no problems. A few times I got Firefox on the computers to cause the problem when I closed the tab or browser, but I could not determine a consistent pattern. On the phones, Dolphin and CM Browser were similar: both created the error when the tab was closed and/or the browser was closed although CM allowed me to navigate to another url, then close the browser with no error. Dolphin would always error on close if it had ever loaded musicbee. (Note: The 'Websocket closing: "/x03/xe9"' message was caused whenever a browser was closed without the error. )
Attachments
Capture.JPG
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Musicbee Traceback from error on load

Post by Pako »

wysocki wrote:Sorry, didn't fix the problem, this time it was expecting a string but found an integer!
It's my fault. Please try corrected version.
The problem is that I can not reproduce it.
wysocki wrote:(Note: The 'Websocket closing: "/x03/xe9"' message was caused whenever a browser was closed without the error. )
That is correct.
That means "endpoint is going down".
I did revamped to make it "human readable".

Pako
Attachments
__init__.py
Plugin Webserver - test version 3.10
(192.98 KiB) Downloaded 214 times
You know flattr ? You can Image
wysocki
Experienced User
Posts: 65
Joined: Mon Nov 23, 2015 9:23 pm
Location: Los Angeles area

Re: Musicbee Traceback from error on load

Post by wysocki »

Perfect! Thanks for handling this so quickly, it's a great plugin - and thanks for introducing me to Musicbee!
Post Reply