[Cesium Desktop] Lancement impossible sur certaines distributions Linux (Cesium >= 1.6.2)

Je vais tacher de faire une release cette semaine.

Oui, dans l’installation de Cesium-desktop, tu peux modifier le fichier cesium-desktop.js à la ligne 222, comme suit :

-  options.locale = (options.settings && options.settings.locale && options.settings.locale.id).split('-')[0] || options.locale || 'en';
+  const localeId = options.settings && options.settings.locale && options.settings.locale.id;
+  options.locale = localeId && localeId.split('-')[0] || options.locale || 'en';
6 Likes

Merci :slight_smile:

Merci cela fonctionne :slight_smile:

2 Likes

Peux tu tester la nouvelle version 1.6.8 (en pré-release) ? Puis me dire.
Merci :slight_smile:

1 Like

Installation ok sous version Xubuntu 20.04 (mais j’ai une fenetre blanche qui s’ouvre en plus de césium)
voici les logs :

cesium --debug
[11416:11416:0814/143327.977316:ERROR:component_loader.cc(165)] Failed to parse extension manifest.
[INFO]  [desktop] Opening debugger...
[INFO]  [desktop] Launching Cesium...	{"debug":true,"menu":false,"sdk":true,"home":"/home/vincentux"}
[DEBUG] [desktop] Getting settings from the local storage...
[INFO]  [desktop] User home:  	/home/vincentux
[INFO]  [desktop] User locale:	en
[INFO]  [desktop] Preparing settings...
[DEBUG] [desktop] Opening window {id: 'cesium', title: 'Cesium'} ...
[11416:11416:0814/143329.939396:ERROR:CONSOLE(1)] "Uncaught ReferenceError: DevToolsAPI is not defined", source: devtools://devtools/bundled/devtools_app.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364/&dockSide=undocked (1)
[11416:11416:0814/143329.939466:ERROR:CONSOLE(1)] "Uncaught ReferenceError: DevToolsAPI is not defined", source: devtools://devtools/bundled/devtools_app.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364/&dockSide=undocked (1)
[INFO]  [desktop] Opening debugger...
[DEBUG] [storage] Starting {local} storage...
[DEBUG] [settings] Locale [fr-FR]
[DEBUG] [cache] Creating cache {csWot-idty-300s} with {storageMode: memory}...
[DEBUG] [cache] Creating cache {csWot-requirements-300s} with {storageMode: memory}...
[DEBUG] [app] Root path is [chrome-extension://eddgpcgfbhhopcmllclnjdoiepjnmnjj/cesium/index.html]
[DEBUG] [settings] Starting...
[DEBUG] [cache] Creating cache {esWot-memberships-300s} with {storageMode: memory}...
[DEBUG] [crypto] Starting...
[DEBUG] [crypto] Loading 'FullJS' implementation...
[11416:11416:0814/143330.697753:ERROR:CONSOLE(1)] "Uncaught ReferenceError: DevToolsAPI is not defined", source: devtools://devtools/bundled/devtools_app.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364/&dockSide=undocked (1)
[11416:11416:0814/143330.698024:ERROR:CONSOLE(1)] "Uncaught ReferenceError: DevToolsAPI is not defined", source: devtools://devtools/bundled/devtools_app.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364/&dockSide=undocked (1)
[WARN]  pre-main prep time: 4 ms
[DEBUG] [cache] Creating cache {csHttp-3600s} with {storageMode: memory}...
[DEBUG] [device] Ionic platform ready - no device detected.
[DEBUG] [storage] Started in 279ms
[DEBUG] [settings] No settings in local storage. Using defaults.
[DEBUG] [settings] Started
[DEBUG] [BMA] Starting g1.duniter.org {ssl: true)...
[DEBUG] [app] Registering protocol '%s'...
[INFO]  [app] Current version [1.6.8] is the latest release
[DEBUG] [crypto] Loaded 'FullJS' implementation in 699ms
[DEBUG] [http] Checking actual version [1.8.0] is compatible with min expected version [1.1.0]
[DEBUG] [BMA] Started in 584ms
[DEBUG] [currency] Starting...
[DEBUG] [cache] Creating cache {BMA-54000s} with {storageMode: memory}...
[DEBUG] [cache] Creating cache {BMA-300s} with {storageMode: memory}...
[DEBUG] [http] Waiting websocket [/ws/block]...
[DEBUG] [currency] Started in 242ms
[DEBUG] [wallet] Starting...
[DEBUG] [wallet] Started in 2ms
[DEBUG] [filter] Loading translations for locale [fr-FR]
[DEBUG] [home] Loading feeds from https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/feed-fr.json...
[DEBUG] [cache] Creating cache {3600s} with {storageMode: memory}...
[DEBUG] [ES] [http] Starting on [g1.data.e-is.pro] (SSL on)...
[DEBUG] [filter] Computing constants from currency parameters
[DEBUG] [home] Feeds loaded in 54ms
[DEBUG] [http] Waiting websocket [/ws/block]...
[DEBUG] [ES] [http] Started in 352ms
[DEBUG] [ES] [profile] Enable
[DEBUG] [ES] [notification] Enable
[DEBUG] [ES] [wallet] Enable
[DEBUG] [ES] [message] Enable
[DEBUG] [ES] [subscription] Enable
[DEBUG] [ES] [group] Enable
[DEBUG] [ES] [invitations] Enable
[DEBUG] [ES] [subscription] Enable
[DEBUG] [ES] [tx] Enable
[DEBUG] [ES] [settings] Enable
[DEBUG] [http] Waiting websocket [/ws/block]...
[DEBUG] [http] Listening on websocket [/ws/block]...
[DEBUG] [currency] Received new block {347793-00000011235F1A6CBEA18A1BEB6BABCC0C0386ADCECA0FC1A3E40251EF05ED80}
^C[11455:11461:0814/143355.615926:ERROR:broker_posix.cc(106)] Error sending sync broker message: Relais brisé (pipe) (32)

AH oui, ca doit être un résidu de la version avec SDK que j’avais faite.
Sans le --debug c’est OK ?

Oui :+1:

cesium
[13141:13141:0814/160521.496961:ERROR:component_loader.cc(165)] Failed to parse extension manifest.
[INFO]  [desktop] Launching Cesium...	{"debug":false,"menu":false,"sdk":true,"home":"/home/vincentux"}
[INFO]  [desktop] User home:  	/home/vincentux
[INFO]  [desktop] User locale:	en
[INFO]  [desktop] Preparing settings...
[WARN]  pre-main prep time: 2 ms
[INFO]  [app] Current version [1.6.8] is the latest release

Merci ça fonctionne nickel sur ubuntu 20.04 désormais :slight_smile:

1 Like

Merci pour la release 1.6.8 qui solutionne le problème de lancement.
En revanche serait-il possible (je ne sais pas qui gère le site) de mettre cette dernière en téléchargement plutôt que la 1.6.7 qui ne fonctionne pas correctement au démarrage ?

Pour l’instant seule la 1.6.7 est en latest-release les autres sont encore en pre-release…

@kimamila si tu as 5 min pour passer la 1.6.9 en latest-release je ferais la modif du site dans la foulée :wink:

Je viens d’installer une version toute fraîche d’ubuntu 20.04, en effet cesium 1.6.7 ne se lance pas. j’ai installé la 1.6.9 du coup et là cesium reste bloqué au splashscreen

Voici ce que donne le terminal, si cela peut aider :

:~$ cesium
[11144:11144:1214/191612.610435:ERROR:component_loader.cc(165)] Failed to parse extension manifest.
[11166:11166:1214/191612.649768:ERROR:sandbox_linux.cc(371)] InitializeSandbox() called with multiple threads in process gpu-process.
[INFO]  [desktop] Launching Cesium...	{"verbose":false,"menu":false,"debug":false,"home":"/home/wewowee"}
[INFO]  [desktop] User home:  	/home/wewowee
[INFO]  [desktop] User locale:	en
[INFO]  [desktop] Preparing settings...

Essai la 1.6.8.

Sinon l’extension navigateur,.

Tu peux ouvrir un ticket avec ton message.

As-tu essayé de lancer la commande ci-dessous dans un terminal ?
sudo apt-get install -y libgconf-2-4

Je confirme que sur une nouvelle instal Ubuntu 20.04 toute fraiche, la 1.6.7 ne se lance pas (je voit uniquement le splash screen). La 1.6.8 fonctionne bien :wink:

Par contre sur le site c’est toujours la 1.6.7 qui est proposé, ne faudrai t-il pas mettre la 1.6.8 en release une bonne fois pour toute?

1 Like

On attends le feu vert de @kimamila pour ça.