Page 1 of 2
[FIXED] 0.4.0b2 does not remove blackhole files
Posted: April 14th, 2008, 5:15 am
by Sypher
As the title says: the 0.4.0b2 beta does not remove the blackhole files after processing them.
Re: 0.4.0b2 does not remove blackhole files
Posted: April 14th, 2008, 5:32 am
by shypike
As nobody else complains about this:
Could you give more information?
What's in the logging?
Do the files get processed at all?
Re: 0.4.0b2 does not remove blackhole files
Posted: April 14th, 2008, 6:06 am
by Sypher
Oh sorry.
Uhm, its the Win32 build. The blackhole folder is in the Sabnzbd folder. I am using "legacy" mode (the ini file inside the directory instead of files scattered across my system)
The files are getting processed, or atleast 1 of the 3 I had in there was back in the queue every time I started Sabnzbd.
2008-04-13 21:27:07,663::INFO::[sabnzbd.misc] Trying to import F:\SABnzbd\NZB_blackhole\Some.File.nzb
is in the logfile.
Re: 0.4.0b2 does not remove blackhole files
Posted: April 14th, 2008, 6:14 am
by shypike
Any file which is not an NZB or not a proper NZB will remain in the blackhole.
Look carefully in the logging for warnings and errors.
Each file is examined only once during the running time of SABnzbd (it checks again on soft-restart).
Re: 0.4.0b2 does not remove blackhole files
Posted: April 14th, 2008, 6:52 am
by Sypher
Okay, well it's an nzb. The nzb's are produced by Binsearch.
Never had any problems with them before, only since this beta release.
There are warnings at the connections page:
2008-04-14 13:01:26,976 WARNING IPV6 has priority on this system, potential Firefox issue
2008-04-14 13:01:33,105 ERROR [sabnzbd.misc] Error removing F:\SABnzbd\NZB_blackhole\69046.nzb
2008-04-14 13:01:34,210 ERROR [sabnzbd.misc] Error removing F:\SABnzbd\NZB_blackhole\123456.nzb
2008-04-14 13:01:35,368 ERROR [sabnzbd.misc] Error removing F:\SABnzbd\NZB_blackhole\543210.nzb
Re: 0.4.0b2 does not remove blackhole files
Posted: April 14th, 2008, 8:18 am
by shypike
Access rights problem.
SABnzbd can read the files but cannot remove them.
Re: 0.4.0b2 does not remove blackhole files
Posted: April 14th, 2008, 12:25 pm
by nzb_leecher
i know someone with the opisite. If the last nzb is deleted it also deletes the nzb directory
he always begins dloading with creating a new nzb dir

but he is so used by it he doesnt care anymore. Dont know whcih version he uses,
Re: 0.4.0b2 does not remove blackhole files
Posted: April 15th, 2008, 6:12 am
by Sypher
shypike wrote:
Access rights problem.
SABnzbd can read the files but cannot remove them.
I have full access (administrator account), and this problem wasn't there with the 0.3.x releases...
Re: 0.4.0b2 does not remove blackhole files
Posted: April 15th, 2008, 8:36 am
by shypike
Even as admin you may lock yourself out. Or if the R bit is set.
Can you delete the files from the command line?
Re: 0.4.0b2 does not remove blackhole files
Posted: April 16th, 2008, 6:08 am
by Sypher
I have no problems with deleting manually if that's what you're asking. Via explorer -> delete and they're gone.
My knowledge of Windows is high enough to prevent me from being locked out, and the R bit isn't added magically, is it?

Re: 0.4.0b2 does not remove blackhole files
Posted: April 16th, 2008, 10:43 am
by shypike
I could not think of a way to reproduce your deletion problem.
The code simply says:
Code: Select all
try:
os.remove(path)
except:
logging.error("[%s] Error removing %s", __NAME__, path)
So, unless the path displayed in the error message is not the correct path, I cannot
imagine what is wrong.
Same goes for the disappearing directory of nzb_leecher's friend.
Re: 0.4.0b2 does not remove blackhole files
Posted: April 17th, 2008, 2:28 am
by Sypher
The path is correct, I have the proper permissions to delete the file but somehow SABnzbd is unable to do so.
But now I'm wondering why it did work in prior versions.
Re: 0.4.0b2 does not remove blackhole files
Posted: April 23rd, 2008, 12:00 am
by AllRoCol
shypike wrote:
As nobody else complains about this:
Could you give more information?
What's in the logging?
Do the files get processed at all?
I am having the same problem. I am logged in as an Adminstrator. The first two nzb files I downloaded both deleted, then I installed Sabnzb open and all of a sudden they won't delete. I don't know if that program has something to do with it or not.
Re: 0.4.0b2 does not remove blackhole files
Posted: April 23rd, 2008, 1:43 am
by shypike
What is "sabnzbd open"?
Windows refuses to remove files that are (still) accessed by other applications.
Re: 0.4.0b2 does not remove blackhole files
Posted: April 23rd, 2008, 11:03 am
by AllRoCol
shypike wrote:
What is "sabnzbd open"?
Windows refuses to remove files that are (still) accessed by other applications.
Found it on your forums third party apps list.
http://forums.sabnzbd.org/index.php?topic=38.0
It is called sabnzbdopen on there, but installs as sabnzb open.
I believe that when installed, it was making nzb files read only when I downloaded them. As soon as I uninstalled and manually downloaded nzbs, the problem was gone.
Just my thought for the other guy.