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

Fails on Linux #79

Open
faveoled opened this issue Jan 14, 2025 · 5 comments
Open

Fails on Linux #79

faveoled opened this issue Jan 14, 2025 · 5 comments

Comments

@faveoled
Copy link

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

@sevypannella
Copy link

sevypannella commented Jan 14, 2025

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

@MarkRijckenberg
Copy link

MarkRijckenberg commented Jan 26, 2025

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

@chamdim
Copy link

chamdim commented Feb 2, 2025

Fails on Kubuntu 24.04.1.

@jimbowarrior
Copy link

Same error on Ubuntu 24, Version 17.5.5 or 17.5.6

@AcmeGitHub
Copy link

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.

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

No branches or pull requests

6 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy