After "Trash Data...", folders are not deleted

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
raffe
Posts: 1
Joined: Fri Oct 29, 2021 7:56 am

After "Trash Data...", folders are not deleted

Post by raffe »

I have transmission running on my NAS:

Code: Select all

[~] # cat /proc/version
Linux version 5.10.60-qnap (root@U16BuildServer172) (x86_64-QNAP-linux-gnu-gcc (toolchain config: [gcc-4.9.2 binutils-2.25 glibc-2.21]) 4.9.2, GNU ld (GNU Binutils) 2.25) #1 SMP Wed Oct 20 08:47:15 CST 2021
[~] # uname -a
Linux TS-653A 5.10.60-qnap #1 SMP Wed Oct 20 08:47:15 CST 2021 x86_64 GNU/Linux
Transmission version (installed with ipkg and from http://bin.entware.net/x64-k3.2/ ):

Code: Select all

[2021-10-31 11:06:01.503] Transmission 3.00 (bb6b5a062e) started (session.c:769)
[2021-10-31 11:06:01.503] Cache Maximum cache size set to 2.00 MiB (128 blocks) (cache.c:260)
[2021-10-31 11:06:01.503] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:956)
[2021-10-31 11:06:01.503] RPC Server Serving RPC and Web requests on 0.0.0.0:9091/transmission/ (rpc-server.c:1244)
[2021-10-31 11:06:01.503] RPC Server Started listening on 0.0.0.0:9091 (rpc-server.c:834)
[2021-10-31 11:06:01.503] Bound socket 16 to port 51413 on 0.0.0.0 (net.c:462)
I have transmission running with:

Code: Select all

transmission-daemon -g /opt/etc/transmission --log-debug --logfile /opt/etc/transmission/transmission.log
I have downloaded this test file:

Code: Select all

magnet:?xt=urn:btih:d485825f3cf342797b33fd0012d68a60200ca6dd&dn=100 Amazing Mixed Wallpapers {Pack -243}&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ffasttracker.foreverpirates.co%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.uw0.xyz%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.dler.org%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce
After download I have this in my download folder:
Folder:

Code: Select all

100 Amazing Mixed Wallpapers {Pack -243}
In the above folder I have 100 picture files, like:

Code: Select all

100 Amazing Mixed Wallpapers {Pack -243} (1).jpg
100 Amazing Mixed Wallpapers {Pack -243} (2).jpg
After I right click and choose "Trash Data and Remove From List...", I have two empty folders:

Code: Select all

100 Amazing Mixed Wallpapers {Pack -243}__epCVE6/100 Amazing Mixed Wallpapers {Pack -243}
I just see this in the logs, no errors:

Code: Select all

[2021-10-31 12:01:31.442] 100 Amazing Mixed Wallpapers {Pack -243} Retrying announce in 332 seconds. (announcer.c:1094)
[2021-10-31 12:02:29.441] 100 Amazing Mixed Wallpapers {Pack -243} Removing torrent (torrent.c:2078)
[2021-10-31 12:02:29.442] 100 Amazing Mixed Wallpapers {Pack -243} Pausing (torrent.c:2022)
[2021-10-31 12:02:29.442] UDP Couldn't parse UDP tracker packet. (tr-udp.c:296)
When I tried some other suff, like downloading to download gimp-2.10.28-setup.exe.torrent ( https://download.gimp.org/pub/gimp/v2.1 ... xe.torrent ) it deleted the file just fine.

I also have seen that it has deleted folders and everything as it should, like with https://kali.download/base-images/kali- ... so.torrent

I think it is when there are [] or {} in the folder and filename. Sometimes if there are [] in the namen, it will also keep the original folder and create two more (but it will delete all files). So after deleting all files I have something like this left. Three empty folders:

Code: Select all

Folder.name[tmz]
Folder.name[tmz]_azK7c/Folder.name[tmz]
Have any of you the same problem and/or a solution?
killemov
Posts: 535
Joined: Sat Jul 31, 2010 5:04 pm

Re: After "Trash Data...", folders are not deleted

Post by killemov »

The only case when this happens on my system is when the drive is full. File/folder names do not affect deleting the payload at all.
Post Reply