Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75451 - [cozy-desktop] 3.36.0-1 won't run

Attached to Project: Community Packages
Opened by Jouni Rinne (cyberpunkrocker) - Friday, 29 July 2022, 10:53 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 24 September 2023, 10:21 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: First time installation of cozy-desktop. Every time I try to start it from terminal I get only the following error:

madmax@[neverwinter]:~ $ cozy-desktop
FAIL TO SETUP Error: badly formated URL
at toSentryContext (/usr/lib/cozy-desktop/app.asar/core/utils/sentry.js:53:20)
at Object.setup (/usr/lib/cozy-desktop/app.asar/core/utils/sentry.js:71:47)
at Object.<anonymous> (/usr/lib/cozy-desktop/app.asar/gui/main.js:69:8)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at loadApplicationPackage (/usr/lib/electron/resources/default_app.asar/main.js:110:16)
at Object.<anonymous> (/usr/lib/electron/resources/default_app.asar/main.js:222:9)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Object.<anonymous> (node:electron/js2c/browser_init:185:3104)

Additional info:
* package version(s) 3.36.0-1 (electron versions -17, -18 and -19 installed)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 24 September 2023, 10:21 GMT
Reason for closing:  Deferred
Additional comments about closing:  Please re-test with 3.38
Comment by Bruno Pagani (ArchangeGabriel) - Saturday, 20 August 2022, 20:37 GMT
This error (for which upstream is aware) does not prevent it from running. Are you actually not seeing it?
Comment by Jouni Rinne (cyberpunkrocker) - Sunday, 21 August 2022, 05:13 GMT
That's exactly the problem. The abovementioned is the only thing I get when trying to run it from terminal. Starting it via the .desktop file gives me the 'busy' cursor, and then... nothing.
I'm using AwesomeWM, but that shouldn't affect anything, all other electron-based programs work.
Comment by Jouni Rinne (cyberpunkrocker) - Sunday, 21 August 2022, 14:10 GMT
I had time to do some debugging and got arch-version of cozy-desktop working... kind of.

1) Tried installing it to my laptop (i3 as a WM), too, with similar results (or rather, lack-of-results)

2) Although I try to avoid using Appimages and Snaps at any cost, for debugging purposes I then tried out the Appimage version of cozy-desktop; that worked without any trouble, I was able to connect to my cozy account and start syncing. After closing the Appimage client, I tried again the Arch version, and to my surprise it worked now!
To make sure I wasn't seeing things, I removed the ~/.cozy-desktop and ~/.config/Cozy Drive directories and tried again the Arch version... no, it didn't work this time, back to square one.
New login, connection and sync with the Appimage version, and cozy was working again. And again, after the first run of the Appimage version I tried the Arch version, which again worked...

It seems that the Arch version of the cozy-desktop does not initialize things properly, it only works after the setup has been done beforehand with the Appimage version. And, while the Arch version can be made to work this way, it segfaults and dumps core on exit, unlike Appimage.

Loading...