https://bugs.kde.org/show_bug.cgi?id=412665
Bug ID: 412665 Summary: kdeconnect-cli cannot start kdeconnectd.exe on Windows in Chinese Product: kdeconnect Version: unspecified Platform: MS Windows OS: MS Windows Status: REPORTED Severity: normal Priority: NOR Component: common Assignee: albertv...@gmail.com Reporter: qw2...@outlook.com Target Milestone: --- SUMMARY With latest kdeconnect nightly on Windows (in Chinese), starting kdeconnect-indicator.exe will not start kdeconnectd.exe, leaving the program nonfunctional. STEPS TO REPRODUCE 1. Install kdeconnect from https://binary-factory.kde.org/job/kdeconnect-kde_Nightly_win64/ 2. Launch kdeconnect-indicator.exe OBSERVED RESULT kdeconnect-indicator.exe hangs with no tray icon. kdeconnectd.exe is not running. EXPECTED RESULT kdeconnectd.exe is running and kdeconnect-indicator can be used. SOFTWARE/OS VERSIONS Windows: Windows 10 1903 18362.10022 zh-CN KDE Frameworks Version: 5.62.0 Qt Version: 5.13.1 ADDITIONAL INFORMATION Process Monitor showed that kdeconnectd.exe and dbus-daemon.exe were started but dbus-daemon immediately crashed. If `dbus-daemon --session` is started manually, launching kdeconnect-indicator will crash dbus-daemon with the following message: > dbus-daemon[7444]: info: [session pid=7444 > sid=S-1-5-21-**********-**********-**********-1001] Activating service > name='org.kde.kdeconnect' requested by ':1.0' (pid=8172 comm="" > sid="S-1-5-21-**********-**********-**********-1001") > dbus-daemon[7444]: info: [session pid=7444 > sid=S-1-5-21-**********-**********-**********-1001] Activated service > > 'org.kde.kdeconnect' failed: Failed to execute program org.kde.kdeconnect: > 系统找不到指定的文件。 > dbus-daemon[7444]: error: arguments to dbus_message_iter_append_basic() were > incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)" failed in file > C:\_\db7b4da\dbus-1.12.12\dbus\dbus-message.c line 2754. > This is normally a bug in some application using the D-Bus library. >From the 2nd line, it was trying to start the 'org.kde.kdeconnect' service but failed with "file not found" message. The message was in the Chinese encoding and not valid UTF-8, which triggered the assertion in the 3rd line and crashed the daemon. Suggested fix: comment out the `Exec=` line in bin/data/dbus-1/services/org.kde.kdeconnect.service. This avoids the error and allows kdeconnectd to run. -- You are receiving this mail because: You are watching all bug changes.