Package Details: franz 1:5.10.0-1

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.000083
First Submitted: 2017-10-26 11:34 (UTC)
Last Updated: 2023-09-11 20:46 (UTC)

Dependencies (5)

Required by (0)

Sources (3)

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 :)

  1. Errors when starting the app like: the chat area is all blue
  2. (Obsolete) I get an error when upgrading packages

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:

  1. Open Franz
  2. Franz is broken: maybe for a recent update?
  3. Reinstall Franz from AUR; this will make it rebuild the native blobs
  4. Re-open Franz
  5. Franz should work fine; if so, it was a Node.js/Electron/else update problem

If the above steps help you, report the package as outdated here and write in the comment something like:

Electron update broke Franz

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 package electron):

  1. Mark this package as out of date
  2. Do you regular updates with: pacman -Syu --ignore electron

If you want however to upgrade the Electron package, do

  1. Upgrade the electron package with pacman -S --assume-installed electron=FRANZ.REQUIRED.VERSION electron
  2. Rebuild Franz if needed

Hope this was a good explanation, might get updates if I missed something :)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 19 Next › Last »

gear4 commented on 2020-04-17 09:40 (UTC) (edited on 2020-04-17 09:42 (UTC) by gear4)

@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

ItachiSan commented on 2020-04-16 21:44 (UTC)

@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.

gear4 commented on 2020-04-04 18:00 (UTC) (edited on 2020-04-17 09:40 (UTC) by gear4)

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)

wjoe commented on 2020-03-24 12:48 (UTC)

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?

ItachiSan commented on 2020-03-20 11:32 (UTC) (edited on 2020-03-20 11:42 (UTC) by ItachiSan)

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:

  • Electron version which is friendlier to Franz -> electron6
  • Some PKGBUILD improvements

phiL0co commented on 2020-03-04 14:57 (UTC)

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...

phiL0co commented on 2020-03-04 14:54 (UTC)

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...

ItachiSan commented on 2020-01-07 09:46 (UTC)

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.

electra commented on 2019-12-29 15:36 (UTC)

Telegram not work. err_connection_timed_out With proxy and no with proxy.

Pigstah commented on 2019-10-31 14:36 (UTC)

Hi Itachi,

I'm getting the below error in developer tools

