Many Incompletes - WindowsError: [Error 5] Access is denied

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
flips
Newbie
Newbie
Posts: 15
Joined: December 19th, 2010, 9:14 am

Many Incompletes - WindowsError: [Error 5] Access is denied

Post by flips »

I just recently upgraded to 0.6, and started having an issue where on multiple NZB files from nzbmatrix, I get lots (60%) of incomplete files, the files aren't just corrupt, they are smaller than they should be by a few megs. I take this same NZB file over to newsbin with the same exact server settings, and all the files are fine. The NZBs are both about 45 gigs of 200 meg files. Smaller nzb files also from nzbmatrix seem to be fine.

The log is riddled with this error message when it trys to combine the files:

Code: Select all

2011-09-22 21:21:31,750::INFO::[__init__:814] Traceback: 
Traceback (most recent call last):
  File "sabnzbd\__init__.pyo", line 811, in load_data
WindowsError: [Error 5] Access is denied: 'd:\\incoming-news\\Downloads\\incomplete\\nzbname\\__ADMIN__\\SABnzbd_article_512qyx'
Here's the source code it is refering to:

Code: Select all

def load_data(_id, path, remove=True, do_pickle=True, silent=False):
    """ Read data from disk file """
    path = os.path.join(path, _id)

    if not os.path.exists(path):
        logging.info("%s missing", path)
        return None

    if not silent:
        logging.debug("Loading data for %s from %s", _id, path)

    try:
        _f = open(path, 'rb')
        if do_pickle:
            data = cPickle.load(_f)
        else:
            data = _f.read()
        _f.close()

        if remove:
            os.remove(path)
    except:
        logging.error(Ta('Loading %s failed'), path)
        logging.info("Traceback: ", exc_info = True)
        return None

    return data
I tried a shorter nzb name, I did a scan disk (quick, not a surface scan yet). I am on windows xp.

Any ideas on what to try next?

Thanks,
flips
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Many Incompletes - WindowsError: [Error 5] Access is den

Post by shypike »

Obviously the incomplete files are caused by the failure to read articles from disk.
Equally obviously, it's not a bug as such in SABnzbd, otherwise this forum would be overflowing.
For some reason Windows won't allow SABnzbd to read back its article cache.
It's not like the files are missing, but Windows doesn't allow reading them.
Did you check access rights?
Do you have any virus scanner running?
You say you upgraded to "0.6", but which 0.6? We have 0.6.0 upto 0.6.9
flips
Newbie
Newbie
Posts: 15
Joined: December 19th, 2010, 9:14 am

Re: Many Incompletes - WindowsError: [Error 5] Access is den

Post by flips »

Thanks for your reply.   

I apologize if I inferred that there was a bug or a systemic issue in the code.  I acknowledge that it was an issue specific to my set up.  I spent a lot of time searching the forums, and I couldn’t find anyone with my same issue except possibly this thread, but without error logs, I can’t be sure.  

http://forums.sabnzbd.org/viewtopic.php?f=2&t=8271

I was only hoping that the forums would help me narrow down the cause of my issue, so I can resolve it. 

I am using 0.6.9.  I went straight to 0.6.9, no intermediate 0.6.X revisions.  I will check on my anti virus, that is a good suggestion. I think I have an old version of AVG installed, that I let expire after a major upgrade, so I believe it is inactive, but I will confirm. Regarding access rights, I am an administrator in XP, and I am just a directory off the root of a drive.  Is there any other places I need to check for access rights? 

Thanks again,
flips
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Many Incompletes - WindowsError: [Error 5] Access is den

Post by shypike »

Did the previous version that you used work OK?
If so, does it make a difference if you go back.
flips
Newbie
Newbie
Posts: 15
Joined: December 19th, 2010, 9:14 am

Re: Many Incompletes - WindowsError: [Error 5] Access is den

Post by flips »

I never had this issue on the old versions. To confirm I installed version 0.5.6 to a new directory and ran it with the -f switch to preserve my 0.6 settings, but set everything up the same, same, download drive, etc. I even put the cache folder on the same drive.

I downloaded 15 gigs of the 45, and every file was perfect. It is definitely something in my set up that is only exhibits itself in 0.6.

I didn't touch anything in AVG so that factor hasn't changed.

flips
flips
Newbie
Newbie
Posts: 15
Joined: December 19th, 2010, 9:14 am

Re: Many Incompletes - WindowsError: [Error 5] Access is den

Post by flips »

It turns out it was AVG... I disabled scanning files without an extension and 0.6.9 worked like a charm.

Thanks again,
flips
Post Reply