Rating.sab error on start-up

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.
Locked
kylemw
Newbie
Newbie
Posts: 6
Joined: March 7th, 2016, 12:13 pm

Rating.sab error on start-up

Post by kylemw »

SABnzbd_ 1.0.0RC4 downloaded 7 Mar 2016

Error also noted in RC3

SABnzbd+ is reporting an error with "Rating.sab" on start-up. This error does not seem to have any affect on other operations and RC3 and RC4 have otherwise performed superbly.

Thank you for a fine system!

Kyle

MacOS 10.11.3 El Capitan
Mac Mini (Late 2012)

Log sequence is RC3 being shutdown at logoff and RC4 starting at login:


2016-03-07 09:51:54,930::INFO::[osxmenu:774] [osx] application terminating
2016-03-07 09:51:54,955::INFO::[osxmenu:778] [osx] application stopping daemon
2016-03-07 09:51:54,955::INFO::[__init__:385] SABnzbd shutting down...
2016-03-07 09:51:54,955::INFO::[urlgrabber:64] URLGrabber shutting down
2016-03-07 09:51:55,982::INFO::[__init__:941] Saving data for watched_data2.sab in /Users/kyle/Library/Application Support/SABnzbd/admin/watched_data2.sab
2016-03-07 09:51:56,131::INFO::[dirscanner:293] Dirscanner shutting down
2016-03-07 09:52:07,466::INFO::[downloader:465] Shutting down
2016-03-07 09:52:07,467::INFO::[assembler:73] Shutting down
2016-03-07 09:52:07,468::INFO::[postproc:83] Saving postproc queue
2016-03-07 09:52:07,468::INFO::[__init__:941] Saving data for postproc2.sab in /Users/kyle/Library/Application Support/SABnzbd/admin/postproc2.sab
2016-03-07 09:52:07,468::INFO::[nzbqueue:250] Saving queue
2016-03-07 09:52:07,469::INFO::[__init__:941] Saving data for queue10.sab in /Users/kyle/Library/Application Support/SABnzbd/admin/queue10.sab
2016-03-07 09:52:07,469::INFO::[__init__:941] Saving data for totals10.sab in /Users/kyle/Library/Application Support/SABnzbd/admin/totals10.sab
2016-03-07 09:52:07,469::INFO::[__init__:941] Saving data for rss_data.sab in /Users/kyle/Library/Application Support/SABnzbd/admin/rss_data.sab
2016-03-07 09:52:07,470::INFO::[__init__:941] Saving data for watched_data2.sab in /Users/kyle/Library/Application Support/SABnzbd/admin/watched_data2.sab
2016-03-07 09:52:07,470::INFO::[postproc:83] Saving postproc queue
2016-03-07 09:52:07,470::INFO::[__init__:941] Saving data for postproc2.sab in /Users/kyle/Library/Application Support/SABnzbd/admin/postproc2.sab
2016-03-07 09:52:07,470::INFO::[__init__:443] All processes stopped
2016-03-07 09:52:07,471::INFO::[_cplogging:216] [07/Mar/2016:09:52:07] ENGINE Bus STOPPING
2016-03-07 09:52:07,535::INFO::[_cplogging:216] [07/Mar/2016:09:52:07] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8085)) shut down
2016-03-07 09:52:07,536::INFO::[_cplogging:216] [07/Mar/2016:09:52:07] ENGINE Stopped thread '_TimeoutMonitor'.
2016-03-07 09:52:07,536::INFO::[_cplogging:216] [07/Mar/2016:09:52:07] ENGINE Bus STOPPED
2016-03-07 09:52:07,536::INFO::[_cplogging:216] [07/Mar/2016:09:52:07] ENGINE Bus EXITING
2016-03-07 09:52:07,536::INFO::[_cplogging:216] [07/Mar/2016:09:52:07] ENGINE Bus EXITED
2016-03-07 09:52:07,536::INFO::[osxmenu:787] Leaving SABnzbd
2016-03-07 09:56:55,151::INFO::[SABnzbd:1236] Console logging for OSX App disabled
2016-03-07 09:56:55,152::INFO::[SABnzbd:1243] --------------------------------
2016-03-07 09:56:55,152::INFO::[SABnzbd:1244] SABnzbd.py-1.0.0RC4 (rev=1ba99769794134b18c8416631d51283ac4409b88)
2016-03-07 09:56:55,152::INFO::[SABnzbd:1245] Full executable path = /Applications/SABnzbd.app/Contents/MacOS/SABnzbd
2016-03-07 09:56:55,153::INFO::[SABnzbd:1257] Platform = posix
2016-03-07 09:56:55,153::INFO::[SABnzbd:1258] Python-version = 2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]
2016-03-07 09:56:55,153::INFO::[SABnzbd:1259] Arguments = /Applications/SABnzbd.app/Contents/Resources/SABnzbd.py
2016-03-07 09:56:55,153::INFO::[SABnzbd:1295] [osx] IO priority setting
2016-03-07 09:56:55,154::INFO::[SABnzbd:1300] [osx] IO priority set to throttle for process scope
2016-03-07 09:56:55,154::INFO::[SABnzbd:1304] Read INI file /Users/kyle/Library/Application Support/SABnzbd/sabnzbd.ini
2016-03-07 09:56:55,280::INFO::[__init__:965] Loading data for rss_data.sab from /Users/kyle/Library/Application Support/SABnzbd/admin/rss_data.sab
2016-03-07 09:56:55,281::INFO::[__init__:965] Loading data for totals10.sab from /Users/kyle/Library/Application Support/SABnzbd/admin/totals10.sab
2016-03-07 09:56:55,282::INFO::[postproc:89] Loading postproc queue
2016-03-07 09:56:55,282::INFO::[__init__:965] Loading data for postproc2.sab from /Users/kyle/Library/Application Support/SABnzbd/admin/postproc2.sab
2016-03-07 09:56:55,282::INFO::[__init__:965] Loading data for queue10.sab from /Users/kyle/Library/Application Support/SABnzbd/admin/queue10.sab
2016-03-07 09:56:55,283::INFO::[__init__:965] Loading data for watched_data2.sab from /Users/kyle/Library/Application Support/SABnzbd/admin/watched_data2.sab
2016-03-07 09:56:55,284::INFO::[__init__:965] Loading data for Rating.sab from /Users/kyle/Library/Application Support/SABnzbd/admin/Rating.sab
2016-03-07 09:56:59,301::ERROR::[__init__:983] Loading /Users/kyle/Library/Application Support/SABnzbd/admin/Rating.sab failed with error <type 'exceptions.EOFError'>
2016-03-07 09:56:59,301::INFO::[__init__:984] Traceback:
Traceback (most recent call last):
File "sabnzbd/__init__.pyc", line 974, in load_admin
EOFError
2016-03-07 09:56:59,302::INFO::[scheduler:186] Setting schedule for quota check daily at 0:0
2016-03-07 09:56:59,302::INFO::[scheduler:190] Setting schedule for midnight BPS reset
2016-03-07 09:56:59,303::INFO::[downloader:241] Resuming
2016-03-07 09:56:59,303::INFO::[__init__:349] All processes started
2016-03-07 09:56:59,303::INFO::[SABnzbd:355] Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Plush
2016-03-07 09:56:59,303::INFO::[SABnzbd:355] Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Config
2016-03-07 09:56:59,956::INFO::[SABnzbd:483] _yenc module... found!
2016-03-07 09:56:59,956::INFO::[SABnzbd:491] par2 binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/par2/par2-sl64)
2016-03-07 09:56:59,956::INFO::[SABnzbd:496] par2-classic binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/par2/par2-classic)
2016-03-07 09:56:59,956::INFO::[SABnzbd:499] UNRAR binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/unrar/unrar)
2016-03-07 09:56:59,957::INFO::[SABnzbd:505] unzip binary... found (/usr/bin/unzip)
2016-03-07 09:56:59,957::INFO::[SABnzbd:511] 7za binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/7zip/7za)
2016-03-07 09:56:59,957::INFO::[SABnzbd:518] nice binary... found (/usr/bin/nice)
2016-03-07 09:56:59,957::INFO::[SABnzbd:524] ionice binary... NOT found!
2016-03-07 09:56:59,957::INFO::[SABnzbd:527] pyOpenSSL... found (True)
2016-03-07 09:56:59,958::INFO::[SABnzbd:1367] SSL version OpenSSL 0.9.8zg 14 July 2015
2016-03-07 09:56:59,958::INFO::[SABnzbd:1368] pyOpenSSL version 0.13.1
2016-03-07 09:56:59,958::INFO::[SABnzbd:1369] SSL potentially supported protocols ['SSLv2', 'SSLv23', 'SSLv3', 'TLSv1']
2016-03-07 09:56:59,958::INFO::[SABnzbd:1370] SSL actually supported protocols ['t1', 'v23', 'v3', 'v2']
2016-03-07 09:56:59,960::INFO::[SABnzbd:1516] Starting web-interface on 127.0.0.1:8085
2016-03-07 09:56:59,963::INFO::[_cplogging:216] [07/Mar/2016:09:56:59] ENGINE Bus STARTING
2016-03-07 09:56:59,965::INFO::[_cplogging:216] [07/Mar/2016:09:56:59] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-03-07 09:57:00,069::INFO::[_cplogging:216] [07/Mar/2016:09:57:00] ENGINE Serving on http://127.0.0.1:8085
2016-03-07 09:57:00,070::INFO::[_cplogging:216] [07/Mar/2016:09:57:00] ENGINE Bus STARTED
2016-03-07 09:57:00,070::INFO::[zconfig:77] Bonjour/ZeroConfig does not support "localhost"
2016-03-07 09:57:02,455::INFO::[SABnzbd:1588] Starting SABnzbd.py-1.0.0RC4
2016-03-07 09:57:02,456::INFO::[dirscanner:302] Dirscanner starting up
2016-03-07 09:57:02,457::INFO::[urlgrabber:69] URLGrabber starting up
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Rating.sab error on start-up

