Bug 438201 - app can open but all founctions does not work.
Summary: app can open but all founctions does not work.
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 1.10
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Weixuan XIAO
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-07 10:47 UTC by hus
Modified: 2023-01-16 21:40 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hus 2021-06-07 10:47:36 UTC
SUMMARY

app just won't open on macos 11

SOFTWARE/OS VERSIONS

macOS: 11.4 (20F71)


ADDITIONAL INFORMATION


@executable_path/../Frameworks/qca-qt5
do not exist in APP ,but there is:
@executable_path/../Frameworks/qca-qt5.framework/qca-qt5
in APP

libkdeconnectdeclarativeplugin maybe need update
 or
need change Frameworks/qca-qt5.framework/qca-qt5 to /Frameworks/qca-qt5 to fix this error.


otool -L /Applications/kdeconnect-indicator.app/Contents/Resources/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.dylib
/Applications/kdeconnect-indicator.app/Contents/Resources/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.dylib:
	libkdeconnectdeclarativeplugin.dylib (compatibility version 0.0.0, current version 0.0.0)
	@executable_path/../Frameworks/QtQml.framework/Versions/5/QtQml (compatibility version 5.15.0, current version 5.15.2)
	@executable_path/../Frameworks/libkdeconnectinterfaces.21.dylib (compatibility version 21.0.0, current version 21.4.1)
	@executable_path/../Frameworks/libkdeconnectcore.21.dylib (compatibility version 21.0.0, current version 21.4.1)
	@executable_path/../Frameworks/qca-qt5 (compatibility version 2.0.0, current version 2.2.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1775.118.101)
	/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 59754.100.106)
	@executable_path/../Frameworks/libKF5KIOCore.5.dylib (compatibility version 5.0.0, current version 5.82.0)
	@executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.15.0, current version 5.15.2)
	@executable_path/../Frameworks/libKF5Service.5.dylib (compatibility version 5.0.0, current version 5.82.0)
	@executable_path/../Frameworks/QtConcurrent.framework/Versions/5/QtConcurrent (compatibility version 5.15.0, current version 5.15.2)
	@executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui (compatibility version 5.15.0, current version 5.15.2)
	@executable_path/../Frameworks/libKF5ConfigCore.5.dylib (compatibility version 5.0.0, current version 5.82.0)
	@executable_path/../Frameworks/QtDBus.framework/Versions/5/QtDBus (compatibility version 5.15.0, current version 5.15.2)
	@executable_path/../Frameworks/libKF5CoreAddons.5.dylib (compatibility version 5.0.0, current version 5.82.0)
	@executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore (compatibility version 5.15.0, current version 5.15.2)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 905.6.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.100.5)


error message :

/Applications/kdeconnect-indicator.app/Contents/MacOS/kdeconnect-app
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:11:1: plugin cannot be loaded for module "org.kde.kdeconnect": Cannot load library /Applications/kdeconnect-indicator.app/Contents/Resources/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.dylib: (dlopen(/Applications/kdeconnect-indicator.app/Contents/Resources/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.dylib, 133): Library not loaded: @executable_path/../Frameworks/qca-qt5
  Referenced from: /Applications/kdeconnect-indicator.app/Contents/Resources/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.dylib
  Reason: image not found)
Comment 1 hus 2021-06-10 06:17:40 UTC
otool -L /Applications/kdeconnect-indicator.app/Contents/Resources/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.dylib
/Applications/kdeconnect-indicator.app/Contents/Resources/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.dylib:
	libkdeconnectdeclarativeplugin.dylib (compatibility version 0.0.0, current version 0.0.0)
...
...
	@executable_path/../Frameworks/qca-qt5 (compatibility version 2.0.0, current version 2.2.0)
