No .unwanted Folder Created [Now Fixed/Boken More]

Windows specific questions, problems.
Post Reply
ihavefleas

No .unwanted Folder Created [Now Fixed/Boken More]

Post by ihavefleas »

Update [As of 3.0.2-3.0.6]

Same as 3.0.0

I think the problem is simply the order in which the commands are given. When you have it checked it say "Pre-alloate disk space for all files." So after using the pre-add content menu I think it's doing that first and then checking for unwanted files. Since all the files are created, it identifies that there are no unwanted files and the folder is not created.
This is why having it unchecked works properly. No files are pre-created so the unwanted folder is created and when the torrent starts it checks the selections.

------------------------------------------------

Update [As of 3.0.0]

The .unwanted folder now appears when using the menu if you do not have "pre-allocate disk space for all files" checked. However if you have it checked, all files get created now instead of just the one's that are checked in the menu - some may go into the .unwanted folder if it gets created and some may stay in the main folder. Sometimes I had the .unwanted folder not get created at all and all the files are in the main folder.

With the previous torrent pausing solution, only the checked files would be put into the main folder and the unwanted files would be put in the .unwanted folder after it was created the alternate way and the torrent was un-paused.

Conclusion: 3.0.0 completely fixes this issue if you don't pre-allocate space. If you do pre-allocate you'll have the same problem as before but this time the solution I posted will not help... so don't pre-allocate!

------------------------------------------------

Update [pre-3.0.0]

Alright I think I found the inconvenient solution.
  • Go into Tools -> Options -> Downloads and check the 2 check boxes under 'When adding a torrent.'
  • Add your torrents.
  • Uncheck the items you don't want when the box pops up. This will prevent the unwanted items from being put in the main folder initially in case you have pre-allocation on.
  • Go to the content lists for the torrents once they're in the queue, highlight the unchecked items, right click and click Do Not Download. This will create the .unwanted folders.
  • Resume the downloads and the unwanted items will now be put into the unwanted folders.
A little inconvenient that the content selection window upon adding the torrent doesn't create the folder, hopefully they can sort that out.

------------------------------------------------

