par2 failed on UNC paths

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
Munters
Newbie
Newbie
Posts: 2
Joined: September 24th, 2008, 4:53 am

par2 failed on UNC paths

Post by Munters »

The par2 check and repair will fail, if the paths (as specified in the config tab) are in UNC format.
If I map the same paths to drive-letters before, it does work fine.
(Win32 client, version 0.4.4.)
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: par2 failed on UNC paths

Post by switch »

What sort of path are you giving it?
\\ComputerName\SharedFolder\Resource
smb://ComputerName/SharedFolder/Resource
\\?\UNC\ComputerName\SharedFolder\Resource

Does sabnzbd have access to this path? If you are downloading to an another PC I recommend having the incomplete folder hosted on the local filesystem and just the complete folder listed externally.

What sort of error do you get back? Just an unammed par2 error?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: par2 failed on UNC paths

Post by shypike »

Munters wrote: The par2 check and repair will fail, if the paths (as specified in the config tab) are in UNC format.
It's quite simple. The par2.exe program does not support UNC paths.
This is outside of our control.
Munters
Newbie
Newbie
Posts: 2
Joined: September 24th, 2008, 4:53 am

Re: par2 failed on UNC paths

Post by Munters »

True. The par2 utility is supplied silently within the sabnzbd package.however.
It would be nice sabnzbd would give a warning if someone uses UNC paths in the configuration,
as long as the supplied par2 checking utility doesn't support UNC paths.
Now the "complete package" does not work, without an understandable error or something.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: par2 failed on UNC paths

Post by shypike »

I agree, some path validation and warning could be done.
Filed as ticket #138, scheduled for release 0.4.5.
Last edited by shypike on September 25th, 2008, 5:20 am, edited 1 time in total.
starpc
Newbie
Newbie
Posts: 9
Joined: September 28th, 2008, 8:58 pm

Re: par2 failed on UNC paths

Post by starpc »

Any chance of integrating QuickPar?  As it supports unc paths.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: par2 failed on UNC paths

Post by shypike »

Impossible, QuickPar is GUI only. It has no command line interface, nor a API.
It's also closed source, meaning no one but author can improve it, something which he
is obviously not doing.
Post Reply