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

Error: /home/user/bin/extratermqt-0.71.1-linux-x64/node_modules/@nodegui/nodegui/build/Release/../../miniqt/6.4.1/gcc_64/lib/libQt6SvgWidgets.so.6: file too short #425

Open
IvayloHrTonev opened this issue Jun 1, 2023 · 2 comments

Comments

@IvayloHrTonev
Copy link

Hi,

I downloaded this - https://github.com/sedwards2009/extraterm/releases/download/v0.71.1/extraterm-commands-0.71.1.zip
Unpack it and try to start:

./extratermqt            
node:internal/modules/cjs/loader:1243
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /home/user/bin/extratermqt-0.71.1-linux-x64/node_modules/@nodegui/nodegui/build/Release/../../miniqt/6.4.1/gcc_64/lib/libQt6SvgWidgets.so.6: file too short
    at Module._extensions..node (node:internal/modules/cjs/loader:1243:18)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/home/user/bin/extratermqt-0.71.1-linux-x64/node_modules/@nodegui/nodegui/dist/lib/utils/addon.js:3:15)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12) {
  code: 'ERR_DLOPEN_FAILED'
}

Node.js v18.12.1
panic: Post "/command": unsupported protocol scheme ""

goroutine 1 [running]:
main.runCommand({0x0, 0x0}, 0xc0000c3f08)
        /home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:200 +0x2f4
main.runOpenWindowAtCommand({0x0, 0x0}, {0xc000020064, 0x2b})
        /home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:135 +0xd9
main.main()
        /home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:40 +0x73

My OS is Arch
'I have other problems with extraterm-bin from the repo; that's why I am trying using the zip release from here.
Thank you in advance!

@sedwards2009
Copy link
Owner

There doesn't appear to be anything wrong with the zip or its contents. I just tested it here. Is there anything else you can tell me about your system?

@IvayloHrTonev
Copy link
Author

IvayloHrTonev commented Jun 7, 2023

In /home/user/bin/extratermqt-0.71.1-linux-x64/node_modules/@nodegui/nodegui/build/Release/ I only have

nodegui_core.node

Also I installed qt6-svg on system level

Edit:

Maybe the key is the Go version. I see you are using go from traceback:

go version
go version go1.20.5 linux/amd64

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

2 participants