Add python2 as dependency:
gyp verb `which` failed Error: not found: python2
Git Clone URL: | https://aur.archlinux.org/franz.git (read-only, click to copy) |
---|---|
Package Base: | franz |
Description: | Free messaging app for services like WhatsApp, Slack, Messenger and many more. |
Upstream URL: | https://meetfranz.com |
Licenses: | Apache |
Submitter: | 314eter |
Maintainer: | ItachiSan |
Last Packager: | ItachiSan |
Votes: | 146 |
Popularity: | 0.000000 |
First Submitted: | 2017-10-26 11:34 (UTC) |
Last Updated: | 2023-09-11 20:46 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 19 Next › Last »
Add python2 as dependency:
gyp verb `which` failed Error: not found: python2
@ItachiSan directly after I run pacaur -S franz
it does not start up correctly, it's just a blue screen. When I open up the console, I get the error:
Uncaught Error: Module did not self-register.
at process.func (electron/js2c/asar.js:138)
at process.func [as dlopen] (electron/js2c/asar.js:138)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:828)
at Object.func (electron/js2c/asar.js:138)
at Object.func [as .node] (electron/js2c/asar.js:147)
at Module.load (internal/modules/cjs/loader.js:645)
at Function.Module._load (internal/modules/cjs/loader.js:560)
at Module.require (internal/modules/cjs/loader.js:685)
at require (internal/modules/cjs/helpers.js:16)
at bindings
(/usr/lib/franz/resources/app.asar/node_modules/bindings/bindings.js:112)
This is some info from my root account (no NVM):
v13.12.0
6.14.4
Linux cocaine-cola 5.6.3-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 08 Apr 2020 07:47:48 +0000 x86_64 GNU/Linux
This is some info from my user account (NVM):
v10.19.0
6.13.4
Linux cocaine-cola 5.6.3-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 08 Apr 2020 07:47:48 +0000 x86_64 GNU/Linux
@wjoe: definetely electron6
@gear4: I don't understand completely your setup. Can you try to explain again? So I may be able to replicate it.
upon running franz:
Uncaught Error: Module did not self-register.
at process.func (electron/js2c/asar.js:138)
at process.func [as dlopen] (electron/js2c/asar.js:138)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:828)
at Object.func (electron/js2c/asar.js:138)
at Object.func [as .node] (electron/js2c/asar.js:147)
at Module.load (internal/modules/cjs/loader.js:645)
at Function.Module._load (internal/modules/cjs/loader.js:560)
at Module.require (internal/modules/cjs/loader.js:685)
at require (internal/modules/cjs/helpers.js:16)
at bindings (/usr/lib/franz/resources/app.asar/node_modules/bindings/bindings.js:112)
also a Electron Security Warning (Insecure Content-Security-Policy) pops up
Installed Apr 04 2020 @ 8pm
[root@cocaine-cola ~]# node -v && npm -v && uname -a
v10.19.0
6.13.4
Linux cocaine-cola 5.5.13-zen2-1-zen #1 ZEN SMP PREEMPT Mon, 30 Mar 2020 20:45:45 +0000 x86_64 GNU/Linux
[aaron@cocaine-cola ~]$ node -v && npm -v && uname -a
v10.19.0
6.13.4
Linux cocaine-cola 5.5.13-zen2-1-zen #1 ZEN SMP PREEMPT Mon, 30 Mar 2020 20:45:45 +0000 x86_64 GNU/Linux
Note that my user account uses NVM and franz works on the root account (with --no-sandbox flag)
When trying to run it, I get the error:
electron6: error while loading shared libraries: libre2.so.6: cannot open shared object file: No such file or directory
I fixed this by installing the re2
package. Should this be added as a dependency here, or to the electron6
package?
Hi everyone,
Sorry for the delays in the package maintainance, but life happened as usual.
Now working a rebuild of the package. :)
Currently focusing on:
electron6
I also get this message when I start Franz from CLI:
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
Perhaps this helps...
Does anyone else have the problem that Franz suddenly doesn't appear in the systray anymore? I'm running XFCE and since the last update the tray icon doesn't show up anymore...
Hi everyone, back to work (in all ways).
@Pigstah, not sure it is an issue of the app or the packaging; which extension are you using?
@electra might be an issue with the app; in that case, you should report it upstream.
Telegram not work. err_connection_timed_out With proxy and no with proxy.
Pinned Comments
ItachiSan commented on 2019-10-07 08:26 (UTC) (edited on 2021-09-08 07:58 (UTC) by ItachiSan)
If you have troubles, read this message!
Please go to the relevant section of this comment in order to make both your and my life easier :)
Now, to the resolutions!
1. The app opens but I got a blue screen and nothing more / The app refuses to start / ...
The package depends on Node.js native stuff which are compiled at build time, which makes it break on Electron updates.
With a PKGBUILD between 2020-11-15 till 2021-09-08, you should always have gad a correct matching between Electron and Franz versions.
After 2021-09-08, while the Electron packages follows just the official Arch package dependency, as it is based on not-rolling versions (AKA following a specific Electron branch) breakages are unlikely.
If you would like to help me on this, whenever you have problems starting it, do the following:
If the above steps help you, report the package as outdated here and write in the comment something like:
If you have some other issues, you should open the developer tools and give me its output, in addition to what is your environment, so I can figure out if it is a packaging issue (my job to fix) or an upstream/code issue (their job to fix); in the second case, I will open a bug request and mention it in a comment, so that you can track it.
2. (Obsolete) I cannot upgrade Electron
The following resolution is not valid since 2021-09-08, it is kept for historic purposes
This is intended; since the PKGBUILD for Franz 5.5.0-4, the package marks as dependency a version-locked Electron package in order to avoid issues with binary modules over upgrades.
In such scenario, you should, assuming
_electron="electron"
in the PKGBUILD (meaning the Electron used is bundled in the packageelectron
):pacman -Syu --ignore electron
If you want however to upgrade the Electron package, do
pacman -S --assume-installed electron=FRANZ.REQUIRED.VERSION electron
Hope this was a good explanation, might get updates if I missed something :)