cherrymusic icon indicating copy to clipboard operation
cherrymusic copied to clipboard

failed to load file browser

Open ikaroweb opened this issue 8 years ago • 9 comments

Hi, When i try to browse my music, i've this error. How can i fix ?

Thanks.

ikaroweb avatar Mar 05 '16 08:03 ikaroweb

Hello @ikaroweb ,

if you want any help, you need to provide more details about the issue you are having and your setup (server and client device/OS, CherryMusic version, Browser and version, configuration file settings, the way you run CherryMusic, error outputs and logs, etc.). Otherwise we can't even try to help you...

6arms1leg avatar Apr 01 '16 18:04 6arms1leg

Hello Eugenio,

Please add more info to your issue or I will have to close it.

devsnd avatar May 23 '16 04:05 devsnd

Hello, What do you need ? :)

ikaroweb avatar May 23 '16 07:05 ikaroweb

Please include all the console output of the cherrymusic server as well as the client. Also please include server and client device/OS, CherryMusic version, Browser and version in your report.

To see the client log output, open the developer console of your browser. see here on how to open the console on any browser

devsnd avatar May 24 '16 07:05 devsnd

I am encountering this same error on the latest release build, although I suspect it's due to the sheer size (~80GB) of the database I pointed at in the config file. Search finds all the playable formats just fine, and album art as appropriate. The console output isn't throwing any stack traces, but I've redirected it to a log file with a shell script:

#!/bin/sh
cd /path/to/cherrymusic-source
python cherrymusic --update --port $PORTNUM 2>&1 > ~/.config/cherrymusic/cherrymusic.log

tidux avatar Jun 15 '16 21:06 tidux

Hey @tidux, CherryMusic works fine even on a raspberry pi when dealing with some terabytes of music, your 80GB should not be any problem.

Maybe the error is on the client side if there are no errors in the server console. Please look into the console output of your browser and paste any output that looks like an error. I cannot fix a problem that I cannot reproduce.

devsnd avatar Jun 21 '16 08:06 devsnd

I'm getting the same error. Here's my console output from Chrome.

cherrymusic.dist.js:577 POST http://192.168.0.27:8080/api/listdir 400 (Bad Request)send @ cherrymusic.dist.js:577ajax @ cherrymusic.dist.js:538api @ cherrymusic.dist.js:1463loadBrowser @ cherrymusic.dist.js:1532onclick @ VM383 :1 cherrymusic.dist.js:1466 CMError: failed to load file browser(anonymous function) @ cherrymusic.dist.js:1466(anonymous function) @ cherrymusic.dist.js:1461fire @ cherrymusic.dist.js:208fireWith @ cherrymusic.dist.js:213done @ cherrymusic.dist.js:545callback @ cherrymusic.dist.js:581

aeleeds avatar Oct 14 '16 01:10 aeleeds

Can you please post the Server logs?

BTW: CM can easily handle 80gb even on a raspberry pi, so its not a performance issue.

On Oct 14, 2016 3:43 AM, "aeleeds" [email protected] wrote:

I'm getting the same error. Here's my console output from Chrome.

cherrymusic.dist.js:577 POST http://192.168.0.27:8080/api/listdir 400 (Bad Request)send @ cherrymusic.dist.js:577ajax @ cherrymusic.dist.js:538api @ cherrymusic.dist.js:1463loadBrowser @ cherrymusic.dist.js:1532onclick @ VM383 :1 cherrymusic.dist.js:1466 CMError: failed to load file browser(anonymous function) @ cherrymusic.dist.js:1466(anonymous function) @ cherrymusic.dist.js:1461fire @ cherrymusic.dist.js:208fireWith @ cherrymusic.dist.js:213done @ cherrymusic.dist.js:545callback @ cherrymusic.dist.js:581

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/devsnd/cherrymusic/issues/617#issuecomment-253688417, or mute the thread https://github.com/notifications/unsubscribe-auth/AB45eqwQm_WWQuTof3xBXbvVTGfoG3iBks5qzt4mgaJpZM4Hp8Yt .

devsnd avatar Oct 14 '16 12:10 devsnd

Hi, I have the same issue [170113-21:06] running full update... [170113-21:06] ETA 1 sec [=] .DS_Store (1) [170113-21:06] ETA 1 sec [=] ._.DS_Store (2) [170113-21:06] ETA 1 sec [=] Arctic Monkeys (3) [170113-21:06] ETA 1 sec [=] Avenged Sevenfold (130) [170113-21:06] ETA 1 sec [=] Biting Elbows (168) [170113-21:06] ETA 1 sec [=] Childish Gambino (200) [170113-21:06] ETA 1 sec [=] D12 (224) [170113-21:06] ETA 1 sec [=] Daft Punk (275) [170113-21:06] ETA 1 sec [=] Dan Reeder (552) [170113-21:06] ETA 1 sec [=] Dasha Charusha (589) [170113-21:06] ETA 1 sec [=] Dead Kennedys (617) [170113-21:06] ETA 1 sec [=] Diablo Swing Orchestra (1183) [170113-21:06] ETA 1 sec [=] ERB (1217) [170113-21:06] ETA 1 sec [=] Eminem (1251) [170113-21:06] ETA 1 sec [=] En_gma (1712) [170113-21:06] ETA 1 sec [=] Fabri Fibra (1734) [170113-21:06] ETA 1 sec [=] Green Day (1760) [170113-21:06] ETA 1 sec [=] Idiot Flesh (1775) [170113-21:06] ETA 1 sec [=] JSRF - Soundtrack (1824) [170113-21:06] ETA 1 sec [=] John Congleton and the Nighty Nite (1937) [170113-21:06] ETA 1 sec [=] Metallica (1949) [170113-21:06] ETA 1 sec [=] Nickelback (2020) [170113-21:06] ETA 1 sec [=] PUP (2060) [170113-21:06] ETA 1 sec [=] Rancore & dj Myke (2098) [170113-21:06] ETA 1 sec [=] Repetitor (2284) [170113-21:06] ETA 1 sec [=] Salmo (2286) [170113-21:06] ETA 1 sec [=] Skiantos (2349) [170113-21:06] ETA 1 sec [=] Strawberry Girls (2393) [170113-21:06] ETA 1 sec [=] The Interrupters (2411) [170113-21:06] ETA 1 sec [=] The Notorious B.I.G. (2430) [170113-21:06] ETA 1 sec [=] The Paper Chase (2557) [170113-21:06] ETA 1 sec [=] Uncle Acid And The DeadBeats (2639) [170113-21:06] ETA 1 sec [=] Varie (2764) [170113-21:06] ETA 1 sec [=] Willie Peyote (2766) [170113-21:06] items added 0, removed 0 [170113-21:06] updating word occurrences... [170113-21:06] media database update complete. I don't know why it's not working

UPDATE: https://github.com/devsnd/cherrymusic/issues/506 using python3 makes it work

timmykill avatar Jan 13 '17 21:01 timmykill