Bug 383310 - Import torrent operation fails with unable to copy torrent file error
Summary: Import torrent operation fails with unable to copy torrent file error
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 5.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
: 464351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-08-09 12:33 UTC by Germano Massullo
Modified: 2023-11-14 17:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Germano Massullo 2017-08-09 12:33:15 UTC
While trying to import a .torrent file I get:

Unable to copy file:///home/user/c/G.torrent in /home/user/.local/share/ktorrent/tor2/torrent: File or folder file:///home/user/c/G.torrent does not exist.

ktorrent-5.0.1-3.fc26.x86_64
Comment 1 Syam 2018-05-05 06:48:32 UTC
I can confirm this bug on Fedora 28. KTorrent v5.1.0. x86-64

The torrent file is valid and actually was exported from KTorrent itself. KTorrent is able to open the same torrent file as a fresh file (using Open Torrent action), just not by "Import torrent".
Comment 2 Jesús Martínez Novo (Ciencia Al Poder) 2022-07-09 14:29:30 UTC
I can confirm this bug on OpenSuSE Tumbleweed, KTorrent version 22.04.2

When I activate logging, I see this:

sáb jul 9 16:19:10 2022: Qt Debug: copy() QUrl("file:file:///home/user/Descargas/Azureus/torrents/A.torrent") to QUrl("file:///home/jesus/.local/share/ktorrent/tor0/torrent") mode= -1

Note how there's a "file:file:" on the first QUrl. That looks suspicious.
Comment 3 Jack Hill 2023-11-09 17:15:14 UTC
*** Bug 464351 has been marked as a duplicate of this bug. ***
Comment 4 Bug Janitor Service 2023-11-09 18:02:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/ktorrent/-/merge_requests/83