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

failed to load file browser #617

Open
ikaroweb opened this issue Mar 5, 2016 · 9 comments
Open

failed to load file browser #617

ikaroweb opened this issue Mar 5, 2016 · 9 comments

Comments

@ikaroweb
Copy link

ikaroweb commented Mar 5, 2016

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

Thanks.

@6arms1leg
Copy link
Collaborator

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...

@devsnd
Copy link
Owner

devsnd commented May 23, 2016

Hello Eugenio,

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

@ikaroweb
Copy link
Author

Hello,
What do you need ? :)

@devsnd
Copy link
Owner

devsnd commented May 24, 2016

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

@tidux
Copy link

tidux commented Jun 15, 2016

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

@devsnd
Copy link
Owner

devsnd commented Jun 21, 2016

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.

@aeleeds
Copy link

aeleeds commented Oct 14, 2016

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

@devsnd
Copy link
Owner

devsnd commented Oct 14, 2016

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
#617 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB45eqwQm_WWQuTof3xBXbvVTGfoG3iBks5qzt4mgaJpZM4Hp8Yt
.

@timmykill
Copy link

timmykill commented Jan 13, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants