Main Download Folder as a UNC Path fails

This is the place to help test and discuss Version 6 Beta releases.

Main Download Folder as a UNC Path fails

Postby pullingj » Thu Dec 06, 2012 11:07 pm

Observed in 6.41B3 and 6.41B4

Attempting to set the Main Download Folder to a UNC Path does not work as expected.

Expected behavior:
  • Enter
    Code: Select all
    \\NAS-EA-84-1F\media\Newsbin Download\$(NZBFILE)

    as the download path and the same path to show up on the sample path line. Expect to then have the ability to push "OK" and have the newsbin options dialog close and use the download path specified.
observed behavior:
  • After entering
    Code: Select all
    \\NAS-EA-84-1F\media\Newsbin Download\$(NZBFILE)

    as the download path,
    Code: Select all
    NAS-EA-84-1F\media\Newsbin Download\NZB Filename\

    is shown in the sample box and selecting "OK" presents the error:

    Code: Select all
    Window Title: Error
    Window contents:  Folder name needs a driver letter or UNC path prefix.
  • Specifying the same download location as a mapped drive, works as expected.
  • Setting the download path to the unc path by editing the .nbi settings file directly does not work either. entering the newsbin option dialog shows the intended download path, pushing edit, the box is populated with then intended path in the top input area, and the path with out the backslashes in the sample area. Attempting to close the edit path dialog with "ok" generates the same UNC prefix error dialog.
  • The following errors were output attempting to download a file after manually setting the download path in the .nbi file:

    Code: Select all
    [17:46:23] ERROR   - OpenNew - Warning - Can't create Output files:NAS-EA-84-1F\media\Newsbin Download\XXXX (2011)\[U4A]xxxxxxx-XXXX-1080p[006_109]-_xxxxxxx-XXXX-1080p.nfo_yEnc.nb2- T
    [17:46:23] ERROR   - Assemble -Spooler: MemIO Unable to Open file: [U4A] xxxxxxx-XXXX-1080p[006/109] - "xxxxxxx-XXXX-1080p.nfo" yEnc
    [17:46:23] ERROR   - INT_AssembleFile: Assembly Failed [U4A] xxxxxxx-XXXX-1080p[006/109] - "xxxxxxx-XXXX-1080p.nfo" yEnc
pullingj
n00b
n00b
 
Posts: 8
Joined: Sun Nov 16, 2003 11:36 am
Location: Kings Bay, GA

Registered Newsbin User since: 11/16/03

Re: Main Download Folder as a UNC Path fails

Postby Quade » Thu Dec 06, 2012 11:51 pm

Ok

\\Quade-Backup\Z\Downloads\

Works

\\Quade-Backup\Downloads\

Doesn't work. If you click the browse button and browse to a path on the nas drive, what shows up in the download path, does it have a letter?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44984
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Main Download Folder as a UNC Path fails

Postby pullingj » Fri Dec 07, 2012 12:06 am

Quade wrote: If you click the browse button and browse to a path on the nas drive, what shows up in the download path, does it have a letter?



It seems like no matter how I fill in the box, browsing or typing, Newsbin strips the leading backslashes as soon another backslash is added to the path. The sample also doesn't fill in until I type the backslash. Also, after inserting a variable, the refresh button doesn't update the sample until you add a backslash to the path.
pullingj
n00b
n00b
 
Posts: 8
Joined: Sun Nov 16, 2003 11:36 am
Location: Kings Bay, GA

Registered Newsbin User since: 11/16/03

Re: Main Download Folder as a UNC Path fails

Postby Quade » Fri Dec 07, 2012 12:46 am

Just because the sample is wrong, that doesn't mean the UNC path doesn't work. Did you try what I suggested?

I used a UNC path to my backup computer and it worked, I'd like you to try the same technique, browsing to the NAS and then adding the variable.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44984
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Main Download Folder as a UNC Path fails

Postby pullingj » Fri Dec 07, 2012 12:56 am

Quade wrote:I used a UNC path to my backup computer and it worked, I'd like you to try the same technique, browsing to the NAS and then adding the variable.


I can't seem to add the variable to the path. I'm unable to exit the edit path dialog if an UNC path is selected ("Folder name needs a drive letter or UNC path prefix" error). If I browse to a folder, from the Newsbin options dialog, it shows up in newsbin options. However attempting to download anything results in the following errors. If added to the download list, while newsbin is paused, the download path is shown with no leading backslashes.

Code: Select all
[19:52:50] ERROR   - OpenNew - Warning - Can't create Output files:NAS-EA-84-1F\media\Newsbin Download\[#####]-[FULL]-[#Blah]-[XXXXXX.DVDRip.XviD.RERip-Ltu]-[39_46]-_ltu-xxxa-rr.sfv_yEnc.nb2- T
[19:52:50] ERROR   - Assemble -Spooler: MemIO Unable to Open file: [#####]-[FULL]-[#Blah]-[ XXXXXX.DVDRip.XviD.RERip-Ltu ]-[39/46] - "ltu-xxxa-rr.sfv" yEnc
[19:52:50] ERROR   - INT_AssembleFile: Assembly Failed [#####]-[FULL]-[#Blah]-[ XXXXXX.DVDRip.XviD.RERip-Ltu ]-[39/46] - "ltu-xxxa-rr.sfv" yEnc
pullingj
n00b
n00b
 
Posts: 8
Joined: Sun Nov 16, 2003 11:36 am
Location: Kings Bay, GA

Registered Newsbin User since: 11/16/03

Re: Main Download Folder as a UNC Path fails

Postby Quade » Fri Dec 07, 2012 1:14 am

Just for shits and grins, how about editing the NBI file by hand (Wordpad) and adding the \\ to the path. The problem I think it Newsbin's looking for a drive letter in the path. That's what the error message is saying too. You can see with my working path it's got a Z drive letter.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44984
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Main Download Folder as a UNC Path fails

Postby pullingj » Fri Dec 07, 2012 1:57 am

Quade wrote:Just for shits and grins, how about editing the NBI file by hand (Wordpad) and adding the \\ to the path. The problem I think it Newsbin's looking for a drive letter in the path. That's what the error message is saying too. You can see with my working path it's got a Z drive letter.



Hrmm.. Look what I found in NewsBin.nbi

Code: Select all
DownloadPath=\\NAS-EA-84-1F\media\Newsbin Download\
pullingj
n00b
n00b
 
Posts: 8
Joined: Sun Nov 16, 2003 11:36 am
Location: Kings Bay, GA

Registered Newsbin User since: 11/16/03

Re: Main Download Folder as a UNC Path fails

Postby Quade » Fri Dec 07, 2012 9:57 am

I think I'll have to try sharing a folder and not a whole drive and see what happens with the path. I'm pretty sure any issue is that it's looking for a drive letter in the UNC path.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44984
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Main Download Folder as a UNC Path fails

Postby larft » Sun Dec 09, 2012 7:48 pm

I'm running into the same issue writing to my server. I edited the nzb file as suggested and NB doesn't gripe at the change on reload but when I try to download a file I get a log window saying spooler was unable to create the file, mapping a drive letter to the same destination works as expected.
larft
Occasional Contributor
Occasional Contributor
 
Posts: 34
Joined: Mon Aug 22, 2005 5:58 pm
Location: Southern Michigan

Registered Newsbin User since: 07/04/05

Re: Main Download Folder as a UNC Path fails

Postby Quade » Sun Dec 09, 2012 8:03 pm

Yeah, on my todo for the 6.41 release.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44984
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: No registered users and 3 guests