Bug 368531

Summary: Error starting torrent: Cannot create file ~/.kde/share/apps/ktorrent/tor1/dnd/file0.dnd: No such file or directory
Product: [Applications] ktorrent Reporter: Dan Dart <kde>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.3.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dan Dart 2016-09-10 02:22:17 UTC
Getting an error like:
Error starting torrent: Cannot create file ~/.kde/share/apps/ktorrent/tor1/dnd/file0.dnd: No such file or directory

Seems that dnd directories are either deleted or do not get created automatically properly when starting a torrent.

Reproducible: Sometimes

Steps to Reproduce:
1. Start an existing torrent
2. Popup appears

Actual Results:  
Error message

Expected Results:  
For the torrent to start

Ubuntu 16.04
Comment 1 Justin Zobel 2022-10-24 00:46:30 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-08 05:10:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Dan Dart 2022-11-08 12:40:53 UTC
This could have been .kde/share/apps/ktorrent not having been mounted yet (I use NixOS and use this a bind mount point). Perhaps if ktorrent was expecting it to be there one minute and it not being there the next, this could reproduce the issue. Deleting the directory at the time might help replicate the issue. I'll check.
Comment 4 Dan Dart 2022-11-08 12:42:55 UTC
Wait a minute, this was 2016 before I used NixOS. I wasn't expecting it to be this far back. I think I'll close it as I don't normally experience this behaviour on modern versions and I'll open something else if newer versions are still problematic and it's reproducible.