Open pbaesse opened 7 years ago
Hi,
Could you send the console output see if it's the same issue as #71 ?
You can open console with Cmd/Ctrl+Alt+i (and click console tab) or launching Harmony from command line with the --enable-logging
parameter
There seems to be some problem with the fs module when handling very large folders, but I don't know why :/
I'm having the same issue, so I'll post my output of the logging. I didn't see the same output as in bug #71
harmony --enable-logging
Linux MPRIS compatible system.
changed { Identity: 'Harmony' }
We are on a -linux- system
[22727:0325/211258.429668:INFO:CONSOLE(25)] "We are on a -linux- system", source: /opt/Harmony/resources/app.asar/node_modules/console-redirect/index.js (25)
We are on a -linux- system
[22727:0325/211302.608759:INFO:CONSOLE(25)] "We are on a -linux- system", source: /opt/Harmony/resources/app.asar/node_modules/console-redirect/index.js (25)
Testing internet...
[22727:0325/211316.203205:INFO:CONSOLE(25)] "Testing internet...", source: /opt/Harmony/resources/app.asar/node_modules/console-redirect/index.js (25)
Latest release is v0.5.1 and we're running 0.5.1
[22727:0325/211316.807339:INFO:CONSOLE(25)] "Latest release is v0.5.1 and we're running 0.5.1", source: /opt/Harmony/resources/app.asar/node_modules/console-redirect/index.js (25)
[22752:0325/211321.491553:ERROR:gles2_cmd_decoder.cc(17045)] [.RenderWorker-0x1873d2d14100]GL ERROR :GL_INVALID_OPERATION : glBindTexImage2DCHROMIUM: no image found with the given ID
[22752:0325/211321.491732:ERROR:gles2_cmd_decoder.cc(16316)] [.RenderWorker-0x1873d2d14100]GL ERROR :GL_INVALID_VALUE : glCopySubTextureCHROMIUM: source texture has no level 0
[22752:0325/211321.492902:ERROR:gles2_cmd_decoder.cc(17045)] [.RenderWorker-0x1873d2d14100]GL ERROR :GL_INVALID_OPERATION : glBindTexImage2DCHROMIUM: no image found with the given ID
[22752:0325/211321.492947:ERROR:gles2_cmd_decoder.cc(16316)] [.RenderWorker-0x1873d2d14100]GL ERROR :GL_INVALID_VALUE : glCopySubTextureCHROMIUM: source texture has no level 0
Hi, sadly I have the same bug on my mac. Library is composed of approximatively 17k .flac files (and some .ogg and .mp3), for a total size of over 400Go
./Harmony --enable-logging
<<<< VTVideoEncoderSelection >>>> VTSelectAndCreateVideoEncoderInstanceInternal: no video encoder found for 'avc1'
[10:52:08.845] VTSelectAndCreateVideoEncoderInstanceInternal signalled err=-12908 (err) (Video encoder not available) at /SourceCache/ CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTVideoEncoderSelection.c line 1245
[10:52:08.845] VTCompressionSessionCreate signalled err=-12908 (err) (Could not select and open encoder instance) at /SourceCache/ CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTCompressionSession.c line 946
We are on a -darwin- system
[8991:0327/105209.739098:INFO:CONSOLE(25)] "We are on a -darwin- system", source: /Applications/Harmony.app/Contents/Resources/app.asar/node_modules/ console-redirect/index.js (25)
Testing internet...
[8991:0327/105209.833519:INFO:CONSOLE(25)] "Testing internet...", source: /Applications/Harmony.app/Contents/Resources/app.asar/node_modules/ console-redirect/index.js (25)
Latest release is v0.5.1 and we're running 0.5.1
[8991:0327/105211.433490:INFO:CONSOLE(25)] "Latest release is v0.5.1 and we're running 0.5.1", source: /Applications/Harmony.app/Contents/Resources/ app.asar/node_modules/console-redirect/index.js (25)
[8991:0327/105215.780020:INFO:CONSOLE(53)] "Uncaught Error: EMFILE: too many open files, open '/Users/daoro/.config/configstore/harmony.json'", source: /Applications/Harmony.app/Contents/Resources/app.asar/node_modules/configstore/index.js (53)
Quick info: Same for me. I cannot use it at all. Sad!
@hipunk How big (gb) is your library ?
@Daoro Could you try running on your command line ulimit -n 10480
before running Harmony? From here.
If it doesn't work please try launchctl limit maxfiles 16384 16384 && ulimit -n 16384
@vincelwt ulimit doesn't work in both cases, but I used -n 2048 and asked back which value it's set to, and the answer is now "unlimited" instead of 256.
Then I tried launching Harmony, and it still hangs and blanks at some point, though it takes a longer while. I also get some "Could not get duration from [path to file] , source: /Applications/Harmony.app/Contents/Resources/app.asar/node_modules/console-redirect/index.js (25)" where the files are ressources files (like ._filename.ext)
I can also see some "MediaEvent: PIPELINE_ERROR demuxer: could not open"
Just in case, I'm running Harmony 0.5.1 on OSX 10.10.5.
@Daoro Thanks for trying, so no more Uncaught Error: EMFILE: too many open files
error ? That's a first step.
About the "Could not get duration", that's not a fatal error so I don't think that's causing the issue.
I'm currently experimenting with migrating to a proper db solution for storing the library with future releases, I hope it'll handle better large libraries.
Hi, could anyone try with v0.6.0? I switched to a DB to store the library, and hope it can better handle large libraries.
Still getting a blank screen ^^
1st I tried launching it right after updating, and I did get this :
[15802:0508/111729.383505:INFO:CONSOLE(53)] "Uncaught Error: EMFILE: too many open files, open '/Users/daoro/.config/configstore/harmony.json'", source: /Applications/Harmony.app/Contents/Resources/app.asar/node_modules/configstore/index.js (53)
Then I did try with both launchctl limit maxfiles 16384 16384 && ulimit -n 16384
and by deleting harmony.json in ~/.config/configstore and all the files in ~/Library/Application Support/Harmony, but it still goes to a blank screen.
This is the console output (nothing helpful) :
./Harmony --enable-logging
<<<< VTVideoEncoderSelection >>>> VTSelectAndCreateVideoEncoderInstanceInternal: no video encoder found for 'avc1'
[11:26:14.187] VTSelectAndCreateVideoEncoderInstanceInternal signalled err=-12908 (err) (Video encoder not available) at /SourceCache/ CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTVideoEncoderSelection.c line 1245
[11:26:14.187] VTCompressionSessionCreate signalled err=-12908 (err) (Could not select and open encoder instance) at /SourceCache/ CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTCompressionSession.c line 946
[16091:0508/112614.766924:INFO:CONSOLE(30)] "We are on a -darwin- system", source: file:///Applications/Harmony.app/Contents/Resources/app.asar/app/ js/app.js (30)
[16091:0508/112614.870453:INFO:CONSOLE(127)] "First time app is launched!", source: file:///Applications/Harmony.app/Contents/Resources/app.asar/app/ js/main.js (127)
[16091:0508/112615.011161:INFO:CONSOLE(160)] "Data not found. Fetching data.", source: file:///Applications/Harmony.app/Contents/Resources/app.asar/ app/js/main.js (160)
[16091:0508/112615.531880:INFO:CONSOLE(30)] "We are on a -darwin- system", source: file:///Applications/Harmony.app/Contents/Resources/app.asar/app/ js/app.js (30)
[16091:0508/112623.774457:INFO:CONSOLE(160)] "Data not found. Fetching data.", source: file:///Applications/Harmony.app/Contents/Resources/app.asar/ app/js/main.js (160)
[16091:0508/112623.774578:INFO:CONSOLE(45)] "Checking for updates...", source: file:///Applications/Harmony.app/Contents/Resources/app.asar/app/js/ utils.js (45)
[16091:0508/112623.774638:INFO:CONSOLE(7)] "Testing internet...", source: file:///Applications/Harmony.app/Contents/Resources/app.asar/app/js/ utils.js (7)
[16091:0508/112624.199860:INFO:CONSOLE(54)] "Latest release is v0.6.0 and we're running 0.6.0", source: file:///Applications/Harmony.app/Contents/ Resources/app.asar/app/js/utils.js (54)`
Tried with v0.9, the issue is still there My library is around 85GB and is located on a Synology NAS.
Same issue here with 0.9.1 on windows 10 with a not so large library (44GB).
App freezes and then it gets stuck at the plugins screen, I can't use it at all.
I think that harmony can not handle large libraries yet. I have almost 10k songs, so when after it starts scanning the library the app freezes up.
I really love the idea of the app, always thought about it. I hope it get fixed soon :)