Automation has stopped working - now has errors/failures

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
sjboyd891
Posts: 11
Joined: 25 Apr 2013, 03:27

Automation has stopped working - now has errors/failures

Post by sjboyd891 »

I'm not sure what's happpening, but I'm suddenly having issues with Filebot, and the system had been working perfectly.

Suddenly in the last few months I would find some random files would fail to extract/copy, etc. I eventually deduced that they were straight video files (no rar), so wondered if that had to do with it. I just fixed those few exceptions.

Then I started having issues where some would start the process, would extract, leave the unrenamed file in the torrent folder, and never rename it or move it older, or delete the temp version.

So I tried updating firefox from 3.6 to 4.0 and now I'm having even more problems. I get all kinds of "unknown" errors. Sometimes it works. Sometimes it doesn't. Utorrent always loads the same script, but it doesn't always load.

Sometimes it sends me a blank email at the end. Sometimes it crashes and sends me no email. It is so random. I've included some of the random logs below. If there is ANYWAY you could help, that would be amazing. I've had this working for over a year and just love it. Don't want to lose the automation now!

Oh, and in the past if things didn't extract/copy correctly via utorrent, I would copy the same torrent folder to another location and run a .bat script through the cmd line. But for some reason that's no longer working either . . . . .

uTorrent Script:

Code: Select all

filebot -script fn:amc --output "M:\MEDIA" --log-file amc.log --action copy --log-lock false --conflict override -non-strict --def music=y subtitles=y artwork=y clean=y --def gmail=user:password [email protected] "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
.BAT Script:

Code: Select all

REM organize files
call filebot -script fn:utorrent-postprocess "T:\RUNiMPORT" --output "M:\MEDIA" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=y artwork=y gmail=user:password [email protected]
Some error codes from utorrent process:

Code: Select all

Parameter: music = y
Parameter: subtitles = y
Parameter: artwork = y
Parameter: clean = y
Parameter: gmail = *****
Parameter: mailto = *****
Parameter: ut_dir = T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD
Parameter: ut_file = Sample\face.off.s06e14.cry.wolf.720p.hdtv.x264-dhd-sample.mkv
Parameter: ut_kind = multi
Parameter: ut_title = Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD
Parameter: ut_label = 7 - Bookmark - Acid
Parameter: ut_state = 5
Read archive [face.off.s06e14.720p-dhd.rar] and extract to [T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD]
Extracting files [T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD.mkv]
Input: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD.mkv
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.nfo
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r00
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r01
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r02
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r03
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r04
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r05
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r06
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r07
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r08
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r09
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r10
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r11
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r12
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r13
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r14
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r15
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r16
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r17
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r18
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r19
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r20
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r21
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.r22
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd.sfv
Exclude: T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\Sample\face.off.s06e14.cry.wolf.720p.hdtv.x264-dhd-sample.mkv
Group: [tvs:face off] => [Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD.mkv]
Exception: Illegal language code: y
Rename episodes using [TheTVDB]
Auto-detected query: [Face Off]
UnknownHostException: thetvdb.com
     [mail] Sending email: [FileBot] Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD
     [mail] Sent email with 0 attachments
Clean temporary extracted files
Delete T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD.mkv
Delete T:\TORRENTS\7 BOOKMARK DOWNLOADS\Face.Off.S06E14.Cry.Wolf.720p.HDTV.x264-DHD\face.off.s06e14.720p-dhd
Done ヾ(@⌒ー⌒@)ノ

Code: Select all

Parameter: music = y
Parameter: subtitles = y
Parameter: artwork = y
Parameter: clean = y
Parameter: gmail = *****
Parameter: mailto = *****
Parameter: ut_dir = T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL
Parameter: ut_file = community.513.hdtv-lol.nfo
Parameter: ut_kind = multi
Parameter: ut_title = Community.S05E13.HDTV.x264-LOL
Parameter: ut_label = 1 - TV
Parameter: ut_state = 5
Read archive [community.513.hdtv-lol.rar] and extract to [T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol\Community.S05E13.HDTV.x264-LOL]
Extracting files [T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.mp4]
Input: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.mp4
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.nfo
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.r00
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.r01
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.r02
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.r03
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.r04
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.r05
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.r06
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.r07
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.r08
Exclude: T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.sfv
Group: [tvs:community] => [community.513.hdtv-lol.mp4]
Exception: Illegal language code: y
Rename episodes using [TheTVDB]
Auto-detected query: [Community]
UnknownHostException: thetvdb.com
     [mail] Sending email: [FileBot] Community.S05E13.HDTV.x264-LOL
     [mail] Failed to send email: Unknown SMTP host: smtp.gmail.com
BuildException: Problem while sending mime mail:
Clean temporary extracted files
Delete T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol.mp4
Delete T:\TORRENTS\1 TV\1FEED - Community\Community.S05E13.HDTV.x264-LOL\community.513.hdtv-lol
Done ヾ(@⌒ー⌒@)ノ

Code: Select all

WARNING: App version (r2056) does not match cache version (r0): reset cache
FileNotFoundException: https://raw.github.com/filebot/scripts/master/utorrent-postprocess.groovy
java.io.FileNotFoundException: https://raw.github.com/filebot/scripts/master/utorrent-postprocess.groovy
	at net.sourceforge.filebot.web.WebRequest.fetch(WebRequest.java:140)
	at net.sourceforge.filebot.web.WebRequest.fetchIfModified(WebRequest.java:118)
	at net.sourceforge.filebot.web.CachedResource.fetchData(CachedResource.java:32)
	at net.sourceforge.filebot.web.CachedResource.fetchData(CachedResource.java:11)
	at net.sourceforge.filebot.web.AbstractCachedResource.fetch(AbstractCachedResource.java:133)
	at net.sourceforge.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:78)
	at net.sourceforge.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:236)
	at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:84)
	at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:123)
	at net.sourceforge.filebot.Main.main(Main.java:192)
Failure (°_°)
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Automation has stopped working - now has errors/failures

Post by rednoah »

Things have changed:

OLD: -script fn:utorrent-postprocess
NEW: -script fn:amc

OLD: --def subtitles=y
NEW: --def subtitles=en

And UnknownHostException: thetvdb.com means the internet wasn't working at this moment. So I can see how your issues are totally random as it's caused by random network issues.
:idea: Please read the FAQ and How to Request Help.
Post Reply