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

Startup failure since last update #229

Open
akallabeth opened this issue Nov 4, 2021 · 5 comments
Open

Startup failure since last update #229

akallabeth opened this issue Nov 4, 2021 · 5 comments
Labels

Comments

@akallabeth
Copy link

I can no longer use element on my debian 11 machine from flathub:

 flatpak run im.riot.Riot 
[2 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/Element/element-desktop --type=zygote
/home/nin/.var/app/im.riot.Riot/config/Element exists: yes
/home/nin/.var/app/im.riot.Riot/config/Riot exists: yes
Gtk-Message: 15:21:03.857: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:21:03.857: Failed to load module "canberra-gtk-module"
Starting auto update with base URL: https://packages.element.io/desktop/update/
Auto update not supported on this platform
Fetching translation json for locale: en_EN
Changing application language to en-us
Fetching translation json for locale: en-us
Could not fetch translation json for locale: 'en-us' Error: Cannot find module './i18n/strings/en-us.json'
Require stack:
- /app/Element/resources/app.asar/lib/language-helper.js
- /app/Element/resources/app.asar/lib/tray.js
- /app/Element/resources/app.asar/lib/electron-main.js
- 
    at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
    at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
    at Module._load (internal/modules/cjs/loader.js:732:27)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at AppLocalization.fetchTranslationJson (/app/Element/resources/app.asar/lib/language-helper.js:76:20)
    at /app/Element/resources/app.asar/lib/language-helper.js:89:39
    at Array.forEach (<anonymous>)
    at AppLocalization.setAppLocale (/app/Element/resources/app.asar/lib/language-helper.js:88:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/app/Element/resources/app.asar/lib/language-helper.js',
    '/app/Element/resources/app.asar/lib/tray.js',
    '/app/Element/resources/app.asar/lib/electron-main.js',
    undefined
  ]
}
Resetting the UI components after locale change
Resetting the UI components after locale change
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Changing application language to en-us
Fetching translation json for locale: en-us
Could not fetch translation json for locale: 'en-us' Error: Cannot find module './i18n/strings/en-us.json'
Require stack:
- /app/Element/resources/app.asar/lib/language-helper.js
- /app/Element/resources/app.asar/lib/tray.js
- /app/Element/resources/app.asar/lib/electron-main.js
- 
    at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
    at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
    at Module._load (internal/modules/cjs/loader.js:732:27)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at AppLocalization.fetchTranslationJson (/app/Element/resources/app.asar/lib/language-helper.js:76:20)
    at /app/Element/resources/app.asar/lib/language-helper.js:89:39
    at Array.forEach (<anonymous>)
    at AppLocalization.setAppLocale (/app/Element/resources/app.asar/lib/language-helper.js:88:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/app/Element/resources/app.asar/lib/language-helper.js',
    '/app/Element/resources/app.asar/lib/tray.js',
    '/app/Element/resources/app.asar/lib/electron-main.js',
    undefined
  ]
}
Resetting the UI components after locale change
  1. This happens also on newly created user accounts (tested to rule out some configuration problem)
  2. The element fork SchildiChatdoes run on the same machine without this glitch.
    Screenshot from 2021-11-04 15-24-33
@3699n
Copy link

3699n commented Nov 26, 2021

I'm experiencing the same issue.

@akallabeth
Copy link
Author

It may be related to this issue I´ve found: flatpak/flatpak#4559

@3699n
Copy link

3699n commented Nov 26, 2021

As far as I am aware, it is these issues vector-im/element-web#19169, vector-im/element-desktop#871, and vector-im/element-web#19153

@akallabeth
Copy link
Author

@3699n oh. I´ve just experienced a few flatpak apps failing network due to the aforementioned bug and thought it might be related (since this one also uses the affected runtime)

@ecocode
Copy link

ecocode commented Jan 13, 2022

This same bug happened to me since a few weeks on fedora34. Upgraded to fedora35 today hoping it might get solved, but it didn't.
This only happens on wayland and starting Element using:
flatpak run im.riot.Riot --enable-features=UseOzonePlatform --ozone-platform=wayland
Element starts correctly when using (this actually starts Element in Xwayland mode)
flatpak run im.riot.Riot

I tried uninstalling all flatpaks and reinstalling, without success.
What could be wrong?

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

No branches or pull requests

4 participants