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

ERROR MAIN: Something failed! Please check logs. Exiting #205

Closed ghost closed 10 years ago

ghost commented 11 years ago

Hi,

I keep getting "ERROR MAIN: Something failed! Please check logs. Exiting" when i have finished a downloading of a tv show, that i try to process to Sickbeard.

10:38:07|INFO FLATTEN: Flattening directory: D:\TMP\tv\XXXXX 10:38:07|INFO REMOVER: Removing empty folders in: D:\TMP\tv\XXXXX 10:38:07|ERROR MAIN: Something failed! Please check logs. Exiting

Any suggestions would be welcome :)

//TjaLfE

clinton-hall commented 11 years ago

I believe the category that was used for this download doesn't match the autoProcessMedia.cfg [SickBeard] sbCategory.

can you post the autoprocessmedia.cfg contents (specifically the [SickBeard] and [Torrent] sections? can you post the (full) debug log that was generated in postprocess.log in the same folder as TorrentToMedia?

ghost commented 11 years ago

Here is the debug log: 11:04:04|INFO ==================== 11:04:04|INFO TorrentToMedia V8.5 11:04:04|INFO MAIN: Loading config from C:\Users\Administrator\Documents\GitHub\nzbToMedia\autoProcessMedia.cfg 11:04:04|DEBUG arg 0 is: C:\Users\Administrator\Documents\GitHub\nzbToMedia\TorrentToMedia.exe 11:04:04|DEBUG arg 1 is: D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV 11:04:04|DEBUG arg 2 is: Top_Gear.19x04.720p_HDTV_x264-FoV 11:04:04|DEBUG arg 3 is: tv 11:04:04|DEBUG arg 4 is: 09F7CC3D6624F5CE554539C0161B5F47AB10908F 11:04:04|DEBUG MAIN: Received Directory: D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV | Name: Top_Gear.19x04.720p_HDTV_x264-FoV | Category: tv 11:04:04|INFO SEARCH: Files appear to be in their own directory 11:04:04|INFO MAIN: Download is a directory 11:04:04|DEBUG MAIN: Scanning files in directory: D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV 11:04:04|INFO MAIN: Found metadata file .nfo for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.nfo 11:04:04|INFO CREATE DESTINATION: Creating destination folder: D:\TMP\tv\Top_Gear.19x04.720p_HDTV_x264-FoV 11:04:04|DEBUG Copying D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.nfo to D:\TMP\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.nfo 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r00 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r00 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r01 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r01 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r02 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r02 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r03 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r03 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r04 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r04 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r05 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r05 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r06 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r06 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r07 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r07 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r08 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r08 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r09 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r09 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r10 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r10 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r11 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r11 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r12 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r12 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r13 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r13 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r14 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r14 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r15 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r15 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r16 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r16 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r17 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r17 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r18 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r18 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r19 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r19 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r20 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r20 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r21 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r21 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r22 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r22 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r23 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r23 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r24 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r24 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r25 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r25 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r26 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r26 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r27 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r27 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r28 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r28 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r29 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r29 11:04:04|DEBUG MAIN: Ignoring unknown filetype .r30 for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.r30 11:04:04|INFO MAIN: Found compressed archive .rar for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.rar 11:04:04|INFO Extracting D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.rar to D:\TMP\tv\Top_Gear.19x04.720p_HDTV_x264-FoV 11:04:04|DEBUG Extracting ['C:\Users\Administrator\Documents\GitHub\nzbToMedia\extractor\bin\chp.exe', 'C:\Users\Administrator\Documents\GitHub\nzbToMedia\extractor\bin\x64\7z.exe', 'x', '-y'] D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.rar D:\TMP\tv\Top_Gear.19x04.720p_HDTV_x264-FoV 11:04:04|INFO EXTRACTOR: Extraction was successful for D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.rar to D:\TMP\tv\Top_Gear.19x04.720p_HDTV_x264-FoV 11:04:04|DEBUG MAIN: Ignoring unknown filetype .sfv for file D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.sfv 11:04:04|INFO MAIN: Ignoring sample file: D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\Sample\top_gear.19x04.720p_hdtv_x264-sample-fov.mkv
11:04:04|INFO FLATTEN: Flattening directory: D:\TMP\tv\Top_Gear.19x04.720p_HDTV_x264-FoV 11:04:04|INFO REMOVER: Removing empty folders in: D:\TMP\tv\Top_Gear.19x04.720p_HDTV_x264-FoV 11:04:04|ERROR MAIN: Something failed! Please check logs. Exiting

And here comes the config: [SickBeard]

autoProcessing for TV Series

sbCategory - category that gets called for post-processing with SB

sbCategory = tv host = localhost port = 8081 username = xxxx password = xxxx

ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING

web_root = ssl = 1 delay = 0 watch_dir = failed_fork = 0 delete_failed = 0

[Torrent]

clientAgent - Supported clients: utorrent, transmission, deluge, other

clientAgent = utorrent

useLink - Set to hard for physical links, sym for symbolic links, move to move, and no to not use links (copy)

useLink = no

outputDirectory - Default output directory (categories will be appended as sub directory to outputDirectory)

outputDirectory = D:\TMP

Other categories/labels defined for your downloader. Does not include CouchPotato, SickBeard, HeadPhones, Mylar categories.

categories = music_videos,pictures,software

uTorrent Hardlink solution (You must edit this if your using TorrentToMedia.py with uTorrent)

uTorrentWEBui = http://localhost:3456/gui/ uTorrentUSR = XXXX uTorrentPWD = XXXX

Transmission (You must edit this if your using TorrentToMedia.py with uTorrent)

TransmissionHost = localhost TransmissionPort = 8084 TransmissionUSR = your username TransmissionPWD = your password

ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING

deleteOriginal = 0

clinton-hall commented 11 years ago

ok... personally I would set uselink = hard as this wont use as much hard drive space and will still allow you to seed.

Can you confirm what files are present in D:\TMP\tv\Top_Gear.19x04.720p_HDTV_x264-FoV ? from what I see the script never finds any video files... If there are no video files, could you manually extract D:\utorrent\completed\tv\Top_Gear.19x04.720p_HDTV_x264-FoV\top_gear.19x04.720p_hdtv_x264-fov.rar and list the contents here?

ghost commented 11 years ago

D:\TMP\tv\Top_Gear.19x04.720p_HDTV_x264-FoV contains two files, a mkv and nfo file with the same name as the folder.

Manual extraction also results in a mkv file inside the rar file

ghost commented 11 years ago

uselink = hard gives me:

12:35:54|INFO ==================== 12:35:54|INFO TorrentToMedia V8.5 12:35:54|INFO MAIN: Loading config from C:\Users\Administrator\Documents\GitHub\nzbToMedia\autoProcessMedia.cfg 12:35:54|DEBUG arg 0 is: C:\Users\Administrator\Documents\GitHub\nzbToMedia\TorrentToMedia.exe 12:35:54|DEBUG arg 1 is: D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV 12:35:54|DEBUG arg 2 is: Top_Gear.20x06.720p_HDTV_x264-FoV 12:35:54|DEBUG arg 3 is: tv 12:35:54|DEBUG arg 4 is: 1B8D075984079EA7583086C3B3DD881675396036 12:35:54|DEBUG MAIN: Received Directory: D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV | Name: Top_Gear.20x06.720p_HDTV_x264-FoV | Category: tv 12:35:54|INFO SEARCH: Files appear to be in their own directory 12:35:54|INFO MAIN: Download is a directory 12:35:54|DEBUG MAIN: Scanning files in directory: D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV 12:35:54|INFO MAIN: Found metadata file .nfo for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.nfo 12:35:54|INFO CREATE DESTINATION: Creating destination folder: D:\TMP\tv\Top_Gear.20x06.720p_HDTV_x264-FoV 12:35:54|INFO COPYLINK: Hard linking D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.nfo to D:\TMP\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.nfo 12:35:54|ERROR COPYLINK Traceback (most recent call last): File "C:\Users\clinton.hall\Desktop\pyinstaller-2.0\TorrentToMedia\build\pyi.win32\TorrentToMedia\out00-PYZ.pyz\autoProcess.nzbToMediaUtil", line 160, in copy_link File "C:\Users\clinton.hall\Desktop\pyinstaller-2.0\TorrentToMedia\build\pyi.win32\TorrentToMedia\out00-PYZ.pyz\linktastic.linktastic", line 66, in link File "C:\Users\clinton.hall\Desktop\pyinstaller-2.0\TorrentToMedia\build\pyi.win32\TorrentToMedia\out00-PYZ.pyz\linktastic.linktastic", line 39, in _link_windows File "C:\Users\clinton.hall\Desktop\pyinstaller-2.0\TorrentToMedia\build\pyi.win32\TorrentToMedia\out00-PYZ.pyz\subprocess", line 537, in check_output File "C:\Users\clinton.hall\Desktop\pyinstaller-2.0\TorrentToMedia\build\pyi.win32\TorrentToMedia\out00-PYZ.pyz\subprocess", line 672, in init File "C:\Users\clinton.hall\Desktop\pyinstaller-2.0\TorrentToMedia\build\pyi.win32\TorrentToMedia\out00-PYZ.pyz\subprocess", line 777, in _get_handles WindowsError: [Error 6] The handle is invalid 12:35:54|WARNING COPYLINK: Something went wrong in linktastic.link, copying instead 12:35:54|DEBUG COPYLINK: Copying D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.nfo to D:\TMP\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.nfo 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r00 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r00 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r01 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r01 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r02 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r02 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r03 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r03 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r04 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r04 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r05 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r05 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r06 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r06 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r07 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r07 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r08 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r08 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r09 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r09 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r10 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r10 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r11 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r11 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r12 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r12 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r13 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r13 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r14 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r14 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r15 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r15 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r16 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r16 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r17 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r17 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r18 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r18 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r19 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r19 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r20 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r20 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r21 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r21 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r22 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r22 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r23 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r23 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r24 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r24 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r25 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r25 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r26 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r26 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r27 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r27 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r28 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r28 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r29 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r29 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r30 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r30 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r31 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r31 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r32 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r32 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r33 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r33 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r34 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r34 12:35:54|DEBUG MAIN: Ignoring unknown filetype .r35 for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.r35 12:35:54|INFO MAIN: Found compressed archive .rar for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.rar 12:35:54|INFO Extracting D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.rar to D:\TMP\tv\Top_Gear.20x06.720p_HDTV_x264-FoV 12:35:54|DEBUG Extracting ['C:\Users\Administrator\Documents\GitHub\nzbToMedia\extractor\bin\chp.exe', 'C:\Users\Administrator\Documents\GitHub\nzbToMedia\extractor\bin\x64\7z.exe', 'x', '-y'] D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.rar D:\TMP\tv\Top_Gear.20x06.720p_HDTV_x264-FoV 12:35:54|INFO EXTRACTOR: Extraction was successful for D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.rar to D:\TMP\tv\Top_Gear.20x06.720p_HDTV_x264-FoV 12:35:54|DEBUG MAIN: Ignoring unknown filetype .sfv for file D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\top_gear.20x06.720p_hdtv_x264-fov.sfv 12:35:54|INFO MAIN: Ignoring sample file: D:\utorrent\completed\tv\Top_Gear.20x06.720p_HDTV_x264-FoV\Sample\top_gear.20x06.720p_hdtv_x264-sample-fov.mkv
12:35:54|INFO FLATTEN: Flattening directory: D:\TMP\tv\Top_Gear.20x06.720p_HDTV_x264-FoV 12:35:54|INFO REMOVER: Removing empty folders in: D:\TMP\tv\Top_Gear.20x06.720p_HDTV_x264-FoV 12:35:54|ERROR MAIN: Something failed! Please check logs. Exiting

clinton-hall commented 11 years ago

Can you switch to dev branch, update and then try again? I added more logging

ghost commented 11 years ago

Well.. i tried compiling the dev branch but cant get it to work... I compiled the TorrentToMedia.py to Exe file. Do i need to compile other files too?

ghost commented 11 years ago

I only get: 14:23:05|INFO ==================== 14:23:05|INFO TorrentToMedia V8.6 14:23:05|INFO MAIN: Loading config from C:\Users\Administrator\Documents\nzbToMedia\autoProcessMedia.cfg

In the log after i compiled

clinton-hall commented 11 years ago

Sorry, I hadn't realised you were using the compiled .exe

There is no need to compile this, if you have python installed anyway, just run the source.

But I can try and compile this version for you to test.

clinton-hall commented 11 years ago

Actually.. I believe your compiled version is fine... but you need to take the new autoprocessmedia.cfg.sample file from the dev branch and put that in the same directory as your autoprocessmedia.cfg.... when torrentToMedia.exe is run it will do a migration to change a few parameter names... I believe without this the script will terminate during the Loading config.... as per your log above...

Give this ago and let me know what happens.

ghost commented 11 years ago

Hi,

I will try to run it as .py. What effect does the Sick-Beard fork option do? I use Pistachios.

clinton-hall commented 11 years ago

The fork defines which of two version of URL are called for SickBeard PostProcessing... Get this wrong and you get a URL error in the PP log and nothing will be processed. Also, for TPB this disabled the extracting and linking etc, and just passes the download details to SickBeard as that particular branch does its own extraction and linking.

Details of branches I know about are here https://github.com/clinton-hall/nzbToMedia/wiki/sickbeard-branches

If you are using the original pistachitos, I believe setting the fork=pistachitos should work.

ghost commented 11 years ago

Okay... So i changed my settings to: [SickBeard] sbCategory = tv host = localhost port = 8081 username = xxx password = xxx web_root = ssl = 1 delay = 30 watch_dir = fork = Pistachitos delete_failed = 0

[Torrent] clientAgent = utorrent useLink = no outputDirectory = N:\1.Processing categories = music_videos,pictures,software, uTorrentWEBui = http://localhost:3456/gui/ uTorrentUSR = xxx uTorrentPWD = xxx TransmissionHost = localhost TransmissionPort = 8084 TransmissionUSR = your username TransmissionPWD = your password deleteOriginal = 0

And now the log says: 1:56:43|INFO ==================== 11:56:43|INFO TorrentToMedia V8.6 11:56:43|INFO MAIN: Loading config from c:\users\administrator\documents\github\nzbtomedia\autoProcessMedia.cfg 11:56:43|DEBUG arg 0 is: c:\users\administrator\documents\github\nzbtomedia\torrenttomedia.py 11:56:43|DEBUG arg 1 is: D:\utorrent\completed\tv\Top_Gear.20x01.720p_HDTV_x264-FoV 11:56:43|DEBUG arg 2 is: Top_Gear.20x01.720p_HDTV_x264-FoV 11:56:43|DEBUG arg 3 is: tv 11:56:43|DEBUG arg 4 is: DB5F202ACD0F001CC25DCE53C951FC5C632F9DBA 11:56:43|DEBUG MAIN: Received Directory: D:\utorrent\completed\tv\Top_Gear.20x01.720p_HDTV_x264-FoV | Name: Top_Gear.20x01.720p_HDTV_x264-FoV | Category: tv 11:56:43|INFO MAIN: Calling SickBeard's Pistachitos branch to post-process: Top_Gear.20x01.720p_HDTV_x264-FoV 11:56:43|INFO Loading config from c:\users\administrator\documents\github\nzbtomedia\autoProcessMedia.cfg 11:56:43|INFO The download succeeded. Sending process request to SickBeard's Pistachitos branch 11:56:43|INFO Waiting for 30.0 seconds to allow SB to process newly extracted files 11:57:13|DEBUG Opening URL: https://localhost:8081/home/postprocess/processEpisode?nzbName=Top_Gear.20x01.720p_HDTV_x264-FoV&failed=0&quiet=1&dir=D%3A%5Cutorrent%5Ccompleted%5Ctv%5CTop_Gear.20x01.720p_HDTV_x264-FoV 11:57:28|INFO Processing folder D:\utorrent\completed\tv\Top_Gear.20x01.720p_HDTV_x264-FoV 11:57:28|INFO TV_DOWNLOAD_DIR: N:\1.Processing 11:57:28|INFO PostProcessing Path: D:\utorrent\completed\tv 11:57:28|INFO PostProcessing Dirs: [u'Top_Gear.20x01.720p_HDTV_x264-FoV'] 11:57:28|INFO PostProcessing Files: [] 11:57:28|INFO PostProcessing VideoFiles: [] 11:57:28|INFO PostProcessing RarContent: [] 11:57:28|INFO PostProcessing VideoInRar: [] 11:57:28|INFO Processing folder Top_Gear.20x01.720p_HDTV_x264-FoV 11:57:28|INFO Packed Releases detected: [u'top_gear.20x01.720p_hdtv_x264-fov.rar'] 11:57:28|INFO Unpacking archive: top_gear.20x01.720p_hdtv_x264-fov.rar 11:57:28|INFO UnRar content: ['top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top.gear.s20e05.720p.hdtv.x264-river.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top.gear.s20e05.720p.hdtv.x264-river.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv', 'top.gear.s20e05.720p.hdtv.x264-river.mkv', 'top_gear.20x01.720p_hdtv_x264-fov.mkv'] 11:57:28|INFO You're trying to post process a video that's already been processed, skipping 11:57:28|INFO You're trying to post process a video that's already been processed, skipping 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.nfo 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.nfo 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r11 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r11 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r10 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r10 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r13 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r13 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r12 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r12 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r15 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r15 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r14 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r14 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r17 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r17 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r16 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r16 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r19 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r19 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r18 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r18 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r34 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r34 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r33 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r33 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r22 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r22 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r31 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r31 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r30 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r30 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r23 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r23 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r32 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r32 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r02 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r02 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r03 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r03 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r00 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r00 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r01 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r01 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r06 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r06 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r07 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r07 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r04 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r04 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r05 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r05 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r20 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r20 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r21 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r21 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r08 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r08 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r09 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r09 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r24 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r24 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r25 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r25 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r26 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r26 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r27 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r27 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r28 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r28 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.r29 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.r29 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.rar 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.rar 11:57:28|INFO Deleting file top_gear.20x01.720p_hdtv_x264-fov.sfv 11:57:28|INFO Changing ReadOnly Flag for file top_gear.20x01.720p_hdtv_x264-fov.sfv 11:57:28|INFO Deleting folder D:\utorrent\completed\tv\Top_Gear.20x01.720p_HDTV_x264-FoV 11:57:28|INFO MAIN: All done.

clinton-hall commented 11 years ago

Looks like that worked.... Does everything look to have been processed correctly in SickBeard?

ghost commented 11 years ago

Nope... the ep doest get to the correct place.

The EP is not i SB, but i don't understand these lines: 11:57:28|INFO You're trying to post process a video that's already been processed, skipping 11:57:28|INFO You're trying to post process a video that's already been processed, skipping

clinton-hall commented 11 years ago

Strange. That line comes from SickBeard itself... The script called the postprocess in SickBeard. You should see the same if you try to manually postprocess. Can you post the link to the SickBeard branch you cloned?

ghost commented 11 years ago

I run this branch: https://github.com/mr-orange/Sick-Beard/tree/Pistachitos

clinton-hall commented 11 years ago

@mr-orange Are you able to look at this? In the postprocess log above (5 posts up) the script successfully calls SickBeard PostProcessing, and SickBeard (your pistachitos branch) extracts the episodes before exiting on this line https://github.com/mr-orange/Sick-Beard/blob/Pistachitos/sickbeard/processTV.py#L251

mr-orange commented 11 years ago

Those lines means episode was already processed.. probably tv_show db table ( error is from a check done on that table) get dirty for those episode. To reset that state you have to go in Manual PostProcessing setting the dir with problem and cheking either "Force already Post Processed Dir/Files" and "Mark Dir/Files as priority download".

@clinton-hall I need to extract the episode because sb log the episode release name and not torrent name.. This is specially true for season package.