Repairing failed, [Error 87] The parameter is incorrect

Report & discuss bugs found in SABnzbd

Repairing failed, [Error 87] The parameter is incorrect

Postby YodaEXE » December 26th, 2011, 9:47 am

Version: 0.6.10
OS: Windows 7 Home Premium
Install-type: Windows Installer
Skin (if applicable): Plush
Firewall Software: Win 7 Firewall
Are you using IPV6? No
Is the issue reproducible? Yes, has happened twice on the same file

I'm getting this error when SAB attempts to repair an nzb I've been downloading. I thought that maybe the first time was a fluke, so I re-downloaded it and had the same thing happen. I can provide the NZB file in question if necessary, as well as anything else that might be needed.
Last edited by YodaEXE on December 26th, 2011, 12:01 pm, edited 1 time in total.
YodaEXE
Newbie
Newbie
 
Posts: 6
Joined: December 26th, 2011, 9:43 am

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby shypike » December 26th, 2011, 10:00 am

Did you add some text in the field "Extra PAR2 Parameters" in Config->Switches?
User avatar
shypike
Administrator
Administrator
 
Posts: 16556
Joined: January 18th, 2008, 1:49 pm

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby YodaEXE » December 26th, 2011, 10:58 am

No, there's nothing in that field.
YodaEXE
Newbie
Newbie
 
Posts: 6
Joined: December 26th, 2011, 9:43 am

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby shypike » December 26th, 2011, 3:49 pm

Set SABnzbd logging to "Debug" level and try again.
Then open the log file and look for this error.
(Both options are on the Status page).
So far I have no idea what could be going on.
User avatar
shypike
Administrator
Administrator
 
Posts: 16556
Joined: January 18th, 2008, 1:49 pm

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby YodaEXE » December 26th, 2011, 3:55 pm

Sure, no problem. I've changed the setting and started the download up again. Once it's finished I'll throw the relevant section of the log your way.
YodaEXE
Newbie
Newbie
 
Posts: 6
Joined: December 26th, 2011, 9:43 am

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby YodaEXE » December 27th, 2011, 8:00 am

Here's the error log, a bit before and a bit after the error itself:

'E:\\Downloads\\incomplete\\Kara no Kyoukai [Complete][Coalgirls][1280x720][Bluray][FLAC]\\[Coalgirls]_Kara_no_Kyoukai_Epilogue_(1280x720_Blu-ray_FLAC)_[A50B8F5D].mkv.033', 'E:\\Downloads\\incomplete\\Kara no Kyoukai [Complete][Coalgirls][1280x720][Bluray][FLAC]\\[Coalgirls]_Kara_no_Kyoukai_Epilogue_(1280x720_Blu-ray_FLAC)_[A50B8F5D].mkv.034', 'E:\\Downloads\\incomplete\\Kara no Kyoukai [Complete][Coalgirls][1280x720][Bluray][FLAC]\\[Coalgirls]_Kara_no_Kyoukai_Epilogue_(1280x720_Blu-ray_FLAC)_[A50B8F5D].mkv.035', 'E:\\Downloads\\incomplete\\Kara no Kyoukai [Complete][Coalgirls][1280x720][Bluray][FLAC]\\[Coalgirls]_Kara_no_Kyoukai_Epilogue_(1280x720_Blu-ray_FLAC)_[A50B8F5D].mkv.036']
2011-12-26 22:41:17,178::DEBUG::[newsunpack:1238] build_filelists(): zips: []
2011-12-26 22:41:17,180::DEBUG::[newsunpack:1239] build_filelists(): rars: []
2011-12-26 22:41:17,180::DEBUG::[newsunpack:1240] build_filelists(): ts: []
2011-12-26 22:41:17,181::DEBUG::[newsunpack:876] Par2-classic = False
2011-12-26 22:41:17,265::ERROR::[newsunpack:799] Error [Error 87] The parameter is incorrect while running par2_repair on set [Coalgirls]_Kara_no_Kyoukai_5_-_Paradox_Spiral_(1280x720_Blu-ray_FLAC)_[89E5B94E].mkv
2011-12-26 22:41:17,266::INFO::[newsunpack:800] Traceback:
Traceback (most recent call last):
File "sabnzbd\newsunpack.pyo", line 780, in par2_repair
File "sabnzbd\newsunpack.pyo", line 1120, in PAR_Verify
WindowsError: [Error 87] The parameter is incorrect
2011-12-26 22:41:17,267::INFO::[postproc:513] Running repair on set [Coalgirls]_Kara_no_Kyoukai_6_-_Oblivion_Recording_(1280x720_Blu-ray_FLAC)_[35F9D873].mkv
2011-12-26 22:41:17,905::INFO::[newsunpack:1272] Cannot Quick-check missing file [Coalgirls]_Kara_no_Kyoukai_6_-_Oblivion_Recording_(1280x720_Blu-ray_FLAC)_[35F9D873].mkv!
2011-12-26 22:41:17,907::INFO::[newsunpack:775] Scanning "E:\Downloads\incomplete\Kara no Kyoukai [Complete][Coalgirls][1280x720][Bluray][FLAC]\[Coalgirls]_Kara_no_Kyoukai_6_-_Oblivion_Recording_(1280x720_Blu-ray_FLAC)_[35F9D873].mkv.vol000+001.par2"
YodaEXE
Newbie
Newbie
 
