Verify after unrar erroneously reports "[newsunpack:557] Missing expected file"

Report & discuss bugs found in 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
Ravefiend
Newbie
Newbie
Posts: 5
Joined: January 4th, 2011, 5:43 am

Verify after unrar erroneously reports "[newsunpack:557] Missing expected file"

Post by Ravefiend »

Version: 0.5.6
OS: Windows 7 x64
Install-type:  Windows Installer
Skin (if applicable): smpl Version: 1.3
Firewall Software: [none]
Are you using IPV6? no
Is the issue reproducible? yes

SABnzbd encountered the following failure today:

Code: Select all

2011-01-04 10:37:15,282::WARNING::[newsunpack:557] Missing expected file: xxxxxxxxxxxxxxxxxx/CD 2/xx - xxxxxx _ xxxxxxxx => unrar error?
(blanked out the unrelated info with x's)

The root cause of the problem is that the filename inside the RAR archive contains two different dash characters. The first one is OK, with a hex value of 2D where the the second one has hex value 96. Unrar extracted the archive without any issues and the filename is exactly as it is stored in the archive, containing the two different dashes. Seems like newsunpack converts the longer dash (0x96) into an underscore and thus fails to find it in the extract location.

Options set (if relevant):
Enable built-in unrar functionality.
Replace illegal characters in folder names by equivalents (otherwise remove).
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Verify after unrar erroneously reports "[newsunpack:557] Missing expected file"

Post by shypike »

Alas a known issue.
SABnzbd does a post-unpack check, but doesn't always know how unrar maps odd characters.
The easiest solution is to set unpack_check off.
See here: http://wiki.sabnzbd.org/configure-special
Post Reply