0.6.9 Category resets to default

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
looseruser
Newbie
Newbie
Posts: 41
Joined: April 12th, 2010, 12:17 pm

0.6.9 Category resets to default

Post by looseruser »

Windows 7 SP1 x64
I did not find any obvious cause (what causes the reset), but it happens every now and then - and it is becoming very annoying.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.9 Category resets to default

Post by shypike »

Only the categories, nothing else?
Any info about circumstances?
I have never seen it happen despite all my mistreatment of SABnzbd.
looseruser
Newbie
Newbie
Posts: 41
Joined: April 12th, 2010, 12:17 pm

Re: 0.6.9 Category resets to default

Post by looseruser »

Yes, only the catergories (well, I do not use anything else).
The only thing I do is add new nzb files and change the category after adding them.
Might be related to shutdown though.
Thank you for checking.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.9 Category resets to default

Post by shypike »

It is important to shutdown SABnzbd properly, although I've yet to see it
being damaged by a improper shutdown.
Do you use any third-party utilities that support SABnzbd?
looseruser
Newbie
Newbie
Posts: 41
Joined: April 12th, 2010, 12:17 pm

Re: 0.6.9 Category resets to default

Post by looseruser »

I expect a proper shutdown when I shut windows down - am I supposed to shut it down manually, beforehand?
No, I do not use third party tools.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.9 Category resets to default

Post by shypike »

The problem is that Windows is much to impatient.
When exiting, SABnzbd will try to dump its article cache to disk, which takes time.
Which it doesn't necessarily get from Windows.
This is only an issue during active download.
When SABnzbd is passive, it shouldn't be a problem.

Moreover, the state of the sabnzbd.ini file should not be an issue at all, because
it's only saved at the moment you change something in the configuration.
It's never saved on exit.
The short of it: I don't know how this happens, but I would strongly suspect an outside influence.
Maybe a debug log of SABnzbd, saved just after the last time it lost its categories, can be helpful.
But then you would have run in debug-log mode (Status page) all the time and check the config each time you start.
looseruser
Newbie
Newbie
Posts: 41
Joined: April 12th, 2010, 12:17 pm

Re: 0.6.9 Category resets to default

Post by looseruser »

shypike wrote:When exiting, SABnzbd will try to dump its article cache to disk, which takes time.
I have an SSD drive, so that should not be an issue. Sab gets a shutdown signal from Windows like any other app and then it has 10-20 secs or so.
shypike wrote:But then you would have run in debug-log mode (Status page) all the time and check the config each time you start.
Yes, this is the tough part. Catching sab in the act.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.9 Category resets to default

Post by shypike »

It's not likely to be the shutdown.
The INI file isn't touched at shutdown time.
As for the other side-effects, 0.6.9 is quite robust regarding unpleasant stops.
looseruser
Newbie
Newbie
Posts: 41
Joined: April 12th, 2010, 12:17 pm

Re: 0.6.9 Category resets to default

Post by looseruser »

I can tell it never stops other than shutdown (starts with the PC and shuts down with it).
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.9 Category resets to default

Post by shypike »

I cannot think of any scenario that would damage (especially selectively) the INI file.
Without a specific scenario, I don't have a clue what to look for.
looseruser
Newbie
Newbie
Posts: 41
Joined: April 12th, 2010, 12:17 pm

Re: 0.6.9 Category resets to default

Post by looseruser »

I managed to catch Sab in the act.
The assigned priorities revert to 'Default', too, not only the categories.
I emailed you the log file, hope it helps.
Thank you.
Post Reply