Closed anonvoy closed 4 years ago
Oh, and also: The built-in script Deobfuscate.py initially won't run anymore after going back to the older commit because the execute bit is not set. After setting that bit manually it works now.
looks to be fallout of rating attributes code update where 'NzbRatingV2' is no more https://github.com/sabnzbd/sabnzbd/commit/2c2642a92ae5198bf710fcb707b76d9b7498f11b#
and i can confirm exec bit isnt set in git for Deobfuscate.py
sabnzbd-dev\scripts>git ls-files -s .
100644 7f372b6863572fb6f3a00ebdcb8e3b8ef8191fe7 0 Deobfuscate.py
100644 e5b06e4ba88dccdf71f99864dfdf656b87db7a20 0 Sample-PostProc.cmd
100755 a0778caafd265f976893ecb1cd84169dc9bf53df 0 Sample-PostProc.py
100755 b9b71f65e7fe460d32da88f2704ec7ca43900f81 0 Sample-PostProc.sh
I get this one with SABnzbd.py-3.2.0-develop
2020-09-27 05:50:22,301::DEBUG::[__init__:983] [sabnzbd.rating.__init__] Loading data for Rating.sab
2020-09-27 05:50:22,301::INFO::[__init__:938] [sabnzbd.load_admin] /home/sander/.sabnzbd/admin/Rating.sab missing
2020-09-27 05:50:22,301::INFO::[rating:115] Corrupt Rating.sab file, discarding
2020-09-27 05:50:22,301::INFO::[rating:116] Traceback:
Traceback (most recent call last):
File "/home/sander/git/sabnzbd/sabnzbd/rating.py", line 113, in __init__
self.version, self.ratings, self.nzo_indexer_map = sabnzbd.load_admin(RATING_FILE_NAME)
TypeError: cannot unpack non-iterable NoneType object
The INFO warnings are fine. Indeed we need NzbRatingV2
.
The built-in script Deobfuscate.py initially won't run anymore after going back
deobfuscate is now built in into SABnzbd: see http://127.0.0.1:8080/sabnzbd/config/switches/#deobfuscate_final_filenames
I'm running the develop version of sabnzbd (currently 3.2.0) from source on Linux (OpenSuse Leap 15.1).
When updating to the latest commit, sabnzbd won't start any more. When going back several commits, it will start again.
From file sabnzbd.log after having updated to the currently latest commit (https://github.com/sabnzbd/sabnzbd/commit/d75f1ed966b3b03dd4a77e8800bbd4b551a51132) and trying to start sabnzbd:
From file sabnzbd.error.log after having updated to the currently latest commit and trying to start sabnzbd:
From file sabnzbd.log after executing "git reset --hard 730d7179368ae96778d7fea2faf3cc6b99f7301a", successfully starting sabnzbd 3.2.0 and shutting it down again: