Megacubo icon indicating copy to clipboard operation
Megacubo copied to clipboard

Fails on Linux

Open faveoled opened this issue 1 year ago • 5 comments

OS: Linux Mint 22 Live ISO

$ ./megacubo
DEFAULT PATH cwd=/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app null :: false
DEFAULT PATH data=/home/mint/.local/share/Megacubo null :: false
DEFAULT PATH config=/home/mint/.config/Megacubo null :: false
DEFAULT PATH cache=/home/mint/.cache/Megacubo null :: false
DEFAULT PATH log=/home/mint/.local/state/Megacubo null :: false
DEFAULT PATH temp=/tmp/mint/Megacubo null :: false
[main] Initializing node...
(node:5197) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Unhandled rejection at: Promise {
  <rejected> TypeError: undefined is not a function
      at new PremiumManager (evalmachine.<anonymous>:1:1)
      at init (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/main.js:1:1627864)
} reason: TypeError: undefined is not a function
    at new PremiumManager (evalmachine.<anonymous>:1:1)
    at init (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/main.js:1:1627864) TypeError: undefined is not a function
    at new PremiumManager (evalmachine.<anonymous>:1:1)
    at init (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/main.js:1:1627864)
Loading locale /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en-gb.js
Loading locale /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en-gb.js
Error loading locale en-gb from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en-gb.js: evalmachine.<anonymous>:1
output=e%100
^

ReferenceError: e is not defined
    at evalmachine.<anonymous>:1:1
    at Script.runInContext (vm.js:127:20)
    at Script.runInNewContext (vm.js:133:17)
    at Function.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/worker.js:1:19513)
Loading locale /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en.js
Error loading locale en-gb from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en-gb.js: evalmachine.<anonymous>:1
output=e%100
^

ReferenceError: e is not defined
    at evalmachine.<anonymous>:1:1
    at Script.runInContext (vm.js:127:20)
    at Script.runInNewContext (vm.js:133:17)
    at Function.ue.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/main.js:1:22966)
Error loading locale en from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en.js: evalmachine.<anonymous>:1
output=e%100
^

ReferenceError: e is not defined
    at evalmachine.<anonymous>:1:1
    at Script.runInContext (vm.js:127:20)
    at Script.runInNewContext (vm.js:133:17)
    at Function.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/worker.js:1:19513)
Error loading locale en-gb from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en-gb.js: evalmachine.<anonymous>:1
output=e%100
^

ReferenceError: e is not defined
    at evalmachine.<anonymous>:1:1
    at Script.runInContext (vm.js:127:20)
    at Script.runInNewContext (vm.js:133:17)
    at Function.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/worker.js:1:19513)
Loading locale /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en.js
Error loading locale en from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en.js: evalmachine.<anonymous>:1
output=e%100
^

ReferenceError: e is not defined
    at evalmachine.<anonymous>:1:1
    at Script.runInContext (vm.js:127:20)
    at Script.runInNewContext (vm.js:133:17)
    at Function.ue.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/main.js:1:22966)
Error loading locale en from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en.js: evalmachine.<anonymous>:1
output=e%100
^

ReferenceError: e is not defined
    at evalmachine.<anonymous>:1:1
    at Script.runInContext (vm.js:127:20)
    at Script.runInNewContext (vm.js:133:17)
    at Function.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/worker.js:1:19513)

UI elements do not appear in the window

faveoled avatar Jan 14 '25 14:01 faveoled

Same happens on Ubuntu 20.04 and 22.04 No UI a all, just main window shell.

sevypannella avatar Jan 14 '25 23:01 sevypannella

Same error "ReferenceError: e is not defined" occurs on Rhino Linux which is also based on Ubuntu. UI elements do not appear in the window

MarkRijckenberg avatar Jan 26 '25 13:01 MarkRijckenberg

Fails on Kubuntu 24.04.1.

chamdim avatar Feb 02 '25 10:02 chamdim

Same error on Ubuntu 24, Version 17.5.5 or 17.5.6

jimbowarrior avatar Mar 01 '25 07:03 jimbowarrior

Here to agree. No elements on Linux Mint 22.1

Ran it with debugger and it looks like

ken@ken-Sword-15-A11UD:~$ /opt/megacubo/megacubo-debug.sh Debugger listening on ws://127.0.0.1:9229/13078cc1-a6af-4fb3-a445-b39c5f2a7abd For help, see: https://nodejs.org/en/docs/inspector Premium loading: /opt/megacubo/resources/app/dist/premium.jsc DEFAULT PATH cwd=/opt/megacubo/resources/app null :: false DEFAULT PATH data=/home/ken/.local/share/Megacubo null :: false DEFAULT PATH config=/home/ken/.config/Megacubo null :: false DEFAULT PATH cache=/home/ken/.cache/Megacubo null :: false DEFAULT PATH log=/home/ken/.local/state/Megacubo null :: false DEFAULT PATH temp=/tmp/ken/Megacubo null :: false Premium loaded (node:261796) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. Bridge server started undefined

DevTools listening on ws://127.0.0.1:9222/devtools/browser/0aeb7425-73db-416e-95f5-b16cd615c155 GET /renderer/electron.html CLOSED GET /renderer/assets/custom-frame/custom-frame.js CLOSED GET /renderer/assets/js/electron.js CLOSED GET /renderer/assets/images/default_icon_white.png CLOSED GET /renderer/assets/custom-frame/custom-frame-core.css CLOSED GET /renderer/assets/custom-frame/icons/css/cf-fa.css CLOSED GET /renderer/assets/custom-frame/custom-frame-theme.css CLOSED GET /renderer/index.html CLOSED GET /renderer/assets/custom-frame/icons/font/cf-fa.woff2?10400104 CLOSED GET /renderer/assets/images/default_icon_white.png CLOSED GET /renderer/dist/renderer.js CLOSED [main] get-lang-callback { name: 'America/Chicago', minutes: -300 } Megacubo 17.6.0 9lxs35fy true get-lang-callback 1 Language loaded. Initializing premium... Unhandled rejection at: Promise { TypeError: undefined is not a function at new PremiumManager (evalmachine.:1:1) at init (/opt/megacubo/resources/app/dist/main.js:1:2157036) } reason: TypeError: undefined is not a function at new PremiumManager (evalmachine.:1:1) at init (/opt/megacubo/resources/app/dist/main.js:1:2157036) TypeError: undefined is not a function at new PremiumManager (evalmachine.:1:1) at init (/opt/megacubo/resources/app/dist/main.js:1:2157036) GET /renderer/assets/icons/icons.css CLOSED GET /renderer/dist/renderer.css CLOSED GET /renderer/assets/css/all.min.css CLOSED GET /renderer/assets/images/blank.png CLOSED GET /renderer/assets/images/default_icon_white.png CLOSED GET /renderer/assets/images/blank.png CLOSED GET /renderer/assets/webfonts/pro-fa-solid-900-5.0.0.woff2 CLOSED GET /renderer/assets/webfonts/pro-fa-solid-900-5.0.13.woff2 CLOSED

It seems like there's an error when trying to initialize the premium features of the application, which of course, I didn't install.

Initializing premium... Unhandled rejection at: Promise { TypeError: undefined is not a function at new PremiumManager (evalmachine.:1:1) at init (/opt/megacubo/resources/app/dist/main.js:1:2157036) }

This error indicates that the application is trying to use a function that doesn't exist, specifically when initializing the "PremiumManager" component. This is likely why the application starts but doesn't display any content.

AcmeGitHub avatar Mar 11 '25 00:03 AcmeGitHub