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

[Bug]: org.freedesktop.DBus.Error.Failed: cannot find desktop file #142

Open
syphyr opened this issue Jun 7, 2023 · 0 comments
Open

[Bug]: org.freedesktop.DBus.Error.Failed: cannot find desktop file #142

syphyr opened this issue Jun 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@syphyr
Copy link

syphyr commented Jun 7, 2023

What happened?

Execute the following from command line:
/snap/bin/signal-desktop

Error is log on startup:

Error org.freedesktop.DBus.Error.Failed: cannot find desktop file "/var/lib/snapd/desktop/applications/signal-desktop_signal.desktop"
Error org.freedesktop.DBus.Error.Failed: cannot find desktop file "/var/lib/snapd/desktop/applications/signal-desktop_signal.desktop"

Somewhere in the scripts that start signal-desktop, the script is calling signal-desktop_signal.desktop but it should be calling signal-desktop_signal-desktop.desktop

What should have happened?

org.freedesktop.DBus should be calling the correct name for the desktop file for signal-desktop.

Output of snap info $snap_name

name:      signal-desktop
summary:   Speak Freely - Private Messenger
publisher: Snapcrafters✪
store-url: https://snapcraft.io/signal-desktop
contact:   https://github.com/snapcrafters/signal-desktop/issues
license:   AGPL-3.0-only
description: |
  **Note: To use the Signal desktop app, you must first install Signal on your phone.**
  
  Millions of people use Signal every day for free and instantaneous communication anywhere in the
  world. Send and receive high-fidelity messages, participate in HD voice/video calls, and explore a
  growing set of new features that help you stay connected. Signal's advanced privacy-preserving
  technology is always enabled, so you can focus on sharing the moments that matter with the people
  who matter to you.
  
  - Say anything - State-of-the-art end-to-end encryption (powered by the open source Signal
  Protocol™) keeps your conversations secure. Privacy isn't an optional mode; it's just the way that
  Signal works. Every message, every call, every time.
  - Go fast - Messages are delivered quickly and reliably, even on slow networks. Signal is
  optimized to operate in the most constrained environment possible.
  - Feel free - Signal is a completely independent 501c3 nonprofit. Development is supported by
  users like you. No advertisements. No trackers. No kidding.
  - Be yourself - You can use your existing phone number and address book to securely communicate
  with your friends.
  - Speak up - Whether they live across town or across the ocean, Signal's enhanced audio and video
  quality will make your friends and family feel closer.
  - Whisper in the shadows - Switch to the dark theme if you refuse to see the light.
  
  **Are you having issues?**
  
  Let us know by creating a new issue here: https://github.com/snapcrafters/signal-desktop/issues
  
  **Authors**
  
  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - signal-desktop
snap-id:      r4LxMVp7zWramXsJQAKdamxy6TAWlaDD
tracking:     latest/stable
refresh-date: today at 00:56 CEST
channels:
  latest/stable:    6.20.0 2023-06-06 (505) 182MB -
  latest/candidate: 6.20.0 2023-06-01 (505) 182MB -
  latest/beta:      ↑                             
  latest/edge:      ↑                             
installed:          6.20.0            (505) 182MB -

Output of snap connections $snap_name

Interface               Plug                                   Slot                            Notes
audio-playback          signal-desktop:audio-playback          :audio-playback                 -
audio-record            signal-desktop:audio-record            :audio-record                   -
browser-support         signal-desktop:browser-support         :browser-support                -
camera                  signal-desktop:camera                  :camera                         -
content[gnome-42-2204]  signal-desktop:gnome-42-2204           gnome-42-2204:gnome-42-2204     -
content[gtk-3-themes]   signal-desktop:gtk-3-themes            gtk-common-themes:gtk-3-themes  -
content[icon-themes]    signal-desktop:icon-themes             gtk-common-themes:icon-themes   -
content[sound-themes]   signal-desktop:sound-themes            gtk-common-themes:sound-themes  -
desktop                 signal-desktop:desktop                 :desktop                        -
desktop-legacy          signal-desktop:desktop-legacy          :desktop-legacy                 -
gsettings               signal-desktop:gsettings               :gsettings                      -
home                    signal-desktop:home                    :home                           -
network                 signal-desktop:network                 :network                        -
opengl                  signal-desktop:opengl                  :opengl                         -
removable-media         signal-desktop:removable-media         -                               -
screen-inhibit-control  signal-desktop:screen-inhibit-control  :screen-inhibit-control         -
unity7                  signal-desktop:unity7                  :unity7                         -
wayland                 signal-desktop:wayland                 :wayland                        -
x11                     signal-desktop:x11                     :x11                            -