...
...
Comment 2 Weixuan XIAO 2021-06-19 18:26:43 UTC
Fixed in Craft by Commit [3eb2fca2](https://invent.kde.org/packaging/craft/-/commit/3eb2fca21655b8a31a0b106c8e69941eb42dc5e3)
Comment 3 hus 2021-06-23 08:44:12 UTC
dbus[1481]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Comment 4 hus 2021-06-23 08:59:45 UTC
Fail to get launchctl DBUS_LAUNCHD_SESSION_BUS_SOCKET env
Comment 5 hus 2021-06-24 02:34:30 UTC
/Applications/kdeconnect-indicator\ 2.app/Contents/MacOS/kdeconnect-indicator
2021-06-24 10:24:25.607 kdeconnect-indicator[1630:24545] Registering KDE Connect Send File Service
2021-06-24 10:24:25.608 kdeconnect-indicator[1630:24545] KDE Connect Send File Service registered
Fail to get launchctl DBUS_LAUNCHD_SESSION_BUS_SOCKET env

working app logs should like this.

/Applications/kdeconnect-indicator.app/Contents/MacOS/kdeconnect-indicator
kdeconnect.core: Waiting for private dbus
kdeconnect.core: Retry reading private DBus address after 3s
kdeconnect.core: Private dbus address:  "unix:path=/tmp/dbus-F9DAUUBDm5,guid=7891e756dc3c9475dbc1cd2f60d3ed03"
kdeconnect.core: DBus address:  "/tmp/dbus-F9DAUUBDm5"
kdeconnect.core: Daemon starting
kdeconnect.core: LanLinkProvider started
kdeconnect.core: Daemon started
kdeconnect.core: Broadcasting identity packet
kdeconnect.core: Could not query capabilities from notifications server
kdeconnect.core: Waiting for private dbus
kdeconnect.core: Private dbus address:  "unix:path=/tmp/dbus-F9DAUUBDm5,guid=7891e756dc3c9475dbc1cd2f60d3ed03"
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.core: Sending onNetworkChange to 1 LinkProviders
kdeconnect.core: Broadcasting identity packet
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")


https://invent.kde.org/network/kdeconnect-kde/-/tree/master/core
https://invent.kde.org/network/kdeconnect-kde/-/blob/master/core/dbushelper.cpp
https://invent.kde.org/network/kdeconnect-kde/-/blob/master/core/daemon.cpp
https://invent.kde.org/network/kdeconnect-kde/-/blob/master/core/kdeconnectconfig.cpp

these code didn't run ...
Comment 6 hus 2021-06-24 02:42:28 UTC
https://invent.kde.org/network/kdeconnect-kde/-/blob/master/indicator/indicatorhelper_mac.cpp


This part of the code needs to be modified because the logic of kdeconnectd has changed


/Applications/kdeconnect-indicator.app/Contents/MacOS/kdeconnectd
kdeconnect.core: Waiting for private dbus
kdeconnect.core: Retry reading private DBus address after 3s
kdeconnect.core: Private dbus address: "unix:path=/tmp/dbus-H4gG9OSKss,guid=4147eb931e8edd9a4c97b24460d3f06f"
kdeconnect.core: DBus address: "/tmp/dbus-H4gG9OSKss"
kdeconnect.core: Daemon starting
kdeconnect.core: LanLinkProvider started
kdeconnect.core: Daemon started
kdeconnect.core: Broadcasting identity packet
kdeconnect.core: Could not query capabilities from notifications server


This is the running log of the blog release


/Applications/kdeconnect-indicator\ 2.app/Contents/MacOS/kdeconnectd
kdeconnect.core: Could not query capabilities from notifications server


This is the latest release log
Comment 7 hus 2021-06-24 02:49:17 UTC
Maybe kdeconnectd needs to be fixed. . .
Comment 8 hus 2021-06-24 03:08:45 UTC
Maybe ,also kdeconnect-app 
https://invent.kde.org/network/kdeconnect-kde/-/tree/master/app
need change?
Comment 9 Weixuan XIAO 2021-07-24 21:08:49 UTC
Please keep the app bundle in /Applications, and the name must be kdeconnect-indicator.app without prefix or suffix (constraints in Qt).

Checked on macOS 11.4, work with https://binary-factory.kde.org/view/MacOS/job/kdeconnect-kde_Nightly_macos/1225/
Comment 10 hus 2021-07-25 04:11:36 UTC
(In reply to Weixuan XIAO from comment #9)
> Please keep the app bundle in /Applications, and the name must be
> kdeconnect-indicator.app without prefix or suffix (constraints in Qt).
> 
> Checked on macOS 11.4, work with
> https://binary-factory.kde.org/view/MacOS/job/kdeconnect-kde_Nightly_macos/
> 1225/

master fixed ,but release still affected.
Comment 11 RJVB 2021-07-25 08:11:36 UTC
Proper Mac behaviour dictates that app bundles should be location-independent, and this isn't hard to achieve by using LaunchServices to launch helpers.

At the very least, helper apps should go into /Applications/Utilities, IMVHO.
Comment 12 hus 2021-08-17 13:21:45 UTC
app can open but all founctions does not work.
this is the logs.


/Applications/kdeconnect-indicator.app/Contents/MacOS/kdeconnect-indicator

2021-08-17 21:16:42.250 kdeconnect-indicator[599:4577] Registering KDE Connect Send File Service
2021-08-17 21:16:42.251 kdeconnect-indicator[599:4577] KDE Connect Send File Service registered
kdeconnect.core: Could not query capabilities from notifications server
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeconnect.plugin.systemvolume: Unable to get volume of Device 60
kdeconnect.plugin.battery: No Primary Battery detected on this system. This may be a bug.
kdeconnect.plugin.battery: Total quantity of batteries found:  0
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.plugin.sendnotification: Error registering notifications listener for device "ONEPLUS A3000" : QDBusError("", "")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.plugin.systemvolume: Unable to get volume of Device 60
kdeconnect.plugin.battery: No Primary Battery detected on this system. This may be a bug.
kdeconnect.plugin.battery: Total quantity of batteries found:  0
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
dbus[599]: arguments to dbus_message_new_method_call() were incorrect, assertion "destination == NULL || _dbus_check_is_valid_bus_name (destination)" failed in file /Users/packaging/Craft/BinaryFactory/macos-64-clang/build/libs/dbus/work/dbus-1.13.18/dbus/dbus-message.c line 1376.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace
Comment 13 hus 2021-08-17 13:24:58 UTC
log of https://github.com/Inokinoki/kde-blog/releases
this app works well.

/Applications/kdeconnect-indicator.app/Contents/MacOS/kdeconnect-indicator
kdeconnect.core: Waiting for private dbus
kdeconnect.core: Retry reading private DBus address after 3s
kdeconnect.core: Private dbus address:  "unix:path=/tmp/dbus-OjOVDcr9pB,guid=f1c1b6dc812f75933db6febc611bb81d"
kdeconnect.core: DBus address:  "/tmp/dbus-OjOVDcr9pB"
kdeconnect.core: Daemon starting
kdeconnect.core: LanLinkProvider started
kdeconnect.core: Daemon started
kdeconnect.core: Broadcasting identity packet
kdeconnect.core: Could not query capabilities from notifications server
kdeconnect.core: Waiting for private dbus
kdeconnect.core: Private dbus address:  "unix:path=/tmp/dbus-OjOVDcr9pB,guid=f1c1b6dc812f75933db6febc611bb81d"
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.core: Sending onNetworkChange to 1 LinkProviders
kdeconnect.core: Broadcasting identity packet
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "ONEPLUS A3000"
kdeconnect.core: Not loading plugin "kdeconnect_remotesystemvolume" because device doesn't support it
kdeconnect.core: Not loading plugin "kdeconnect_lockdevice" because device doesn't support it
kdeconnect.core: Not loading plugin "kdeconnect_remotecommands" because device doesn't support it
kdeconnect.plugin.contacts: Contacts constructor for device  "ONEPLUS A3000"
kdeconnect.plugin.sftp: add to dolphin
kdeconnect.plugin.sftp: Created device: "ONEPLUS A3000"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.plugin.sendnotification: Registered notifications listener for device "ONEPLUS A3000"
kdeconnect.plugin.contacts: sendRequest: Sending  "kdeconnect.contacts.request_all_uids_timestamps" true
kdeconnect.plugin.systemvolume: Device 50 dropped
kdeconnect.plugin.systemvolume: Device 43 added
kdeconnect.plugin.systemvolume: Device 60 added
kdeconnect.plugin.systemvolume: Unable to get volume of Device 60
kdeconnect.interfaces: Adding missing or previously removed device "befb50d5854bb2cd"
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "LM-G850"
kdeconnect.core: Not loading plugin "kdeconnect_remotesystemvolume" because device doesn't support it
kdeconnect.core: Not loading plugin "kdeconnect_lockdevice" because device doesn't support it
kdeconnect.core: Not loading plugin "kdeconnect_remotecommands" because device doesn't support it
kdeconnect.plugin.contacts: Contacts constructor for device  "LM-G850"
kdeconnect.plugin.sftp: add to dolphin
kdeconnect.plugin.sftp: Created device: "LM-G850"
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.plugin.sendnotification: Error registering notifications listener for device "LM-G850" : QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.plugin.contacts: sendRequest: Sending  "kdeconnect.contacts.request_all_uids_timestamps" true
kdeconnect.plugin.systemvolume: Device 50 dropped
kdeconnect.plugin.systemvolume: Device 43 added
kdeconnect.plugin.systemvolume: Device 60 added
kdeconnect.plugin.systemvolume: Unable to get volume of Device 60
kdeconnect.interfaces: Adding missing or previously removed device "75464c5ad2446666"
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "LM-G850"
Comment 14 Simon Redman 2023-01-16 21:40:33 UTC
From the conversation it looks like this has been fixed. If you are still having issues, please open a new bug with the latest information.