sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Get help with all aspects of 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.
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by Verband »

Hi,

i am running sabnzbd with the watched folder option. After some minutes, it simply doesnt do anything when i save an nzb into the watched folder. Manually trying to add them gives me this warning:
,171 WARNING [nzbstuff] Incorrect NZB file default.htm (trying anyway)
,171 ERROR [nzbstuff] Invalid NZB file default.htm, skipping

restarting the program solves it... for some tens of minutes.
I am using windows xp, the win32 version.

Thanks for help

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

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by shypike »

Which web browser do you use?
How exactly do you enter the NZB files "manually"?

You can send logging files and any suspected NZB files to bugs at sabnzbd.org
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by Verband »

Sry, added the rest from guidethread:

Skin : smpl
Firewall Software: None, i trust my router
Are you using IPV6? dunno
Is the issue reproducible? yes

Manually adding means to me going to the home tab of webinterface and browse for the file and then add it.
I realized that this method seems to work on firefox, but not on opera where i tried it first.
But still, no matter with what browser i save the nbz, it wont be recognized after some downloads (seems like time was not the one breaking it)

The logfiles + one sample nzb have been sent.

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

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by shypike »

From your logfile:
10:34:57,765::INFO::[sabnzbd] Adding default.htm
2008-09-26 10:34:57,765::WARNING::[nzbstuff] Incorrect NZB file default.htm (trying anyway)
2008-09-26 10:34:57,765::ERROR::[nzbstuff] Invalid NZB file default.htm, skipping
2008-09-26 10:35:03,125::INFO::[sabnzbd] Adding XXXXXX S01E07.nzb
Can you tell me what happened 6 seconds after the failed attempt?
At 13:34:57 a manual upload failed, but what caused the successful attempt at 10:35:03 to enter the XXXXXXX job?
(The log says something else than XXXXXXX obviously  ;)).

The attempted upload of default.htm looks like some mis-communication between the browser and SABnzbd,
but I have no idea what happened there.
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by Verband »

All successful attempts i have made after once the program bugged where with firefox adding the nbz via the home tab. But that only worked with firefox, not with opera.
Or i restarted the program, so it worked for some downloads again.
In this case i think i added via the hometab of the smpl skin
Last edited by Verband on September 26th, 2008, 6:36 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by shypike »

So, the uploads using the home page always work (at least using Firefox) ?
If so, then it looks like the watched-folder part crashes for some reason.
(Parts of SABnzbd can crash without affecting the rest of the functionality).

Could you try to set logging level to "Debug" (Connections page)?
What may be useful too is to use sabnzbd-console.exe instead of sabznbd.exe.
If the watched folder crashes you may be able to see on in the black console window
on which source code line it crashes.

Meanwhile I'll review the source code for potential crashes (usually related to
failing calls to the file system).
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by Verband »

You have got mail.
Ill look again what the console says right when the error starts to occur. Due to the browser updating i had a lot of spam in there.
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by Verband »

I reproduced the problem. No warning this time @ debug lvl
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by Verband »

Tried around a bit. When the problem occurs, saving  settings resolves it again somehow.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by shypike »

The console was a bit of a gamble, with an  active download you won't see anything. It will scroll away quickly.
Saving settings helps because it restarts most of the processes.
This makes it all the more likely that it's the watched folder scanner that crashes.

You'll only be able to see a relevant message on the console screen if you do not
download at the same time.

BTW, what's the interval that you set for the watched folder?

Unless you can actually see a crash on the console, you'll have to wait until I have
time to review the scanner code to see if we missed potential OS error handling.
A crash is recognizable by the keyword Traceback:

Code: Select all

Traceback (most recent call last):
Unfortunately these "Traceback"s are not logged in the log files.
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by Verband »

k, traceback. So i did it without downloading or anything. got a traceback. u have got mail
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by shypike »

Hey great! This will help locating the problem.

It's obvious that some failing OS call isn't handled properly by SABnzbd.
That can be fixed.

However, can you think of a reason that the NZB file is not accessible?
It looks like SABnzbd does not have access rights to the file.
Windows doesn't allow SABnzbd to look at the files attributes (size, date/time etc.).

How do you put the file in the Watched Folder?
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by Verband »

saving it with opera browser over the network. As said, a restart of the program or even just saving settings on sabnzbd makes it work again.
The Filesystem is NTFS.
I have no clue why it isnt working. I am not doing anything besides.
In the Folder configuration it says:

In "D:\" and i cant change that.

So i made absolute paths like E:\downloads\complete etc

dont know if that helps.
Forgot to give you an answer... 5 secs interval for the watched folder.
Last edited by Verband on September 26th, 2008, 9:53 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by shypike »

I found the problem in the code and it will be fixed in release 0.4.5.
However it cannot solve the reason access is refused.
It is possible that it's just a timing issue, in the sense that the browser is writing the file
while SABnzbd tries to read it. Opera may be using different file locking then (say) Firefox.

In that case SABnzbd 0.4.5 will just ignore the file and try it again in each following
scan until Opera leaves the file alone.

You can subscribe as release tester  ;D
In the Folder configuration it says:
In "D:" and i cant change that.
What can't you change and why?
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Re: sabnzbd 0.4.4 wont recognize nzb files after some minutes of running

Post by Verband »

Third Line... not really a problem, but was a bit annoying at the beginning. smpl skin

Image

Thanks 4 fixing ;)
Post Reply