Error message produced on console, no GUI window appears.
Previous client (and before) works fine on this system, i.e. rocketchat_2.17.11_amd64.deb, reverting back to this version and all is good.
Following error appears on console when running with existing "./.config/Rocket.Chat" and no gui window shows, client nonfunctional:
[bugsnag] Loaded!
xdg-settings: default-url-scheme-handler not implemented for xfce
SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
at /opt/Rocket.Chat/resources/app.asar/app/main.js:1344:42
at Generator.next (<anonymous>)
at /opt/Rocket.Chat/resources/app.asar/node_modules/tslib/tslib.js:114:75
at new Promise (<anonymous>)
at Object.__awaiter (/opt/Rocket.Chat/resources/app.asar/node_modules/tslib/tslib.js:110:16)
at setupServers (/opt/Rocket.Chat/resources/app.asar/app/main.js:1280:46)
at /opt/Rocket.Chat/resources/app.asar/app/main.js:3225:11
at Generator.next (<anonymous>)
at fulfilled (/opt/Rocket.Chat/resources/app.asar/node_modules/tslib/tslib.js:111:62)
[bugsnag] Unhandled rejection…
TypeError: Error processing argument at index 0, conversion failure from
at BrowserWindow.setBounds (electron/js2c/browser_init.js:29:405)
at applyRootWindowState (/opt/Rocket.Chat/resources/app.asar/app/main.js:760:20)
at /opt/Rocket.Chat/resources/app.asar/app/main.js:3241:5
at Generator.next (<anonymous>)
at fulfilled (/opt/Rocket.Chat/resources/app.asar/node_modules/tslib/tslib.js:111:62)
when running after renaming "./.config/Rocket.Chat" a slightly different error appears, but the GUI window does not show still:
[bugsnag] Loaded!
xdg-settings: default-url-scheme-handler not implemented for xfce
[bugsnag] Unhandled rejection…
TypeError: Error processing argument at index 0, conversion failure from
at BrowserWindow.setBounds (electron/js2c/browser_init.js:29:405)
at applyRootWindowState (/opt/Rocket.Chat/resources/app.asar/app/main.js:760:20)
at /opt/Rocket.Chat/resources/app.asar/app/main.js:3241:5
at Generator.next (<anonymous>)
at fulfilled (/opt/Rocket.Chat/resources/app.asar/node_modules/tslib/tslib.js:111:62)
No error message in terminal, rocketchat GUI window appears as per previous client versions.
same here using rpm version in CentOS 7 x86_64
Same problem on Ubuntu Desktop 20.04.1
same problem on Ubuntu 20.04.1 LTS with KDE
Same type of error on windows
Fixed?
Seems that no...
I have the same problem on my Fedora. RocketChat client installed via Flatpak
Rocket.Chat chat.rocket.RocketChat 3.0.2 stable system
Updated today to 3.0.4 using flatpak and the bug has gone. Client works perfectly.
@zogith Any updates?
Hi @tassoevan
Sorry for the delay in responding.
I just tried rocketchat_3.0.7_amd64.deb and it works OK.. it did hang for me (didn't connect to server) until I selected "disable GPU" though, and produced more text errors on startup, but now works. After selecting "disable GPU" (which is now greyed out with no way to unselect) it runs without those text error messages being displayed.
I have an nvidia GPU with the nvida drivers loaded.
Initial error produced:
rocketchat-desktop
[bugsnag] Loaded!
xdg-settings: default-url-scheme-handler not implemented for xfce
SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (
at /opt/Rocket.Chat/resources/app.asar/app/main.js:1358:42
at Generator.next (
at /opt/Rocket.Chat/resources/app.asar/node_modules/tslib/tslib.js:114:75
at new Promise (
at Object.__awaiter (/opt/Rocket.Chat/resources/app.asar/node_modules/tslib/tslib.js:110:16)
at setupServers (/opt/Rocket.Chat/resources/app.asar/app/main.js:1319:46)
at /opt/Rocket.Chat/resources/app.asar/app/main.js:3320:11
at Generator.next (
at fulfilled (/opt/Rocket.Chat/resources/app.asar/node_modules/tslib/tslib.js:111:62)
.. but essentially rockechat client 3.0.7 is functioning for me so I would consider this bug resolved, thanks.
Most helpful comment
Same problem on Ubuntu Desktop 20.04.1