Unrar problem due to AppleDouble folder

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
darious
Newbie
Newbie
Posts: 2
Joined: June 1st, 2013, 2:08 pm

Unrar problem due to AppleDouble folder

Post by darious »

Hi,

I have a problem that seems to have turned up in 0.7.14 (didn't have it in 0.7.13).

I have Sab running on an Ubuntu Server 12.04 box (installed from the unofficial repo). The folder this downloads to is shared over both SMB and AFP. I believe therefore Netatalk is creating the resource fork files, these .AppleDouble folders. Until 0.7.14 this didn't seem to cause any problems, now however it seems to be causing the rar extract process to fail it's finding rar files in these folders that are not really rar files, which then fail to extract.

i.e. from my log

Code: Select all

2013-07-11 07:47:26,131::DEBUG::[newsunpack:1394] build_filelists(): ts: []
2013-07-11 07:47:26,132::INFO::[newsunpack:208] Unrar starting on /media/datavol/usenet/incomplete/nice_little_download
2013-07-11 07:47:26,132::DEBUG::[newsunpack:410] Rar_sets: {'nice_little_download': ['/media/datavol/usenet/incomplete/nice_little_download/nice_little_download.r07', '/media/datavol/usenet/incomplete/nice_little_download/nice_little_download.r05', '/media/datavol/usenet/incomplete/nice_little_download/nice_little_download.rar', '/media/datavol/usenet/incomplete/nice_little_download/nice_little_download.r06', '/media/datavol/usenet/incomplete/nice_little_download/nice_little_download.r01', '/media/datavol/usenet/incomplete/nice_little_download/nice_little_download.r03', '/media/datavol/usenet/incomplete/nice_little_download/nice_little_download.r08', '/media/datavol/usenet/incomplete/nice_little_download/nice_little_download.r04', '/media/datavol/usenet/incomplete/nice_little_download/nice_little_download.r02', '/media/datavol/usenet/incomplete/nice_little_download/nice_little_download.r00', '/media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.r05', '/media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.rar', '/media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.r06', '/media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.r01', '/media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.r03', '/media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.r04', '/media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.r02', '/media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.r00']}
At the bottom you can see it's picked up some rar files from the AppleDouble folder.

It then tries to extract these,

Code: Select all

2013-07-11 07:47:26,132::INFO::[newsunpack:424] Extracting rarfile /media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.rar (belonging to nice_little_download) to /media/datavol/usenet/complete/tv/_UNPACK_nice_little_download
2013-07-11 07:47:26,133::DEBUG::[newsunpack:523] rar_extract(): Extractionpath: /media/datavol/usenet/complete/tv/_UNPACK_nice_little_download
2013-07-11 07:47:26,133::INFO::[newsunpack:530] Archive /media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.rar probably has full encryption
2013-07-11 07:47:26,133::DEBUG::[newsunpack:568] Running unrar ['/usr/bin/unrar', 'x', '-idp', '-o-', '-or', '-p-', '/media/datavol/usenet/incomplete/nice_little_download/.AppleDouble/nice_little_download.rar', '/media/datavol/usenet/complete/tv/_UNPACK_nice_little_download/']
2013-07-11 07:47:26,165::INFO::[newsunpack:212] Unrar finished on /media/datavol/usenet/incomplete/nice_little_download
which of course fails. It never tries to unrar the real files.

If I delete the .AppleDouble folder from the incomplete folder and hit retry in the web interface, it can process the real files and everything works.

Is this a bug or am I doing something wrong?

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

Re: Unrar problem due to AppleDouble folder

Post by shypike »

It shouldn't be an issue, but I'll check this again.
Post Reply