Post by sander »

You probably have seen https://forums.sabnzbd.org/viewtopic.php?t=17844 ?

First of all: Do you use OZnzb rating at all? If not, I would remove the file. The ERROR will go away, and you will get an INFO message. Problem gone... ;)

Long:

I checked my log, and it says this:

Code: Select all

2016-03-07 19:27:38,208::INFO::[__init__:943] Loading data for Rating.sab from /home/sander/.sabnzbd/admin/Rating.sab
2016-03-07 19:27:38,208::INFO::[__init__:946] /home/sander/.sabnzbd/admin/Rating.sab missing, trying old cache
2016-03-07 19:27:38,209::INFO::[__init__:949] /home/sander/.sabnzbd/cache/Rating.sab missing

sander@streamer1504:~$ ll /home/sander/.sabnzbd/admin/Rating.sab 
ls: cannot access /home/sander/.sabnzbd/admin/Rating.sab: No such file or directory
So I did a

Code: Select all

touch /home/sander/.sabnzbd/admin/Rating.sab
hoping the INFO message would go away, but now I (with RC4) get exactly your ERROR:

Code: Select all

2016-03-07 19:47:02,706::ERROR::[__init__:983] Loading /home/sander/.sabnzbd/admin/Rating.sab failed with error <type 'exceptions.EOFError'>
2016-03-07 19:47:02,706::INFO::[__init__:984] Traceback: 
Traceback (most recent call last):
  File "/home/sander/sab-1.0.0-rc4/SABnzbd-1.0.0RC4/sabnzbd/__init__.py", line 974, in load_admin
    data = cPickle.load(f)
