Rating.sab failed to load?

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.
Post Reply
User avatar
Davoodoo
Newbie
Newbie
Posts: 13
Joined: August 4th, 2014, 12:03 pm

Rating.sab failed to load?

Post by Davoodoo »

Below is an extract from my log file. I keep getting an error that Rating.sab failed to load. How can I fix this error? ???

Code: Select all

2014-08-04 18:53:33,325::INFO::[__init__:941] Loading data for Rating.sab from C:\Users\Voodoo\AppData\Local\sabnzbd\admin\Rating.sab
2014-08-04 18:53:33,338::ERROR::[__init__:962] Loading C:\Users\Voodoo\AppData\Local\sabnzbd\admin\Rating.sab failed
2014-08-04 18:53:33,338::INFO::[__init__:963] Traceback: 
Traceback (most recent call last):
  File "sabnzbd\__init__.pyo", line 954, in load_admin
EOFError
Cheerz
DaVoodoo
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Rating.sab failed to load?

Post by sander »

Does it cause any real problems (other than the logging)?

I seem to have about the same logging:

Code: Select all

2014-08-03 10:23:48,960::INFO::[__init__:941] Loading data for Rating.sab from /home/sander/.sabnzbd/admin/Rating.sab
2014-08-03 10:23:48,960::INFO::[__init__:944] /home/sander/.sabnzbd/admin/Rating.sab missing, trying old cache
2014-08-03 10:23:48,961::INFO::[__init__:947] /home/sander/.sabnzbd/cache/Rating.sab missing
Files don't exist on my system:

Code: Select all

sander@flappie:~$ ll /home/sander/.sabnzbd/admin/Rating.sab
ls: cannot access /home/sander/.sabnzbd/admin/Rating.sab: No such file or directory
sander@flappie:~$ ll /home/sander/.sabnzbd/cache/Rating.sab
ls: cannot access /home/sander/.sabnzbd/cache/Rating.sab: No such file or directory
sander@flappie:~$

Code: Select all

sander@flappie:~/git/sabnzbd$ grep -ir Rating.sab *
sabnzbd/rating.py:            (self.version, self.ratings, self.nzo_indexer_map) = sabnzbd.load_admin("Rating.sab")
sabnzbd/rating.py:            sabnzbd.save_admin((self.version, self.ratings, self.nzo_indexer_map), "Rating.sab")
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Rating.sab failed to load?

Post by sander »

This won't help you much, but:

after configuring the OZnzb rating system in SAB, and sending a rating back to OZnzb, there is a file /home/sander/.sabnzbd/admin/Rating.sab

Code: Select all

$ ll /home/sander/.sabnzbd/admin/Rating.sab
-rw-rw-r-- 1 sander sander 332 aug  4 20:05 /home/sander/.sabnzbd/admin/Rating.sab
... and the error message is gone:

Code: Select all

2014-08-04 20:04:41,031::DEBUG::[rating:215] Updating indexer rating (358a9dcvblablae1e6540eblablaf1)
2014-08-04 20:05:34,583::INFO::[__init__:917] Saving data for Rating.sab in /home/sander/.sabnzbd/admin/Rating.sab
2014-08-04 20:05:38,148::INFO::[__init__:941] Loading data for Rating.sab from /home/sander/.sabnzbd/admin/Rating.sab
So this feels like a bug: SAB tries to read the OZnzb rating file when it doesn't exist.
Post Reply