Repository: nukeop/nuclear

Issue #794: Songs don't play
Created: 2020-11-29T23:56:27Z
I can't play any song in the last versions of Nuclear. The UI displays it as playing (play button turns to pause button), but the song stays stucked at 00:00 and there is no sound.
OS: Ubuntu 18.04
I found this in your troubleshooting section:

Songs load but fail to start
Sometimes our Youtube API key gets too much traffic and becomes rate limited. This causes problems with loading streams. As a workaround, you can use your own API key by pasting it in the settings section, near the bottom.

However I get different errors depending on the versions when trying to play the same song, so I think my issue may not be linked with the Youtube API:

v 0.6.6:

main › renderer › Error while searching  for Beast in Black Blind and Frozen on Youtube
main › renderer › TypeError: Cannot read property 'id' of undefined
    at file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2240:321478


v 0.6.5:
Here the issue is different as I couldn't even start Nuclear:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: 
Something went wrong installing the "sharp" module

libvips-cpp.so.42: cannot open shared object file: No such file or directory

- Remove the "node_modules/sharp" directory then run
  "npm install --ignore-scripts=false --verbose" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/install
- Search for this error at https://github.com/lovell/sharp/issues

    at Object.<anonymous> (/opt/nuclear/resources/app.asar/node_modules/sharp/lib/constructor.js:34:9)
    at Object.<anonymous> (/opt/nuclear/resources/app.asar/node_modules/sharp/lib/constructor.js:338:3)
    at Module._compile (internal/modules/cjs/loader.js:693:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (internal/modules/cjs/loader.js:640:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/opt/nuclear/resources/app.asar/node_modules/sharp/lib/index.js:3:15)
    at Object.<anonymous> (/opt/nuclear/resources/app.asar/node_modules/sharp/lib/index.js:15:3)
    at Module._compile (internal/modules/cjs/loader.js:693:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)


v 0.6.3:

renderer › Error while searching  for Beast in Black Blind and Frozen on Youtube
renderer › {}


v 0.6.1:

renderer › Error while searching  for Beast in Black Blind and Frozen on Youtube
renderer › {}

Same error, but the song actually starts playing! I'm just going to keep using 0.6.1 for now.
Each version was installed with the .deb files from https://github.com/nukeop/nuclear/releases

Duplicate issue #801: Songs do not play
Created: 2020-12-29T14:53:36Z
I know there is a troubleshoot item and at least another issue, but this seemed different.
Everything seems to work except playing songs which remain at 00:00 without sound, and of course downloads.
The following is the output of starting nuclear 0.66 from CLI , switching to BEST SONGS tab, and trying to play Mariah Carey - All I want for christmas is you song, failing, and closing the app.
Nuclear is installed using app manager on Linux Mint 19.3 Cinnamon
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
libGL error: failed to open /dev/dri/card0: No existe el fichero o el directorio
libGL error: failed to load driver: i965
      main › (node:3) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
      main › (node:3) UnhandledPromiseRejectionWarning: Error [ERR_UNHANDLED_ERROR]: Unhandled error. ([ 'org.freedesktop.DBus.Error.ServiceUnknown' ])
    at er.emit (events.js:299:17)
    at n (/app/main/resources/app.asar/dist/main.js:2717:44875)
    at /app/main/resources/app.asar/dist/main.js:2717:45132
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
      main › (node:3) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
      main › (node:3) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      main › renderer › Error while searching  for Mariah Carey All I Want for Christmas Is You on Youtube
      main › renderer › Error: Error parsing info: Unexpected token ) in JSON at position 0
    at t.getBasicInfo (file:///app/main/resources/app.asar/dist/1.renderer.js:2240:278393)
    at async Map.getOrSet (file:///app/main/resources/app.asar/dist/1.renderer.js:2240:262532)
    at async t.getInfo (file:///app/main/resources/app.asar/dist/1.renderer.js:2240:280578)
    at async Map.getOrSet (file:///app/main/resources/app.asar/dist/1.renderer.js:2240:262532)
[fake-sandbox: zypak-sandbox] No data could be read (host died?)
[fake-sandbox: zypak-sandbox] Quitting Zygote...

Closing comment (2021-01-05T00:46:06Z): Dupe of #794 please close.