EOFError
Ouch. I removed the dummy /home/sander/.sabnzbd/admin/Rating.sab again; I prefer an INFO message above an ERROR message.

So: what is the size of your Rating.sab file?
kylemw
Newbie
Newbie
Posts: 6
Joined: March 7th, 2016, 12:13 pm

Re: Rating.sab error on start-up

Post by kylemw »

Ah Hah!

Thanks for the clues!

I do not, currently, have OZnzb integration turned on. But I did have it on back in the 0.7.20 version, for a while, which is why the Rating.sab file existed.

I went into ~/Library/Application Support/SABnzbd/admin and removed the Rating.sab file (114KB by the way).

I then went into SABnzdb+ Config -> Switches -> Indexing and turned Integration on, just to see if it would create a new Rating.sab file that would not create the error. Did a restart of SABnzbd+ and the file was recreated and the error was still there. Back into the config, turn OZnzb integration off, then remove the Rating.sab file and did another restart of SABnzbd+ and "poof" no error reported and no Rating.sab file

So;
1. turn the OZnzb integration on (and SAVE) and restart SABnzbd+ - that will force an update of the config file
2. Turn off the OZnzb integration (and SAVE) and remove the Rating.sab file, THEN restart SABnzbd+ again which will then load without the OZnzb integration turned on and won't look for the Rating.sab file thus not generating any INFO's or ERROR's!

