clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
674 stars 176 forks source link

OSX Sabnzbd app being cleaned up #347

Closed Tjiet closed 10 years ago

Tjiet commented 10 years ago

[20:30:17] [INFO]::MAIN: Loading config from [/Users/User/Documents/Sabnzbd/Scripts/autoProcessMedia.cfg] [20:30:17] [INFO]::MAIN: Checking database structure... [20:30:17] [INFO]::MAIN: Checking if git needs an update [20:30:20] [INFO]::MAIN: There is a newer version available (you're 3 commits behind) [20:30:20] [INFO]::MAIN: Auto-Updating nzbToMedia, Please wait ... [20:30:22] [INFO]::MAIN: Restarting nzbToMedia with ['/usr/bin/python', '/Users/User/Documents/Sabnzbd/Scripts/nzbToCouchPotato.py', '/Users/User/Downloads/_Temp/Movies/Soof (2013) - 1080p.cp(tt2542368)', 'Soof (2013) - 1080p.cp(tt2542368).nzb', 'Soof (2013) - 1080p.cp(tt2542368)', '', 'movies', 'alt.binaries.misc', '0'] [20:30:23] [INFO]::MAIN: Loading config from [/Users/User/Documents/Sabnzbd/Scripts/autoProcessMedia.cfg] [20:30:23] [INFO]::MAIN: Checking database structure... [20:30:23] [INFO]::MAIN: Checking if git needs an update [20:30:23] [INFO]::MAIN: No update needed [20:30:23] [INFO]::MAIN: nzbToMedia Version:4bd04436bc8c883dc93a4dd86ba497d0132e2f21 Branch:dev (Darwin 13.1.0) [20:30:23] [WARNING]::MAIN: Failed to locate ffmpeg, transcoding disabled! [20:30:23] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ... [20:30:23] [WARNING]::MAIN: Failed to locate ffprobe, video corruption detection disabled! [20:30:23] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ... [20:30:23] [INFO]::MAIN: ######################################################### [20:30:23] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ## [20:30:23] [INFO]::MAIN: ######################################################### [20:30:23] [INFO]::MAIN: Script triggered from SABnzbd [20:30:23] [INFO]::MAIN: Sending Soof (2013) - 1080p.cp(tt2542368).nzb to COUCHPOTATO for post-processing ... [20:30:23] [INFO]::MAIN: Attemping imdbID lookup for Soof (2013) - 1080p.cp(tt2542368).nzb [20:30:23] [INFO]::MAIN: Searching folder and file names for imdbID ... [20:30:23] [INFO]::MAIN: Found imdbID [tt2542368] [20:30:23] [POSTPROCESS]::COUCHPOTATO: Starting renamer scan for Soof (2013) - 1080p.cp(tt2542368).nzb [20:30:28] [POSTPROCESS]::COUCHPOTATO: SUCCESS: Finished renamer scan for folder /Users/User/Downloads/_Temp/Movies/Soof (2013) - 1080p.cp(tt2542368) [20:30:28] [POSTPROCESS]::COUCHPOTATO: Checking for status change, please stand by ... [20:30:28] [POSTPROCESS]::COUCHPOTATO: SUCCESS: Release Soof (2013) - 1080p.cp(tt2542368).nzb has now been marked with a status of [DOWNLOADED] [20:30:28] [INFO]::CLEANDIRS: Cleaning processing directories ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/osx has already been processed, removing ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/SABnzbd.app has already been processed, removing ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/lib still contains 1 unprocessed file(s), skipping ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/locale has already been processed, removing ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/MainMenu.nib has already been processed, removing ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/include has already been processed, removing ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/email has already been processed, removing ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/licenses has already been processed, removing ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/interfaces still contains 14 unprocessed file(s), skipping ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/FFmpeg still contains 19 unprocessed file(s), skipping ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/lib still contains 1 unprocessed file(s), skipping ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/interfaces still contains 14 unprocessed file(s), skipping ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/FFmpeg still contains 19 unprocessed file(s), skipping ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/lib still contains 1 unprocessed file(s), skipping ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/interfaces still contains 14 unprocessed file(s), skipping ... [20:30:29] [INFO]::CLEANDIRS: Directory /Applications/SABnzbd.app/Contents/Resources/FFmpeg still contains 19 unprocessed file(s), skipping ... [20:30:29] [INFO]::MAIN: The /Users/User/Documents/Sabnzbd/Scripts/nzbToCouchPotato.py script completed successfully.

Tjiet commented 10 years ago

Seems to work ;-( Error in sabnzbd gui

⋅ No PAR2 program found, repairs not possible

Tjiet commented 10 years ago

Reinstalled sabnzbd and works ok now, but this is a serious bug !

echel0n commented 10 years ago

This issue is resolved in the new release, please test and confirm

Tjiet commented 10 years ago

Not working unfortunately:

Traceback (most recent call last): File "/Users/User/Documents/Sabnzbd/Scripts/nzbToSickBeard.py", line 132, in result = nzbToMedia.main(sys.argv, section) File "/Users/User/Documents/Sabnzbd/Scripts/nzbToMedia.py", line 361, in main nzbtomedia.initialize(section) File "/Users/User/Documents/Sabnzbd/Scripts/nzbtomedia/init.py", line 337, in initialize SECTIONS = CFG[tuple(x for x in CFG if CFG[x].sections) if not section else (section,)] File "/Users/User/Documents/Sabnzbd/Scripts/nzbtomedia/nzbToMediaConfig.py", line 58, in getitem del to_return[section] File "/Users/User/Documents/Sabnzbd/Scripts/libs/configobj/configobj.py", line 629, in delitem dict. delitem(self, key) KeyError: 'loggers'

Tjiet commented 10 years ago

Latest dev:

19:26:35] [ERROR]::MAIN: Fatal error executing query: column input_name is not unique Traceback (most recent call last): File "/Users/User/Documents/Sabnzbd/Scripts/nzbToSickBeard.py", line 132, in result = nzbToMedia.main(sys.argv, section) File "/Users/User/Documents/Sabnzbd/Scripts/nzbToMedia.py", line 443, in main download_id='') File "/Users/User/Documents/Sabnzbd/Scripts/nzbToMedia.py", line 303, in process myDB.upsert("downloads", newValueDict, controlValueDict) File "/Users/User/Documents/Sabnzbd/Scripts/nzbtomedia/nzbToMediaDB.py", line 179, in upsert self.action(query, valueDict.values() + keyDict.values()) File "/Users/User/Documents/Sabnzbd/Scripts/nzbtomedia/nzbToMediaDB.py", line 137, in action sqlResult = self.connection.execute(query, args) sqlite3.IntegrityError: column input_name is not unique

Tjiet commented 10 years ago

Solved in DEV release ...