Download the React DevTools for a better development experience: https://fb.me/react-devtoolsYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq /usr/lib/franz/resources/app.asar/node_modules/bindings/bindings.js:121 Uncaught Error: Module did not self-register. at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31) at Object.Module._extensions..node (internal/modules/cjs/loader.js:722) at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18) at Module.load (internal/modules/cjs/loader.js:602) at tryModuleLoad (internal/modules/cjs/loader.js:541) at Function.Module._load (internal/modules/cjs/loader.js:533) at Module.require (internal/modules/cjs/loader.js:640) at require (internal/modules/cjs/helpers.js:20) at bindings (/usr/lib/franz/resources/app.asar/node_modules/bindings/bindings.js:112) at Object.<anonymous> (/usr/lib/franz/resources/app.asar/node_modules/macos-notification-state/lib/index.js:1) module.(anonymous function) @ ELECTRON_ASAR.js:160 Module._extensions..node @ internal/modules/cjs/loader.js:722 module.(anonymous function) @ ELECTRON_ASAR.js:169 Module.load @ internal/modules/cjs/loader.js:602 tryModuleLoad @ internal/modules/cjs/loader.js:541 Module._load @ internal/modules/cjs/loader.js:533 Module.require @ internal/modules/cjs/loader.js:640 require @ internal/modules/cjs/helpers.js:20 bindings @ /usr/lib/franz/resources/app.asar/node_modules/bindings/bindings.js:112 (anonymous) @ /usr/lib/franz/resources/app.asar/node_modules/macos-notification-state/lib/index.js:1 (anonymous) @ /usr/lib/franz/resources/app.asar/node_modules/macos-notification-state/lib/index.js:81 Module._compile @ internal/modules/cjs/loader.js:693 Module._extensions..js @ internal/modules/cjs/loader.js:704 Module.load @ internal/modules/cjs/loader.js:602 tryModuleLoad @ internal/modules/cjs/loader.js:541 Module._load @ internal/modules/cjs/loader.js:533 Module.require @ internal/modules/cjs/loader.js:640 require @ internal/modules/cjs/helpers.js:20 (anonymous) @ /usr/lib/franz/resources/app.asar/node_modules/@meetfranz/electron-notification-state/lib/index.js:5 (anonymous) @ /usr/lib/franz/resources/app.asar/node_modules/@meetfranz/electron-notification-state/lib/index.js:27 Module._compile @ internal/modules/cjs/loader.js:693 Module._extensions..js @ internal/modules/cjs/loader.js:704 Module.load @ internal/modules/cjs/loader.js:602 tryModuleLoad @ internal/modules/cjs/loader.js:541 Module._load @ internal/modules/cjs/loader.js:533 Module.require @ internal/modules/cjs/loader.js:640 require @ internal/modules/cjs/helpers.js:20 (anonymous) @ /usr/lib/franz/resources/app.asar/stores/AppStore.js:14 (anonymous) @ /usr/lib/franz/resources/app.asar/stores/AppStore.js:579 Module._compile @ internal/modules/cjs/loader.js:693 Module._extensions..js @ internal/modules/cjs/loader.js:704 Module.load @ internal/modules/cjs/loader.js:602 tryModuleLoad @ internal/modules/cjs/loader.js:541 Module._load @ internal/modules/cjs/loader.js:533 Module.require @ internal/modules/cjs/loader.js:640 require @ internal/modules/cjs/helpers.js:20 (anonymous) @ /usr/lib/franz/resources/app.asar/stores/index.js:8 (anonymous) @ /usr/lib/franz/resources/app.asar/stores/index.js:73 Module._compile @ internal/modules/cjs/loader.js:693 Module._extensions..js @ internal/modules/cjs/loader.js:704 Module.load @ internal/modules/cjs/loader.js:602 tryModuleLoad @ internal/modules/cjs/loader.js:541 Module._load @ internal/modules/cjs/loader.js:533 Module.require @ internal/modules/cjs/loader.js:640 require @ internal/modules/cjs/helpers.js:20 (anonymous) @ app.js:23 /usr/lib/electron4/resources/electron.asar/renderer/security-warnings.js:170 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security Policy set or a policy with "unsafe-eval" enabled. This exposes users of this app to unnecessary security risks.

For more information and help, consult https://electronjs.org/docs/tutorial/security. This warning will not show up once the app is packaged. isUnsafeEvalEnabled.then @ /usr/lib/electron4/resources/electron.asar/renderer/security-warnings.js:170 Promise.then (async) warnAboutInsecureCSP @ /usr/lib/electron4/resources/electron.asar/renderer/security-warnings.js:163 logSecurityWarnings @ /usr/lib/electron4/resources/electron.asar/renderer/security-warnings.js:310 loadHandler @ /usr/lib/electron4/resources/electron.asar/renderer/security-warnings.js:335 load (async) module.exports @ /usr/lib/electron4/resources/electron.asar/renderer/security-warnings.js:338 (anonymous) @ /usr/lib/electron4/resources/electron.asar/renderer/init.js:164 (anonymous) @ /usr/lib/electron4/resources/electron.asar/renderer/init.js:178 Module._compile @ internal/modules/cjs/loader.js:693 Module._extensions..js @ internal/modules/cjs/loader.js:704 Module.load @ internal/modules/cjs/loader.js:602 tryModuleLoad @ internal/modules/cjs/loader.js:541 Module._load @ internal/modules/cjs/loader.js:533 Module.runMain @ internal/modules/cjs/loader.js:746 startup @ internal/bootstrap/node.js:282 bootstrapNodeJSCore @ internal/bootstrap/node.js:759

Using Manjaro Linux

  • current kernel version: 5.2.21-1-MANJARO
  • os version: 18.1.2

Would love some help to understand if i'm doing anything wrong or it's another issue all together :)

Thanks, Pigstah