Output of snap version

snap    2.58.3
snapd   2.58.3
series  16
ubuntu  18.04
kernel  5.15.115-custom+

Relevant log output

[  835.137501] audit: type=1326 audit(1686179469.670:154): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.signal-desktop.signal-desktop (enforce) pid=5153 comm="signal-desktop" exe="/snap/signal-desktop/505/opt/Signal/signal-desktop" sig=0 arch=c000003e syscall=330 compat=0 ip=0x7ff288c4811b code=0x50000
[  836.325574] audit: type=1326 audit(1686179470.858:155): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.signal-desktop.signal-desktop (enforce) pid=5153 comm="signal-desktop" exe="/snap/signal-desktop/505/opt/Signal/signal-desktop" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7ff288c3fa3d code=0x50000
[  836.360164] audit: type=1400 audit(1686179470.894:156): apparmor="DENIED" operation="open" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=5273 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  836.360474] audit: type=1400 audit(1686179470.894:157): apparmor="DENIED" operation="open" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=5273 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  836.360661] audit: type=1400 audit(1686179470.894:158): apparmor="DENIED" operation="open" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/explicit_layer.d/" pid=5273 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  836.364175] audit: type=1400 audit(1686179470.898:159): apparmor="DENIED" operation="open" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=5273 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  836.364529] audit: type=1400 audit(1686179470.898:160): apparmor="DENIED" operation="open" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=5273 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  836.364722] audit: type=1400 audit(1686179470.898:161): apparmor="DENIED" operation="open" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=5273 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  836.364911] audit: type=1400 audit(1686179470.898:162): apparmor="DENIED" operation="open" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/explicit_layer.d/" pid=5273 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  836.365103] audit: type=1400 audit(1686179470.898:163): apparmor="DENIED" operation="open" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=5273 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

