Strangeness with folder names and subsequent removal of downloaded files

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
Zedd
Newbie
Newbie
Posts: 8
Joined: May 29th, 2008, 2:51 pm

Strangeness with folder names and subsequent removal of downloaded files

Post by Zedd »

Hi Guys,

Yesterday I freshly installed 0.4.0Beta5 on my freshly re-installed WinXP.
Having had some experience with an older version, I must say, the new one looks great!

But, I do have some downloading problems. I've not been able to pin-point the exact circumstances that trigger the problem, so it is no 100% reproducable.
Some downloads finish without any trouble, some don't. The ones that don't, get deleted completely, but this might be due to my post-process setting (which is set to "+delete"). There is no unpacked download, no incompletes, no cache, nothing. Gone.
The logfile only shows lines like
ERROR::[assembler] Disk error on creating file E:\Documenten\NZB\incomplete\"Das.Beste.kommt.zum.Schluss.German.COMPLETE.DVDR-CRUCiAL 001100 - crcl-bucket.list.dvdr-sample.vob y.199\crcl-bucket.list.dvdr.r81
I've attached part of the logs.

I think it has something to do with that quote trailing the folder-part (E:\Documenten\NZB\incomplete\). That should no be there and it isn't in the original nzb.
This has happened several times now, although I've had two complete downloads also... I'm lost.
Any idea where to look / what's going wrong here?

(for aparent reasons, I've somewhat edited the logs to hide personal details)

Thanks & Regards,
- Zedd
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by shypike »

Please send the suspected NZB file to bugs at sabnzbd.org

BTW: the problem is not in the actual NZB file.
The poster may have put spurious quotes in the yEncoded filename.
That won't show up in the NZB file. SABnzbd (and any other program) uses the
yEnc filename embedded in the article.
Last edited by shypike on May 29th, 2008, 3:42 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by shypike »

I have downloaded using your NZB file.
It downloads fine here, there's no hidden quote in the filename.

However, after looking more carefully at your message:
It's the NZB filename itself that contains (or seems to contain) a quote character.

How exactly did you send the NZB to SABnzbd?
Blackhole, main-page, newzbin report number, third-party utility?

BTW: SABnzbd does not delete the files, it simply cannot write them to disk.
DeXeS
Release Testers
Release Testers
Posts: 206
Joined: January 28th, 2008, 1:04 pm
Location: The Netherlands

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by DeXeS »

Is the windows user you are logged into allowed to do everything in that folder? how about a different nzb? does that go fine?
Zedd
Newbie
Newbie
Posts: 8
Joined: May 29th, 2008, 2:51 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by Zedd »

Shypike, thanks for replying!
The NZB was sent to SAB through the main-page. I used the URL-add function.
When this did not work, I downloaded the NZB manually and added the NZB-file through the main-page.
No change.
Your final remark: SAB cannot write the file to disk, I think is not accurate. Cache files and such are written to disk fine. Only when the unpacking starts, things start to go wrong.

DeXeS: this user is member of the local administrators-group.
I've been able to download 1 nzb fine (the first) but sadly, I did not save the nzb-file.
I'm currently trying another one. But, this is a large one (10GB+) so I'll try a smaller one in a few minutes.

Thanks guys, for all the attention!

- Zedd
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by shypike »

In the cache the files get temporary names.
Looks like the quote was in the job name somehow.
Zedd
Newbie
Newbie
Posts: 8
Joined: May 29th, 2008, 2:51 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by Zedd »

Due to some stupid clicking on my part, I've had to reinstall my computer.  :-\
I'll be sure to install SAB the same way I did last time - I'll keep you posted!

- Zedd
Zedd
Newbie
Newbie
Posts: 8
Joined: May 29th, 2008, 2:51 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by Zedd »

Hmmm... everything LOOKED ok, but it turns out, it isn't  :'(

BUT I do have an idea. I'm suspecting it has something to do with HTML special chars ('& quot;' for example).
I see this is part of most of my downloads, may be all. I'll do some more testing with RC2 and also with v0.2.5.
I'll keep you posted.

Regards,
- Zedd
Zedd
Newbie
Newbie
Posts: 8
Joined: May 29th, 2008, 2:51 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by Zedd »

Indeed, it seems that the problem has something to do with HTML codes. I'm not sure why I'm the only one having this problem... may have something to do with regional settings?

I've tried downloading http://www.nzbindex.nl/?go=nzb&release= ... 1212659087 (if ths link doesn't work anymore, search for "The Order (gametime)" and select the 4.97GB version from a.b.Boneless).
When I C&P the URL on the main page, I get a different download name then when I download the NZB-file and use that one. Also see attachment: the second download I created using the URL, the third by uploading the NZB file.

My conclusion: something goes wrong when interpreting NZB files which were downloaded by SAB.
I've tried downloading the same URL in SAB v0.2.5 and that one downloads fine. There, the download-name also contains the quote, but also contains a trailing quote, which the beta-version lacks. To see this, again, check out the attachment: only a leading quote is shown, without a trailing quote. Windows will not accept filenames containing just one quote.

Is this analysis any help to you?

Regards,
- Zedd
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by shypike »

Thanks, I have the NZB, will test it tonight.
It could very well be a character set problem and that would be in the post itself and not in the NZB.

yEnc uses 8-bit ASCII for filenames which needs to be translated to Unicode, either by SABnzbd or Windows.
Not every 8-bit ASCII character has a fixed interpretation: you need to know the active "Codepage"
on the machine that created the post.
One example is the Euro-sign (Alt-0128), that one gives problems.

Like I said, I will look into this.
BTW which CodePage does your system use?
You can tell by typing the chcp command in a command prompt.
Codepage 850 is quite popular, not sure what Dutch systems use.
Zedd
Newbie
Newbie
Posts: 8
Joined: May 29th, 2008, 2:51 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by Zedd »

Codepages... not really my thing.
Chcp returns:
Active code page: 437

Please remember: using the NZB file works, using the URL does not.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by shypike »

I think I have not interpreted your complaint very well.
So the problem is with the handling of the URL itself.
OK, I'll check this out.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by switch »

Found the bug, will be fixed for the next release.
Cheers for reporting the issue :)
Zedd
Newbie
Newbie
Posts: 8
Joined: May 29th, 2008, 2:51 pm

Re: Strangeness with folder names and subsequent removal of downloaded files

Post by Zedd »

Gladly done.

I'll be checking on your fix ! 8)

- Zedd
Post Reply