Hello. I posted an issue I was having before about Do Not Download files downloading with the wanted files. ( For reference - http://qbforums.shiki.hu/index.php?topic=762.0 )

I did some reading and see that apparently a folder is supposed to be created to store the unwanted files which will be deleted when the torrent is removed from the list. I believe I saw this folder once back when I first started using the client during 2.9.6. At the time I had no idea what it meant and deleted it and shortly after that I installed 2.9.7. The folder has never appeared since I installed 2.9.7 and leaves all the unwanted files in the main folder, leaving me to delete them manually. Had anyone else had this issue with 2.9.7 or could it be because I deleted it before and it doesn't make a second?

Thanks.
Last edited by ihavefleas on Wed Dec 05, 2012 2:09 am, edited 1 time in total.
ironcross

Re: No .unwanted Folder Created

Post by ironcross »

I never had such folder and i'm hearing for the first time about it.
ihavefleas

Re: No .unwanted Folder Created

Post by ihavefleas »

I recall seeing it once before as I stated and after searching google for a while trying to solve my past problem I see that there apparently is supposed to be a .unwanted folder for when you only want to download certain files from a multi-file torrent. Even some posts in the Bug launchpad with the devs confirming. Now it's determining if it's a problem with the application or the computer.
s4nder

Re: No .unwanted Folder Created

Post by s4nder »

The .unwanted folder is hidden iirc, but I do agree there are problems with downloading only parts of multi-file torrents. I usually get remnants of "do not download" files in the destination folder that clutter everything up.
ihavefleas

Re: No .unwanted Folder Created

Post by ihavefleas »

A can confirm that. Typed "/.unwanted" at the end of the folder path while inside one of the torrent folders and sure enough it's there. However it didn't do this for all of them. Some have the extra files in the main folder and the .unwanted folder does not exist. I checked and made sure they had Do Not Download's set and they did. So yes there seems to be some issues with it.

*Edit*

I just discovered something. A little inconvenient but has a result. When I a add torrent and uncheck items in the content display box, the unwanted folders is not created. However, when I go into the Content list when the torrent is active, highlight the items, right click and click Do Not Download, the folder is created. So I may have to change my scheme to adding torrents in pause state and adding files to Do Not Download before activating it to ensure they all go in the unwanted folder. I'll have to test this for a bit to see if it's consistent.
Last edited by ihavefleas on Tue May 22, 2012 7:30 am, edited 1 time in total.
ihavefleas

Re: No .unwanted Folder Created [Solution Found]

Post by ihavefleas »

The .unwanted folder now appears when using the menu if you do not have "pre-allocate disk space for all files" checked. However if you have it checked, all files get created now instead of just the one's that are checked in the menu - some may go into the .unwanted folder if it gets created and some may stay in the main folder. Sometimes I had the .unwanted folder not get created at all and all the files are in the main folder.

With the previous torrent pausing solution, only the checked files would be put into the main folder and the unwanted files would be put in the .unwanted folder after it was created the alternate way and the torrent was un-paused.

Conclusion: 3.0.0 completely fixes this issue if you don't pre-allocate space. If you do pre-allocate you'll have the same problem as before but this time the solution I posted will not help... so don't pre-allocate!
Last edited by ihavefleas on Fri Aug 10, 2012 3:49 am, edited 1 time in total.
ihavefleas

Re: No .unwanted Folder Created [Now Fixed/Boken More]

Post by ihavefleas »

I think the problem is simply the order in which the commands are given. When you have it checked it say "Pre-alloate disk space for all files." So after using the pre-add content menu I think it's doing that first and then checking for unwanted files. Since all the files are created, it identifies that there are no unwanted files and the folder is not created.
This is why having it unchecked works properly. No files are pre-created so the unwanted folder is created and when the torrent starts it checks the selections.
Last edited by ihavefleas on Fri Sep 14, 2012 8:29 pm, edited 1 time in total.
Dayman

Re: No .unwanted Folder Created [Solution Found]

Post by Dayman »

[quote="ihavefleas"]
The .unwanted folder now appears when using the menu if you do not have "pre-allocate disk space for all files" checked. However if you have it checked, all files get created now instead of just the one's that are checked in the menu - some may go into the .unwanted folder if it gets created and some may stay in the main folder. Sometimes I had the .unwanted folder not get created at all and all the files are in the main folder.

With the previous torrent pausing solution, only the checked files would be put into the main folder and the unwanted files would be put in the .unwanted folder after it was created the alternate way and the torrent was un-paused.

Conclusion: 3.0.0 completely fixes this issue if you don't pre-allocate space. If you do pre-allocate you'll have the same problem as before but this time the solution I posted will not help... so don't pre-allocate!
[/quote]
Depends on what you really want. From technical perspective there's no difference. If you look into the properties of such "unwanted" files you'll see something like "Size:  4GB; On Disk: 1MB". Which means sparse files are created (zero on-disk size initially and then filled with whatever shared data chunks are needed for prev. and next file; so first and last chunk usually).
ihavefleas

Re: No .unwanted Folder Created [Solution Found]

Post by ihavefleas »

[quote="Dayman"]
[quote="ihavefleas"]
The .unwanted folder now appears when using the menu if you do not have "pre-allocate disk space for all files" checked. However if you have it checked, all files get created now instead of just the one's that are checked in the menu - some may go into the .unwanted folder if it gets created and some may stay in the main folder. Sometimes I had the .unwanted folder not get created at all and all the files are in the main folder.

With the previous torrent pausing solution, only the checked files would be put into the main folder and the unwanted files would be put in the .unwanted folder after it was created the alternate way and the torrent was un-paused.

Conclusion: 3.0.0 completely fixes this issue if you don't pre-allocate space. If you do pre-allocate you'll have the same problem as before but this time the solution I posted will not help... so don't pre-allocate!
[/quote]
Depends on what you really want. From technical perspective there's no difference. If you look into the properties of such "unwanted" files you'll see something like "Size:  4GB; On Disk: 1MB". Which means sparse files are created (zero on-disk size initially and then filled with whatever shared data chunks are needed for prev. and next file; so first and last chunk usually).
[/quote]

With pre-allocating it makes the file the full sizes to ensure the space is available on the drive and to reserve it. The unwanted folder isn't created because (I think) the program creates all the files before checking which one's were unchecked. Since it see's all the files there, it seemingly assumes there are no unwanted files. So all the pre-allocated files in their full sizes are left in the main folder. They will need to be manually deleted.
With pre-allocating off the unwanted folder is created, since no files have been places in the main folder yet, and the sparse files are placed in the unwanted folder as they are needed. The folder is deleted with the contents when you remove the torrent from the list.
Dayman

Re: No .unwanted Folder Created [Now Fixed/Boken More]

Post by Dayman »

Interesting thing. I've never enabled preallocation and yet I don't have that many .unwanted folders, but sparse files simply go into root folder of the torrent.
[quote="ihavefleas"]
With pre-allocating it makes the file the full sizes to ensure the space is available on the drive and to reserve it. The unwanted folder isn't created because (I think) the program creates all the files before checking which one's were unchecked. Since it see's all the files there, it seemingly assumes there are no unwanted files. So all the pre-allocated files in their full sizes are left in the main folder. They will need to be manually deleted.
[/quote]
If Qbt preallocates full sizes (not sparse files) for unchecked files, that's definitely a bug.
ihavefleas

Re: No .unwanted Folder Created [Now Fixed/Boken More]

Post by ihavefleas »

I think what the pre-allocating option should be doing is pre-allocating space for the selected items, creating the unwanted folder and placing the sparse files in that folder as they are needed. That is how it works when not pre-allocating... minus the pre-allocating.

I have stated before, though I have no evidence, that I think it pre-allocates before it checks which items are selected. That's probably the bug.

I often only download some files from multiple file torrents and I've been dancing around this pre-allocating thing since v2.9.7. I've submitted a couple of bug reports, though I don't think they have been looked at. Regardless, it's not a huge issue since it works perfectly when not pre-allocating. It would be nice to finally put this issue to rest though. I am kind of a pre-allocator if you hadn't noticed.
Last edited by ihavefleas on Sat Sep 15, 2012 10:09 am, edited 1 time in total.
Post Reply