This package is now hardcoded to Electron 27.
I hate this, if someone has the time to investigate what is going wrong, patches for re-enabling latest electron are welcome.
Git Clone URL: | https://aur.archlinux.org/deemix-gui-git.git (read-only, click to copy) |
---|---|
Package Base: | deemix-gui-git |
Description: | A gui electron app for the deemix lib |
Upstream URL: | https://gitlab.com/RemixDev/deemix-gui |
Licenses: | GPL-3.0-or-later |
Provides: | deemix-gui |
Submitter: | remixdev |
Maintainer: | C0rn3j |
Last Packager: | C0rn3j |
Votes: | 8 |
Popularity: | 0.000000 |
First Submitted: | 2021-06-27 20:20 (UTC) |
Last Updated: | 2024-12-22 15:03 (UTC) |
This package is now hardcoded to Electron 27.
I hate this, if someone has the time to investigate what is going wrong, patches for re-enabling latest electron are welcome.
@srn changed /usr/bin/deemix-gui
to some random lower version of electron i have installed (electron 25) and it does indeed work now.
@silt, @fdz I'm having the same issue. After downgrading electron to 27 it's working again. Seems to be an issue with electron 28 and 29.
This package is no longer maintained and hasn't been for about a year. It could be that some dependencies have been updated and its breaking something.
Currently I have no time to look into it and try to fix it.
@fdz I'm having the same issue as you.
Maybe
deemix-gui
tries to open the port twice and then crashes ?
This appears to be the case. From strace -e trace=network deemix-gui
:
socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 44
setsockopt(44, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(44, {sa_family=AF_INET, sin_port=htons(6595), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
listen(44, 511) = 0
socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 45
setsockopt(45, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(45, {sa_family=AF_INET, sin_port=htons(6595), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EADDRINUSE (Address already in use)
I don't see immediately see anything in the deemix-gui
source that would cause this, but TypeScript is luckily far outside my area of expertise.
@remixdev any suggestions for either fixing this or more precisely tracking down the problem?
@remixdev thanks for the tip (I tried -h instead of --help…), but in the meantime found this option. Unfortunately, this does not solve anything : whatever port I set, I get the same message.
The ports are not in use, but deemix-gui
still fails even if I'm able to open them and listen / send simple text on them afterwards.
Maybe deemix-gui
tries to open the port twice and then crashes ?
Checking the last release date I think I used deemix-gui
sucessfully since a few months ago, so it's probably something else interfering, but what ? A friend talked of apparmor but I don't understand this well, I'll try to dive into this. If you have any ideas, feel free to share.
@fdz You need to use the --port option or the DEEMIX_SERVER_PORT env variable
Hi, I'm experiencing a strange error when starting deemix-gui
[info] Listening on 127.0.0.1:6595
[error] Port 6595 is already in use
I checked the open ports with ss -lntup
but nothing seems related to that port, anyone experiencing the same issue ?
Following https://gitlab.com/RemixDev/deemix-gui I tried to set the PORT env variable to something else but that doesn't work, deemix-gui
still tries to use 6595.
Installing is possible like this:
Further information about git submoduls: - https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules - https://bugs.archlinux.org/task/76255
Deemix-gui-git still depends on an old version of node.js. Further information about this: - https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported - https://gitlab.com/RemixDev/deemix-gui
Trying to build the package without the node.js dependency and the environment variabel produces this error:
Downloads/deemix-gui-git/src/deemix-gui/server/node_modules/loader-runner/lib/LoaderRunner.js:146
if(isError) throw e;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:140:10)
at BulkUpdateDecorator.hashFactory (deemix-gui-git/src/deemix-gui/server/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.update (deemix-gui-git/src/deemix-gui/server/node_modules/webpack/lib/util/createHash.js:46:50)
at RawSource.updateHash (deemix-gui-git/src/deemix-gui/server/node_modules/webpack-sources/lib/RawSource.js:64:8)
at NormalModule._initBuildHash (deemix-gui-git/src/deemix-gui/server/node_modules/webpack/lib/NormalModule.js:868:17)
at handleParseResult (deemix-gui-git/src/deemix-gui/server/node_modules/webpack/lib/NormalModule.js:934:10)
at deemix-gui-git/src/deemix-gui/server/node_modules/webpack/lib/NormalModule.js:1026:4
at processResult (deemix-gui-git/src/deemix-gui/server/node_modules/webpack/lib/NormalModule.js:743:11)
at deemix-gui-git/src/deemix-gui/server/node_modules/webpack/lib/NormalModule.js:807:5 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v19.1.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Pinned Comments
C0rn3j commented on 2024-06-06 17:28 (UTC) (edited on 2024-06-06 17:28 (UTC) by C0rn3j)
This package is now hardcoded to Electron 27.
I hate this, if someone has the time to investigate what is going wrong, patches for re-enabling latest electron are welcome.