sab handles identical filenames incorrectly

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
PacoBell
Release Testers
Release Testers
Posts: 14
Joined: March 23rd, 2008, 5:17 pm

sab handles identical filenames incorrectly

Post by PacoBell »

Occasionally, you'll come across some doofus who generates a movie sample with the same filename as the movie itself. I'm not sure if this is truly the case, but it appears that during the post-processing stage, sab will refuse to overwrite the identical filename in the same directory and instead simply do nothing, delete the entire archive set, and call it complete! PAR2 checks out fine, so it's not a corruption issue and I've even successfully extracted the archive manually after disabling automatic RAR handling. Oops :P
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: sab handles identical filenames incorrectly

Post by switch »

unrar is set to not overwrite files when extracting which I disagree with too. I'll look into having it changed.
User avatar
syth
Jr. Member
Jr. Member
Posts: 60
Joined: August 1st, 2008, 2:54 am
Location: Zed Zed 9 Plural Zed Alpha

Re: sab handles identical filenames incorrectly

Post by syth »

switch wrote: unrar is set to not overwrite files when extracting which I disagree with too. I'll look into having it changed.
If there is any sort of error in extraction though, shouldn't the rars and pars be preserved?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sab handles identical filenames incorrectly

Post by shypike »

unrar does not report an error in this situation.
Post Reply