Teminal output of app

Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /snap/signal-desktop/505/opt/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/delta/snap/signal-desktop/505/.config/Signal
config/get: Successfully read user config file
config/get: Successfully read ephemeral config file
making app single instance
Error org.freedesktop.DBus.Error.Failed: cannot find desktop file "/var/lib/snapd/desktop/applications/signal-desktop_signal.desktop"
Error org.freedesktop.DBus.Error.Failed: cannot find desktop file "/var/lib/snapd/desktop/applications/signal-desktop_signal.desktop"
Fontconfig warning: "/etc/fonts/conf.avail/53-monospace-lcd-filter.conf", line 10: Having multiple values in <test> isn't supported and may not work as expected
WARNING: Kernel has no file descriptor comparison support: Operation not permitted
{"level":30,"time":"2023-06-07T23:18:22.286Z","msg":"app.ready: preferred system locales: en-US, en"}
{"level":30,"time":"2023-06-07T23:18:22.289Z","msg":"locale: Supported locales: af-ZA, ar, az-AZ, bg-BG, bn-BD, bs-BA, ca, cs, da, de, el, en, es, et-EE, eu, fa-IR, fi, fr, ga-IE, gl-ES, gu-IN, he, hi-IN, hr-HR, hu, id, it, ja, ka-GE, kk-KZ, km-KH, kn-IN, ko, ky-KG, lt-LT, lv-LV, mk-MK, ml-IN, mr-IN, ms, my, nb, nl, pa-IN, pl, pt-BR, pt-PT, ro-RO, ru, sk-SK, sl-SI, sq-AL, sr, sv, sw, ta-IN, te-IN, th, tl-PH, tr, ug, uk-UA, ur, vi, yue, zh-CN, zh-HK, zh-Hant"}
{"level":30,"time":"2023-06-07T23:18:22.289Z","msg":"locale: Preferred locales:  en-US, en"}
{"level":30,"time":"2023-06-07T23:18:22.292Z","msg":"locale: Matched locale: en"}
{"level":30,"time":"2023-06-07T23:18:22.395Z","msg":"locale: Text info direction for en: ltr"}
{"level":30,"time":"2023-06-07T23:18:22.397Z","msg":"app ready"}
{"level":30,"time":"2023-06-07T23:18:22.397Z","msg":"starting version 6.20.0"}
{"level":30,"time":"2023-06-07T23:18:22.398Z","msg":"media access status [object Undefined] [object Undefined]"}
{"level":30,"time":"2023-06-07T23:18:22.399Z","msg":"got fast theme-setting value dark"}
{"level":30,"time":"2023-06-07T23:18:22.410Z","msg":"got fast theme-setting value dark"}
{"level":30,"time":"2023-06-07T23:18:22.411Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2023-06-07T23:18:22.412Z","msg":"getSystemTraySetting saw --use-tray-icon flag. Returning MinimizeToSystemTray"}
{"level":30,"time":"2023-06-07T23:18:22.414Z","msg":"Initializing BrowserWindow config: {\"show\":false,\"width\":1484,\"height\":815,\"minWidth\":300,\"minHeight\":200,\"autoHideMenuBar\":false,\"titleBarStyle\":\"default\",\"titleBarOverlay\":false,\"backgroundColor\":\"#121212\",\"webPreferences\":{\"devTools\":false,\"spellcheck\":true,\"enableBlinkFeatures\":\"CSSPseudoDir,CSSLogical\",\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"sandbox\":false,\"contextIsolation\":true,\"preload\":\"[REDACTED]/preload.bundle.js\",\"backgroundThrottling\":true,\"enablePreferredSizeMode\":true,\"disableBlinkFeatures\":\"Accelerated2dCanvas,AcceleratedSmallCanvases\"},\"icon\":\"[REDACTED]/images/signal-logo-desktop-linux.png\",\"x\":52,\"y\":49}"}
{"level":30,"time":"2023-06-07T23:18:22.455Z","msg":"spellcheck: user locales: [\"en-US\",\"en\"]"}
{"level":30,"time":"2023-06-07T23:18:22.455Z","msg":"spellcheck: available spellchecker languages: [\"af\",\"bg\",\"ca\",\"cs\",\"cy\",\"da\",\"de\",\"de-DE\",\"el\",\"en\",\"en-AU\",\"en-CA\",\"en-GB\",\"en-GB-oxendict\",\"en-US\",\"es\",\"es-419\",\"es-AR\",\"es-ES\",\"es-MX\",\"es-US\",\"et\",\"fa\",\"fo\",\"fr\",\"fr-FR\",\"he\",\"hi\",\"hr\",\"hu\",\"hy\",\"id\",\"it\",\"it-IT\",\"ko\",\"lt\",\"lv\",\"nb\",\"nl\",\"pl\",\"pt\",\"pt-BR\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sq\",\"sr\",\"sv\",\"ta\",\"tg\",\"tr\",\"uk\",\"vi\"]"}
{"level":30,"time":"2023-06-07T23:18:22.455Z","msg":"spellcheck: setting languages to: [\"en-US\",\"en\"]"}
{"level":30,"time":"2023-06-07T23:18:22.473Z","msg":"MainSQL: updateSchema:\n  Current user_version: 83;\n  Most recent db schema: 83;\n  SQLite version: 3.39.4;\n  SQLCipher version: 4.5.3 community;\n  (deprecated) schema_version: 363;\n"}
{"level":30,"time":"2023-06-07T23:18:22.994Z","msg":"Updating BrowserWindow config: %s {\"maximized\":true,\"autoHideMenuBar\":false,\"fullscreen\":false,\"width\":1484,\"height\":815,\"x\":52,\"y\":49}"}
{"level":30,"time":"2023-06-07T23:18:22.996Z","msg":"config/set: Saving ephemeral config to disk"}
{"level":30,"time":"2023-06-07T23:18:22.997Z","msg":"config/set: Saved ephemeral config to disk"}
{"level":30,"time":"2023-06-07T23:18:23.112Z","msg":"got fast theme-setting value dark"}
(node:5636) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `exe --trace-deprecation ...` to show where the warning was created)
{"level":30,"time":"2023-06-07T23:18:24.268Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2023-06-07T23:18:24.281Z","msg":"System tray service: created"}
{"level":30,"time":"2023-06-07T23:18:24.281Z","msg":"System tray service: updating main window. Previously, there was not a window, and now there is"}
{"level":30,"time":"2023-06-07T23:18:24.282Z","msg":"System tray service: rendering no tray"}
{"level":30,"time":"2023-06-07T23:18:24.282Z","msg":"System tray service: enabling"}
{"level":30,"time":"2023-06-07T23:18:24.283Z","msg":"System tray service: rendering the tray"}
{"level":30,"time":"2023-06-07T23:18:24.283Z","msg":"System tray service: creating the tray"}
{"level":30,"time":"2023-06-07T23:18:24.288Z","msg":"Begin ensuring permissions"}
{"level":30,"time":"2023-06-07T23:18:24.289Z","msg":"main window is ready-to-show"}
{"level":30,"time":"2023-06-07T23:18:24.289Z","msg":"showing main window"}
{"level":30,"time":"2023-06-07T23:18:24.290Z","msg":"System tray service: rendering the tray"}
{"level":30,"time":"2023-06-07T23:18:24.313Z","msg":"Ensuring file permissions for 4 files"}
{"level":30,"time":"2023-06-07T23:18:24.318Z","msg":"Finish ensuring permissions in 30ms"}
{"level":30,"time":"2023-06-07T23:18:24.469Z","msg":"Prevent display sleep service: allowing display sleep"}
{"level":30,"time":"2023-06-07T23:18:24.470Z","msg":"Background throttling enabled because no call is active"}
{"level":30,"time":"2023-06-07T23:18:25.191Z","msg":"updater/start: Updates disabled - not starting new version checks"}
{"level":30,"time":"2023-06-07T23:18:25.202Z","msg":"App loaded - time: 2807"}
{"level":30,"time":"2023-06-07T23:18:25.202Z","msg":"SQL init - time: 79"}
{"level":30,"time":"2023-06-07T23:18:25.202Z","msg":"Preload - time: 1129"}
{"level":30,"time":"2023-06-07T23:18:25.202Z","msg":"WebSocket connect - time: 555"}
{"level":30,"time":"2023-06-07T23:18:25.202Z","msg":"Processed count: 2"}
{"level":30,"time":"2023-06-07T23:18:25.203Z","msg":"Messages per second: 1.7809439002671417"}
{"level":30,"time":"2023-06-07T23:18:27.721Z","msg":"System tray service: quitting the app from the context menu"}
{"level":30,"time":"2023-06-07T23:18:27.722Z","msg":"before-quit event {\"readyForShutdown\":false,\"shouldQuit\":false}"}
{"level":30,"time":"2023-06-07T23:18:27.723Z","msg":"System tray service: markShouldQuit"}
{"level":30,"time":"2023-06-07T23:18:27.724Z","msg":"close event {\"readyForShutdown\":false,\"shouldQuit\":true}"}
{"level":30,"time":"2023-06-07T23:18:27.739Z","msg":"System tray service: not rendering the tray, quitting"}
{"level":30,"time":"2023-06-07T23:18:27.740Z","msg":"requestShutdown: Requesting close of mainWindow..."}
{"level":30,"time":"2023-06-07T23:18:27.772Z","msg":"requestShutdown: Response received"}
{"level":30,"time":"2023-06-07T23:18:27.778Z","msg":"before-quit event {\"readyForShutdown\":true,\"shouldQuit\":true}"}
{"level":30,"time":"2023-06-07T23:18:27.778Z","msg":"System tray service: markShouldQuit"}
{"level":30,"time":"2023-06-07T23:18:27.778Z","msg":"close event {\"readyForShutdown\":true,\"shouldQuit\":true}"}
{"level":30,"time":"2023-06-07T23:18:27.781Z","msg":"System tray service: updating main window. Previously, there was a window, and now there is not"}
{"level":30,"time":"2023-06-07T23:18:27.782Z","msg":"System tray service: rendering no tray"}
@syphyr syphyr added the bug Something isn't working label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant