Page 1 of 1
par2 failed on UNC paths
Posted: September 24th, 2008, 4:57 am
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.)
Re: par2 failed on UNC paths
Posted: September 24th, 2008, 6:54 am
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?
Re: par2 failed on UNC paths
Posted: September 24th, 2008, 3:40 pm
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.
Re: par2 failed on UNC paths
Posted: September 25th, 2008, 2:08 am
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.
Re: par2 failed on UNC paths
Posted: September 25th, 2008, 5:15 am
by shypike
I agree, some path validation and warning could be done.
Filed as ticket #138, scheduled for release 0.4.5.
Re: par2 failed on UNC paths
Posted: September 28th, 2008, 9:23 pm
by starpc
Any chance of integrating QuickPar? As it supports unc paths.
Re: par2 failed on UNC paths
Posted: September 29th, 2008, 1:42 am
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.