I think that should do it, probably, maybe... if you hold your tongue just right... ;)


Kyle
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Rating.sab error on start-up

Post by sander »

Turn off the OZnzb integration (and SAVE) and remove the Rating.sab file, THEN restart SABnzbd+ again which will then load without the OZnzb integration turned on and won't look for the Rating.sab file thus not generating any INFO's or ERROR's!
Interesting. However, I tried that, and still get the warning:

Code: Select all

$ cat ~/.sabnzbd/sabnzbd.ini | grep -i rating
rating_filter_enable = 0
rating_enable = 0
rating_feedback = 0

Code: Select all

2016-03-07 23:27:00,449::INFO::[__init__:965] Loading data for Rating.sab from /home/sander/.sabnzbd/admin/Rating.sab
2016-03-07 23:27:00,449::INFO::[__init__:968] /home/sander/.sabnzbd/admin/Rating.sab missing
Strange.

EDIT:

I created a fresh sabnzbd.ini file, and ... no INFO message anymore. :)

So ... the cause must indeed be in the SAB settings and thus the sabnzbd.ini file. A pity I can't find it like you did.
kylemw
Newbie
Newbie
Posts: 6
Joined: March 7th, 2016, 12:13 pm

Re: Rating.sab error on start-up

Post by kylemw »

I suspect it's in the differences on how things are done on MacOS X vs Linux. On MacOS X I don't have a hidden directory in my home space (~/.sabnzbd), everything is stored in "~/Library/Application Support/SABnzbd". So there may be other, subtle, differences in how things are accomplished between OS's.

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

Re: Rating.sab error on start-up

Post by shypike »

SABnzbd is a bit wordy in its report about Rating.sab,
it will just disable the Rating support.
There is actually a problem with the file and that's why it is reporting it as an error.

I will change the code so that no error will be reported when the "Rating" feature is disabled.
Snafu84
Newbie
Newbie
Posts: 1
Joined: September 12th, 2020, 10:51 am

Re: Rating.sab error on start-up

Post by Snafu84 »

Hey guys same problem here.

how i can disable this error message.

volume1/@appstore/sabnzbd/var/admin/watched_data2.sab
volume1/@appstore/sabnzbd/var/admin/watched_data2.sab
volume1/@appstore/sabnzbd/var/admin/watched_data2.sab
volume1/@appstore/sabnzbd/var/admin/watched_data2.sab
volume1/@appstore/sabnzbd/var/admin/watched_data2.sab
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Rating.sab error on start-up

Post by safihre »

Please create a new post and don't hijack a 4 year old post.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Locked