Unwanted Extensions showing in log, but not pausing

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
aaloo
Newbie
Newbie
Posts: 4
Joined: August 19th, 2014, 8:35 pm

Unwanted Extensions showing in log, but not pausing

Post by aaloo »

This is my setting for unwanted extensions:

Image

I ask the download to pause when unwanted extension is detected, and I set "exe, com" as unwanted extensions (as suggested)

In logs, I can see that the unwanted extension was detected correctly:

Image

But, the download still finishes anyway:

Image

This happens every time! Please let me know if you need any more details.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Unwanted Extensions showing in log, but not pausing

Post by shypike »

An example NZB file would be useful.
Please email to [email protected] (Please add the URL of this post.
aaloo
Newbie
Newbie
Posts: 4
Joined: August 19th, 2014, 8:35 pm

Re: Unwanted Extensions showing in log, but not pausing

Post by aaloo »

Just sent you a PM with the NZB and the corresponding logs from Sabnzbd. Hope this helps!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Unwanted Extensions showing in log, but not pausing

Post by shypike »

Ok, analysis will take a while; I'm travelling now.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Unwanted Extensions showing in log, but not pausing

Post by shypike »

The EXE file is in the very last RAR file that is downloaded.
By that time, the pause has no effect any more.
If you would chose "abort" instead of "pause", the job would be aborted.
aaloo
Newbie
Newbie
Posts: 4
Joined: August 19th, 2014, 8:35 pm

Re: Unwanted Extensions showing in log, but not pausing

Post by aaloo »

I see. So, in your opinion, there's no solution that can save me from downloading the entire archive only to find out that it's a fake? The abort will only help in the sense that I'll not need to go to the extracted folder only to find out its a fake. Right?

In my opinion, 80-90% of archives that have EXEs have not paused (meaning they had EXE in the last RAR file). This may be a silly question, but is there a way to download the last RAR file first?
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Unwanted Extensions showing in log, but not pausing

Post by sander »

it's my plan to exactly implement that ... :-)
aaloo
Newbie
Newbie
Posts: 4
Joined: August 19th, 2014, 8:35 pm

Re: Unwanted Extensions showing in log, but not pausing

Post by aaloo »

Awesome! Thanks, sander! Looking forward to the fix. I'll be more than happy to beta-test it for you.
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Unwanted Extensions showing in log, but not pausing

Post by sander »

aaloo wrote:This may be a silly question, but is there a way to download the last RAR file first?
FWIW: you can already also do this manually. While in the queue, click on the download, check the bottom rar, and then click on Top.

So maybe this is a workaround for you as long it's not implemented as an automagic feature.
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Unwanted Extensions showing in log, but not pausing

Post by sander »

Aaloo: I have the code working for "put last rar after the first rar in the queue". I can make it avaialbe on github as source code ... which is only useful for you if you use Linux. So ... on what platform do you run SABnzbd?
Post Reply