Page 1 of 2
Unrar issue with SABnzbd 0.6.9
Posted: October 6th, 2011, 3:32 am
by IT34SE
Version: 0.6.9
OS: Windows 7 SP1
Install-type: Windows Installer
Firewall Software: None
Are you using IPV6? No
Is the issue reproducible? Yes
Hi all,
I have been having this issue on and off lately and am unable to fix it. The last time this happened I uninstalled SABnzbd and started from scratch and it worked fine. As well as SABnzbd I also use Sickbeard. The problem is, wether I download via Sickbeard or find something on NZBMatrix, I keep getting the following error:
"Unpacking failed, an expected file was not unpacked"
I click on retry and that doesnt work either. It gives me the option to supplement with another NZB or retry and so I click retry. SABnzbd then attempts to download the 'missing files' but then comes up with an error and I can no longer try again. And there goes some of my D/L quota and I get nothing from it.
I have been able to get around it by unchecking 'enable unrar' in the switches but I don't want to unzip every single episode or movie I download. It just becomes a pain. So obviously the issue is with this 'unrar' command but I am unable to work out how to fix it. I also tried to uncheck 'Check result of unpacking' but did not work either.
Anybody have any ideas?
Thanks
IT34SE
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 6th, 2011, 6:38 am
by shypike
You'd want to set off Config->Switches->"Check result of unpacking".
In rare cases there are incompatibilities between the way unrar and SABnzbd interpret "foreign" characters.
The cause is mostly careless uploaders and issues with Linux systems who have a dodgy configuration of their file system.
But first check whether there isn't actually a problem.
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 6th, 2011, 7:27 am
by mailgoe
hey IT34SE,
could you please try the following:
go into the temp folder were sabnzb is saving the temporary download files and search the folder from the download which aborted. the try to unpack the files manually with winrar
into the same location where sabnzbd would place it! maybe the max folder length (windows=256) is exceeded.
see my post:
http://forums.sabnzbd.org/viewtopic.php?f=2&t=9037
best regards
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 7th, 2011, 1:09 am
by IT34SE
shypike wrote:You'd want to set off Config->Switches->"Check result of unpacking".
In rare cases there are incompatibilities between the way unrar and SABnzbd interpret "foreign" characters.
The cause is mostly careless uploaders and issues with Linux systems who have a dodgy configuration of their file system.
But first check whether there isn't actually a problem.
Ok. I have done this and restarted SABnzbd to make sure it was fully set. When I downloaded something that was ~30MB it worked but a movie which was ~1.5GB didn't work.
mailgoe wrote:
go into the temp folder were sabnzb is saving the temporary download files and search the folder from the download which aborted. the try to unpack the files manually with winrar into the same location where sabnzbd would place it! maybe the max folder length (windows=256) is exceeded.
I went to my 'Incomplete downloads' folder and it isn't showing up in there. I dont know where to set the max folder length from though.
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 7th, 2011, 1:26 am
by mailgoe
It's the seperate temp folder which you have chosen in settings-->folders-->the first line.
If a download fails to get unpacked there should be two folders:
-one in the finished download directory with a prefix like "FAILED - <name of the download>"; here should be the files he was able to unpack
-one in the temp folder <name of the download> with all the rar parts inside
the max folder length you could change in the sabnzbd.ini file:
http://wiki.sabnzbd.org/configure-special see the 6th line
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 7th, 2011, 2:52 am
by IT34SE
mailgoe wrote:It's the seperate temp folder which you have chosen in settings-->folders-->the first line.
If a download fails to get unpacked there should be two folders:
-one in the finished download directory with a prefix like "FAILED - <name of the download>"; here should be the files he was able to unpack
-one in the temp folder <name of the download> with all the rar parts inside
the max folder length you could change in the sabnzbd.ini file:
http://wiki.sabnzbd.org/configure-special see the 6th line
I have the temp folder set as "C:\Program Files\SABnzbd\Incomplete Downloads" In that folder, when a download fails, nothing appears in there.
I sometimes get a folder with FAILED in the completed directory but no files are in there. Its just empty.
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 7th, 2011, 2:57 am
by IT34SE
IT34SE wrote:shypike wrote:You'd want to set off Config->Switches->"Check result of unpacking".
In rare cases there are incompatibilities between the way unrar and SABnzbd interpret "foreign" characters.
The cause is mostly careless uploaders and issues with Linux systems who have a dodgy configuration of their file system.
But first check whether there isn't actually a problem.
Ok. I have done this and restarted SABnzbd to make sure it was fully set. When I downloaded something that was ~30MB it worked but a movie which was ~1.5GB didn't work.
This has actually started to work. I have since downloaded a 700MB movie which showed up in my completed folder but I just had to use winrar to unpack it and also a 350MB tv episode, which was the same.
So, to clarify this. When "Check results of unpacking" is disabled I can download most files.
But, with it enabled I keep getting an unpacking error. I have set the max folder length to 64 but that did not make a difference. I
COULD live with this but I really like the fact that SABnzbd and Sickbeard work together and alll my tv shows are downloaded, unpacked and renamed already for me and all i have to do is put them in their respective folders.
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 7th, 2011, 1:08 pm
by shypike
So if it works with the check option off, what's the problem?
The cause is foreign characters or names that are too long.
Trim your initial path or just set the limit even lower.
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 7th, 2011, 11:48 pm
by IT34SE
The issue with it disabled is that I have to then unpack everything manually with winrar. It is a minor inconvenience but if i have 10 new episodes and a few movies then it takes a while to do.
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 8th, 2011, 2:52 am
by shypike
I did not tell you disable the unrar option.
You should disable the unpack-check option, which is something completely different.
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 9th, 2011, 5:09 am
by IT34SE
shypike wrote:I did not tell you disable the unrar option.
You should disable the unpack-check option, which is something completely different.
I only disabled the unpack check option. unrar is still enabled but it doesnt seem to work.
I downloaded a 720p TV episode earlier today which was 1.4GB and that downloaded fine, but had to unpack it. But I have just tried to download a movie which was 1.6GB but that has failed. Seems to be very 'hit and miss' at the moment.
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 9th, 2011, 9:19 am
by shypike
Do you have any idea what makes things go wrong?
Long path names?
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 10th, 2011, 1:10 am
by IT34SE
Ok. I have changed the path of the 'temporary folder'. This is now:
C:\Users\Peter\Downloads\Incompleted Downloads
And the completed downloads go into:
C:\Users\Peter\Downloads\Completed Downloads
As mentioned above, I have changed the max_folder_length to 64. I don't know wether that makes a big impact. I have downloaded a few movies and episodes. I now get a CRC error. I click on retry and it fixes the issue and everything is unpacked and renamed as it should be. Just have to work out what this CRC error is from now. Happens about 50% of the time. I still have the "Check result of unpacking" option disabled.
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 10th, 2011, 2:15 am
by shypike
The end result of CRC complaints is often that people come back
to inform us that they discovered faulty memory.
Having said that, I'm currently looking at a potential incompatibility between
the included unrar 4.01 and SABnzbd's post-processing.
Although it's rather far-fetched to name this as the cause for reported CRC errors.
Re: Unrar issue with SABnzbd 0.6.9
Posted: October 10th, 2011, 4:06 am
by IT34SE
OK. Well I will do a memeory test at some point tomorrow and report back on the results. The computer is only 6 months old and I have never had any other issues with it but will check anyway