Posts: 6
Joined: December 26th, 2011, 9:43 am

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby shypike » December 27th, 2011, 9:04 am

Please upgrade first to 0.6.14, because in your version the logging of
the par2 command invocation is incomplete.
User avatar
shypike
Administrator
Administrator
 
Posts: 16556
Joined: January 18th, 2008, 1:49 pm

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby YodaEXE » December 27th, 2011, 8:09 pm

Alright, upgraded and re-downloaded the file. I think this is the relevant section of the error log, but just in case I've included the whole file as well.

011-12-27 17:40:49,131::INFO::[newsunpack:952] Verified in 25 seconds, repair is required

2011-12-27 17:40:49,137::INFO::[newsunpack:990] Need to fetch 1500 more blocks, checking blocks

2011-12-27 17:40:49,138::INFO::[newsunpack:1012] 355 blocks available

2011-12-27 17:40:49,140::INFO::[newsunpack:1043] Added 355 blocks to Kara no Kyoukai [Complete][Coalgirls][1280x720][Bluray][FLAC]

2011-12-27 17:40:49,141::INFO::[newsunpack:790] Par verify failed on E:\Downloads\incomplete\Kara no Kyoukai [Complete][Coalgirls][1280x720][Bluray][FLAC]\[Coalgirls]_Kara_no_Kyoukai_1_-_Overlooking_View_(1280x720_Blu-ray_FLAC)_[ED328EEC].mkv.vol000+001.par2!

2011-12-27 17:40:49,144::INFO::[postproc:517] Running repair on set [Coalgirls]_Kara_no_Kyoukai_5_-_Paradox_Spiral_(1280x720_Blu-ray_FLAC)_[89E5B94E].mkv

2011-12-27 17:40:49,145::ERROR::[postproc:447] Post Processing Failed for Kara no Kyoukai [Complete][Coalgirls][1280x720][Bluray][FLAC] ()

2011-12-27 17:40:49,147::INFO::[postproc:449] Traceback:

Traceback (most recent call last):
File "sabnzbd\postproc.pyo", line 262, in process_job
File "sabnzbd\postproc.pyo", line 519, in parring
File "sabnzbd\newsunpack.pyo", line 754, in par2_repair

http://www.mediafire.com/?bovc78z8bq7y24w
YodaEXE
Newbie
Newbie
 
Posts: 6
Joined: December 26th, 2011, 9:43 am

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby sander » December 28th, 2011, 2:37 am

FWIW: I created NZB's for the search term 'Kara coalgirls overlooking 1280' both via yabsearch and nzbindex (as binsearch is down), and both downloads go OK (resulting in a 1.6GB download).

So, can you post your NZB so I can try your NZB?

And: E: is just a NTFS harddisk built in in your Windows system? Or is it an external USB or network (or FAT) drive?
User avatar
sander
Release Testers
Release Testers
 
Posts: 3509
Joined: January 22nd, 2008, 3:22 pm

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby shypike » December 28th, 2011, 3:34 am

YodaEXE wrote:2011-12-27 17:40:49,147::INFO::[postproc:449] Traceback:

Traceback (most recent call last):
File "sabnzbd\postproc.pyo", line 262, in process_job
File "sabnzbd\postproc.pyo", line 519, in parring
File "sabnzbd\newsunpack.pyo", line 754, in par2_repair

http://www.mediafire.com/?bovc78z8bq7y24w


You listed not enough lines and the ZIP file is no longer on mediafire.
Please email it to bugs at sabnzbd.org
User avatar
shypike
Administrator
Administrator
 
Posts: 16556
Joined: January 18th, 2008, 1:49 pm

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby YodaEXE » December 28th, 2011, 7:55 am

Email has been sent. And in this case the E: drive is an NTFS formatted external, connected to the PC via USB.
YodaEXE
Newbie
Newbie
 
Posts: 6
Joined: December 26th, 2011, 9:43 am

Re: Repairing failed, [Error 87] The parameter is incorrect

Postby shypike » December 28th, 2011, 8:13 am

It looks like it's simply not reliable.
User avatar
shypike
Administrator
Administrator
 
Posts: 16556
Joined: January 18th, 2008, 1:49 pm


Return to Bug Reports