[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 --- Comment #10 from skierpage --- (In reply to skierpage from comment #9) > It seems the fix in kdeconnect is to expand ~ before handing the path to > lower-level software. If this is the problem, it could be in how share/shareplugin.cpp calls: QUrl dir = QUrl::fromLocalFile(config()->getString(QStringLiteral("incoming_path"), defaultDownloadPath)); I don't think this does anything with "~" in the path, and it's unclear if QUrl understands a "~" in a file URL, and then KIO::mkpath(dir) fails. (As an aside, with decent language support for typing, it should be impossible to pass an unparsed path string with ~, $HOME, %1 or whatever into a function that takes an O.S. path -- rewrite it in Rust ;-) .) > I've used KDE Connect so long I can't remember what its default Save path was. I think it uses QStandardPaths::DownloadLocation which defaults to "~/Downloads". If I run `/usr/libexec/kdeconnectd --replace` in a terminal (I can never remember how to view qWarning() output), sending a file from Android prints: 2024-05-26T17:19:51 default: couldn't create QUrl("file:~/Downloads") 2024-05-26T17:19:51 default: couldn't create QUrl("file:~/Downloads") 2024-05-26T17:19:52 default: QNetworkReplyImplPrivate::error: Internal problem, this method must only be called once. 2024-05-26T17:19:52 default: QIODevice::write (QFile, "~/Downloads/MYIMAGEFILE.jpg"): device not open ... Hope this helps. -- You are receiving this mail because: You are watching all bug changes.
[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 skierpage changed: What|Removed |Added CC||skierp...@gmail.com --- Comment #9 from skierpage --- This happened to me today. I think the last time I transferred Android -> Linux and it worked might have been May 8. My behavior is a little different. I share a picture from Google Photos or Google Files and quickly get an Android notification from KDE Connect version 1.30.1 "Failed sending file to fedlaptop", while KDE Connect 24.02-2 on my laptop pops up a "Receiving file" progress notification that never completes. But unlike @TraceyC, I don't see any partial files. I Force stop'd KDE Connect on Android and restarted, and now sending files results in a fast notification "Receiving file (Failed) Received incomplete file: Error opening file:~/Documents/temp/: No such file or directory." I ran strace on the kconnectd PID and saw lines like: [pid 2402] statx(AT_FDCWD, "~/Documents/temp/2024-05-26_SFJAZZ_Holland_Potter_Hussain.png", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, 0x7fffd73ee8d0) = -1 ENOENT (No such file or directory) Hold on, syscalls don't know about '~' for home directory! WORKAROUND: After I went into System Settings > KDE Connect > Share and receive > Configure and changed the "Save files in" path to a full path with no '~' (i.e. /home/MYUSERNAME/SOME/PATH), sending files worked! People, try this. It seems the fix in kdeconnect is to expand ~ before handing the path to lower-level software. (Or, worse, disallow ~ in the file chooser dialog.) I've used KDE Connect so long I can't remember what its default Save path was, but until it failed I hadn't changed it for months. -- You are receiving this mail because: You are watching all bug changes.
[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 TraceyC changed: What|Removed |Added CC||gpt.mount...@gmail.com --- Comment #8 from TraceyC --- *** Bug 476171 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 TraceyC changed: What|Removed |Added CC||sebastianbenven...@gmail.co ||m --- Comment #7 from TraceyC --- *** Bug 474206 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 --- Comment #6 from TraceyC --- My system info Operating System: Solus 4.5 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.6.3 Kernel Version: 6.8.9-289.current (64-bit) Graphics Platform: Wayland Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz Memory: 62.5 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics Manufacturer: Dell Inc. Product Name: XPS 17 9710 -- You are receiving this mail because: You are watching all bug changes.
[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 TraceyC changed: What|Removed |Added CC||jagg...@gmail.com --- Comment #5 from TraceyC --- *** Bug 452710 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 TraceyC changed: What|Removed |Added Status|REPORTED|CONFIRMED CC||kde...@tlcnet.info Ever confirmed|0 |1 --- Comment #4 from TraceyC --- I was able to reproduce a similar problem testing #452710 1. On my Android, I opened KDE Connect and selected Send Files 2. From the DCIM folder I selected 6 png files 3. Tapped Select Result: On the Android, KDE Connect reports "Failed sending 6 of 6 files to " On the laptop, KDE Connect says Receiving file 6 files to Downloads I attempted to transfer one text file, 67.21 KB 67.21 KB = 65.634765625 KiB In Dolphin, the file was present in the Download folder with a size of 65.6IiB The notification pop up had a bar that just kept going back and forth. Inspecting the file, it looked complete I force closed KDE Connect. Attempting to send the same file a second time also succeeded and this time the laptop notification showed the transfer as complete. Another text file sent completed normally. After that, I was able to successfully send 6 jpg files from the phone's DCIM folder on the SD Card (also from DCIM on internal storage) Sending 12 images was successful, as was 30 In summary: The first few attempts at sending files succeeded but the phone said it failed and the laptop notification hung After force closing KDE Connect and restarting it, file transfers worked as normal, no error on Android and the notification did the right thing -- You are receiving this mail because: You are watching all bug changes.
[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 Rigoberto Leyva Salmeron changed: What|Removed |Added CC||rleyva...@gmail.com --- Comment #3 from Rigoberto Leyva Salmeron --- Having the same issue with Android 11 and KDE Neon. When transferring 17 photos only 9 are actually transferred - the notification of "transferring" stays on the lower left of screen. -- You are receiving this mail because: You are watching all bug changes.
[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 --- Comment #2 from ioo+...@posteo.net --- I just upgraded to version 1.19.1 and the problem persists. It doesn't matter what type of file I am sending. The file transfer starts to send. I can see a *.part file in the destination folder. The transfer progresses to around 80-90% then it just stops. It never timesout of fails it just freezes and never completes. -- You are receiving this mail because: You are watching all bug changes.
[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 --- Comment #1 from ioo+...@posteo.net --- Please let me know if there is anything else I can provide to assist with this bug. I can reproduce it ever time. It has never worked. -- You are receiving this mail because: You are watching all bug changes.
[kdeconnect] [Bug 450905] Send file function starts transferring the file but freezes and never completes
https://bugs.kde.org/show_bug.cgi?id=450905 ioo+...@posteo.net changed: What|Removed |Added Summary|Send file function never|Send file function starts |completes |transferring the file but ||freezes and never completes -- You are receiving this mail because: You are watching all bug changes.