Bug 356717 - Cannot switch datadir
Summary: Cannot switch datadir
Status: RESOLVED WORKSFORME
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 4.3.1
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-15 07:51 UTC by Petar Marinov
Modified: 2020-12-21 04:34 UTC (History)
1 user (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 Petar Marinov 2015-12-15 07:51:03 UTC
I am trying to change my "Folder to store torrent information" from /media/Data/Downloads/ to any existing path on my file system.
My /dev/sdd1 was mounted to /media/Data/ and then unmounted, so /media/Data/Downloads/ does not exists now.

~/.kde/share/apps/ktorrent/log says:

вт дек. 15 09:29:58 2015: Switching to datadir /home/wildalmighty/.kde/share/apps/ktorrent/
вт дек. 15 09:29:58 2015: Setting suspended state to 1
вт дек. 15 09:29:58 2015: /media/Data/Downloads/tor15/ -> /home/wildalmighty/.kde/share/apps/ktorrent/tor15/
вт дек. 15 09:29:58 2015: Could not move /media/Data/Downloads/tor15/ to /home/wildalmighty/.kde/share/apps/ktorrent/tor15/
вт дек. 15 09:29:58 2015: Error, rolling back
вт дек. 15 09:29:58 2015: Setting suspended state to 0
вт дек. 15 09:29:59 2015: Stopped update timer

The result is that I cannot use KTorrent now.

Reproducible: Always

Steps to Reproduce:
1. Umount/remove dev containing the path to the old datadir
2. Go to Settings -> Configure KTorrent -> Application
3. Change "Folder to store torrent information" with an existing path 
4. Press "Save"

Actual Results:  
"Folder to store torrent information" (datadir) is not changed.

Expected Results:  
"Folder to store torrent information" (datadir) should be changed.

KTorrent cannot be used with the old datadir, so I have to manually delete my config file ~/.kde/share/config/ktorrentrc in order to use kTorrent again.
Comment 1 Justin Zobel 2020-11-21 06:18:16 UTC
Thanks for the report Petar.

I've checked this on ktorrent and I can't reproduce the issue.

When I start ktorrent and the data directory is unavailable it resets to default.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Bug Janitor Service 2020-12-06 04:34:00 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 Bug Janitor Service 2020-12-21 04:34:47 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!