DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Any questions? Need some help?
Post Reply
alexsmith2709
Posts: 12
Joined: 24 Nov 2019, 21:34

DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by alexsmith2709 »

Hi,
I am getting an error when running a script for tv shows. I have only been running the test so far.
I get the error:

Code: Select all

Auto-detected query: [Breaking Bad, Aaf, aaf breaking bad]
Fetching episode data for [Breaking Bad]
Fetching episode data for [Metastasis]
Fetching episode data for [Baking Bad]
Fetching episode data for [Breaking In]
Fetching episode data for [Breaking The Band]
Fetching episode data for [Aaf]
Fetching episode data for [Aafat]
Resource not found: https://api.thetvdb.com/search/series?name=aaf+breaking+bad [404 Not Found]
DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
Finished without processing any files
Abort (×_×)
As you can probably guess this is for Breaking bad. The aaf is coming from the release group name in the folder/file for season 3.

My script i have been running is:

Code: Select all

filebot -script 'fn:amc' /share/Rdownload/downloads/tv --output /share/Rdownload/medialibrary/ --action TEST -non-strict --order Airdate --conflict auto --lang en --def 'ut_label=TV' 'music=y' 'subtitles=eng' 'skipExtract=y' 'excludeList=.excludes' 'seriesFormat={n}/Season {s}/{s00e00} - {t}' --log all --log-file '/opt/filebot-node/data/filebot.log'
Running the following query seems to work:

Code: Select all

filebot -list --db TheTVDB --q "Breaking Bad"
Breaking Bad - 1x01 - Pilot
Breaking Bad - 1x02 - Cat's in the Bag...
Breaking Bad - 1x03 - ...And the Bag's in the River
Breaking Bad - 1x04 - Cancer Man
Breaking Bad - 1x05 - Gray Matter
Breaking Bad - 1x06 - Crazy Handful of Nothin'
Breaking Bad - 1x07 - A No-Rough-Stuff-Type Deal
Breaking Bad - 2x01 - Seven Thirty-Seven
Breaking Bad - 2x02 - Grilled
Breaking Bad - 2x03 - Bit by a Dead Bee
Breaking Bad - 2x04 - Down
Breaking Bad - 2x05 - Breakage
Breaking Bad - 2x06 - Peekaboo
Breaking Bad - 2x07 - Negro y Azul
Breaking Bad - 2x08 - Better Call Saul
Breaking Bad - 2x09 - 4 Days Out
Breaking Bad - 2x10 - Over
Breaking Bad - 2x11 - Mandala
Breaking Bad - 2x12 - Phoenix
Breaking Bad - 2x13 - ABQ
Breaking Bad - 3x01 - No Mas
Breaking Bad - 3x02 - Caballo Sin Nombre
Breaking Bad - 3x03 - I.F.T.
Breaking Bad - 3x04 - Green Light
Breaking Bad - 3x05 - Mas
Breaking Bad - 3x06 - Sunset
Breaking Bad - 3x07 - One Minute
Breaking Bad - 3x08 - I See You
Breaking Bad - 3x09 - Kafkaesque
Breaking Bad - 3x10 - Fly
Breaking Bad - 3x11 - Abiquiu
Breaking Bad - 3x12 - Half Measures
Breaking Bad - 3x13 - Full Measure
Breaking Bad - 4x01 - Box Cutter
Breaking Bad - 4x02 - Thirty-Eight Snub
Breaking Bad - 4x03 - Open House
Breaking Bad - 4x04 - Bullet Points
Breaking Bad - 4x05 - Shotgun
Breaking Bad - 4x06 - Cornered
Breaking Bad - 4x07 - Problem Dog
Breaking Bad - 4x08 - Hermanos
Breaking Bad - 4x09 - Bug
Breaking Bad - 4x10 - Salud
Breaking Bad - 4x11 - Crawl Space
Breaking Bad - 4x12 - End Times
Breaking Bad - 4x13 - Face Off
Breaking Bad - 5x01 - Live Free or Die
Breaking Bad - 5x02 - Madrigal
Breaking Bad - 5x03 - Hazard Pay
Breaking Bad - 5x04 - Fifty-One
Breaking Bad - 5x05 - Dead Freight
Breaking Bad - 5x06 - Buyout
Breaking Bad - 5x07 - Say My Name
Breaking Bad - 5x08 - Gliding Over All
Breaking Bad - 5x09 - Blood Money
Breaking Bad - 5x10 - Buried
Breaking Bad - 5x11 - Confessions
Breaking Bad - 5x12 - Rabid Dog
Breaking Bad - 5x13 - To'hajiilee
Breaking Bad - 5x14 - Ozymandias
Breaking Bad - 5x15 - Granite State
Breaking Bad - 5x16 - Felina
Breaking Bad - Special 1 - Good Cop Bad Cop
Breaking Bad - Special 2 - Wedding Day
Breaking Bad - Special 3 - TwaughtHammer
Breaking Bad - Special 4 - Marie's Confession
Breaking Bad - Special 5 - The Break-In
Breaking Bad - Special 6 - Season 4 Sneak Peak
Breaking Bad - Special 8 - Better Call Saul - Carl B.
Breaking Bad - Special 9 - Better Call Saul - Saul Better Help My Mom
Breaking Bad - Special 10 - Better Call Saul - Badger
Breaking Bad - Special 11 - Better Call Saul - Tiger Trouble
Breaking Bad - Special 12 - Better Call Saul - Wayfarer 515
Breaking Bad - Special 13 - Team S.C.I.E.N.C.E
Breaking Bad - Special 14 - Better Call Saul - Wendy
Breaking Bad - Special 15 - Better Call Saul - Who Can You Sue
Breaking Bad - Special 16 - Letters to Saul - Did I Murder an Old Man
Breaking Bad - Special 17 - Live Saul Cam
Breaking Bad - Special 18 - No Half Measures
Breaking Bad - Special 19 - El Camino: A Breaking Bad Movie
My system info is:

Code: Select all

n 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)
unrar: UNRAR 5.30 beta 3 freeware
FFprobe: 3.3.6
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-11-16 (r603)
Groovy: 2.5.8
JRE: OpenJDK Runtime Environment 13.0.1
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3.2 GB Max Memory / 20 MB Used Memory
OS: Linux (amd64)
HW: Linux DEREK 4.14.24-qnap #1 SMP Sat Nov 9 01:17:49 CST 2019 x86_64 GNU/Linux
STORAGE: ext3 [/mnt/HDA_ROOT] @ 384 MB | ext3 [/mnt/ext] @ 16 MB | ext4 [/share/CACHEDEV1_DATA] @ 3.6 TB | none [/lib/modules/4.14.24-qnap/container-station] @ 3.6 TB | fuse.hdsfusemnt [/share/CACHEDEV1_DATA/.qpkg/CodexPack/share] @ 45 MB | none [/mnt/.user-shares/******/Web] @ 3.6 TB | none [/mnt/.user-shares/******/Rdownload] @ 3.6 TB | none [/mnt/.user-shares/******/Container] @ 3.6 TB | none [/mnt/.user-shares/******/homes] @ 3.6 TB | none [/mnt/.user-shares/******/Backup] @ 3.6 TB | none [/mnt/.user-shares/******/Public] @ 3.6 TB | none [/mnt/.user-shares/******/Browser Station] @ 3.6 TB
DATA: /share/CACHEDEV1_DATA/.qpkg/filebot/data/admin
Package: QPKG
License: FileBot License ********* (Valid-Until: 2020-12-02)
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------

[Process completed]
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by kim »

The "Aaf" part in filename and/folder breaks the lookup...
maybe because of
https://thetvdb.com/series/aaf

you dont want group:

Code: Select all

'seriesFormat={n}/Season {s}/{s00e00} - {t}'
quick fix = remove Aaf from filename and/folder
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by rednoah »

I'll need a sample file path please so I can test this myself, because it works for me.

Here's what I get:

Code: Select all

Input: aaf breaking bad 1x01.avi
...
[TEST] from [aaf breaking bad 1x01.avi] to [TV Shows/Breaking Bad/Season 01/Breaking Bad - S01E01 - Pilot.avi]

If you can reproduce the issue, try with developer options, so that we can see the raw data you get back from the API:
viewtopic.php?t=3913

TheTVDB is a bit wonky these days, might be a related temporary issue:
viewtopic.php?f=8&t=11254
:idea: Please read the FAQ and How to Request Help.
alexsmith2709
Posts: 12
Joined: 24 Nov 2019, 21:34

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by alexsmith2709 »

I have season 1 by a different group, only season 3 by aaf. Here is my path:

Code: Select all

/Rdownload/downloads/tv/Breaking.Bad.S03.DVDRip/Breaking.Bad.S03E01.DVDRip.XviD-aAF/aaf-breaking.bad.s03e01.no.mas.avi
Here is the log with the raw data:

Code: Select all

[2019-11-26 18:51:15.070] SeriesRating -1.0000 => [/share/Rdownload/complete/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E07.DVDRip.XviD-ORPHEUS/breaking.bad.s01e07.dvdrip.xvid-orpheus/breaking.bad.s01e07.dvdrip.xvid-orpheus.eng.srt, Breaking Bad - 1x07 - A No-Rough-Stuff-Type Deal]
[2019-11-26 18:51:15.070] SeriesRating -1.0000 => [/share/Rdownload/complete/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E07.DVDRip.XviD-ORPHEUS/breaking.bad.s01e07.dvdrip.xvid-orpheus/breaking.bad.s01e07.dvdrip.xvid-orpheus.eng.srt, Metastasis - 1x07 - For Evil]
[2019-11-26 18:51:15.073] Suppressed Exception: java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
	at net.filebot.web.SimpleDate.toLocalDate(SimpleDate.java:96)
	at net.filebot.similarity.EpisodeMetrics$19.getScore(EpisodeMetrics.java:729)
	at net.filebot.similarity.EpisodeMetrics$19.getSimilarity(EpisodeMetrics.java:720)
	at net.filebot.similarity.Matcher.mapBySimilarity(Matcher.java:140)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:107)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.match(Matcher.java:54)
	at net.filebot.cli.CmdlineOperations.matchEpisodes(CmdlineOperations.java:273)
	at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:230)
	at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:106)
	at net.filebot.cli.ScriptShellBaseClass.rename(ScriptShellBaseClass.java:371)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at Script1$_run_closure65.doCall(Script1.groovy:378)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at Script1.run(Script1.groovy:364)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:173)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:44)
	at net.filebot.Main.main(Main.java:136)

[2019-11-26 18:51:15.122] Abort (×_×)
This is just the end of it but i have saved the full log if you need anything else from it.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by rednoah »

I see exactly what's happening now. But I can't reproduce it. Because I got different data from TheTVDB.

Please clear the cache once and then try again:
viewtopic.php?t=1996
:idea: Please read the FAQ and How to Request Help.
alexsmith2709
Posts: 12
Joined: 24 Nov 2019, 21:34

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by alexsmith2709 »

I have cleared the cache before running that.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by rednoah »

Strange indeed. Let's find out what's different.


1.
What does filebot -script fn:sysinfo say?

Code: Select all

filebot -script fn:sysinfo

2.
What do you get for this command?

Code: Select all

filebot -list --q "Metastasis" --format "{startdate} | {airdate} | {episode}"
:idea: Please read the FAQ and How to Request Help.
alexsmith2709
Posts: 12
Joined: 24 Nov 2019, 21:34

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by alexsmith2709 »

Code: Select all

/share/CACHEDEV1_DATA/Rdownload$ filebot -script fn:sysinfo
FileBot 4.9.0 (r6899)
JNA Native: 6.1.0
MediaInfo: 19.04
p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)
unrar: UNRAR 5.30 beta 3 freeware
FFprobe: 3.3.6
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-11-16 (r603)
Groovy: 2.5.8
JRE: OpenJDK Runtime Environment 13.0.1
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 1.0 GB Max Memory / 35 MB Used Memory
OS: Linux (amd64)
HW: Linux DEREK 4.14.24-qnap #1 SMP Sat Nov 9 01:17:49 CST 2019 x86_64 GNU/Linux
STORAGE: ext3 [/mnt/HDA_ROOT] @ 384 MB | ext3 [/mnt/ext] @ 16 MB | ext4 [/share/CACHEDEV1_DATA] @ 3.6 TB | none [/lib/modules/4.14.24-qnap/container-station] @ 3.6 TB | fuse.hdsfusemnt [/share/CACHEDEV1_DATA/.qpkg/CodexPack/share] @ 45 MB | none [/mnt/.user-shares/******/Web] @ 3.6 TB | none [/mnt/.user-shares/******/Rdownload] @ 3.6 TB | none [/mnt/.user-shares/******/Container] @ 3.6 TB | none [/mnt/.user-shares/******/homes] @ 3.6 TB | none [/mnt/.user-shares/******/Backup] @ 3.6 TB | none [/mnt/.user-shares/******/Public] @ 3.6 TB | none [/mnt/.user-shares/******/Browser Station] @ 3.6 TB
DATA: /share/CACHEDEV1_DATA/.qpkg/filebot/data/admin
Package: QPKG
License: FileBot License ********* (Valid-Until: 2020-12-02)
Done ヾ(@⌒ー⌒@)ノ

Code: Select all

/share/CACHEDEV1_DATA/Rdownload$ filebot -list --q "Metastasis" --format "{startdate} | {airdate} | {episode}"
2013-06-23 | 2014-06-08 | Metastasis - 1x01 - The Beginning
2013-06-23 | 2014-06-09 | Metastasis - 1x02 - Cat's in the Bag
2013-06-23 | 2014-06-10 | Metastasis - 1x03 - Games of Chance
2013-06-23 | 2014-06-11 | Metastasis - 1x04 - Cancer
2013-06-23 | 2014-06-12 | Metastasis - 1x05 - What Could Have Been
2013-06-23 | 2014-06-13 | Metastasis - 1x06 - For Good
2013-06-23 | 2014-06-16 | Metastasis - 1x07 - For Evil
2013-06-23 | 2014-06-17 | Metastasis - 1x08 - Clear Bills
2013-06-23 | 2014-06-18 | Metastasis - 1x09 - The Salamancas
2013-06-23 | 2014-06-19 | Metastasis - 1x10 - Hanging in the Wind
2013-06-23 | 2014-06-20 | Metastasis - 1x11 - Chapter 11
2013-06-23 | 2013-06-23 | Metastasis - 1x12 - Rifts
2013-06-23 | 2014-06-24 | Metastasis - 1x13 - Boo!
2013-06-23 | 2014-06-25 | Metastasis - 1x14 - Jaisenber (Heisenberg)
2013-06-23 | 2014-06-26 | Metastasis - 1x15 - The Lawyer
2013-06-23 | 2014-06-27 | Metastasis - 1x16 - Cooks
2013-06-23 | 2014-06-30 | Metastasis - 1x17 - Chapter 17
2013-06-23 | 2014-07-01 | Metastasis - 1x18 - Chapter 18
2013-06-23 | 2014-07-02 | Metastasis - 1x19 - Save WalterBlanco.com
2013-06-23 | 2014-07-03 | Metastasis - 1x20 - The Flight
2013-06-23 | 2014-07-07 | Metastasis - 1x21 - No More
2013-06-23 | 2014-07-08 | Metastasis - 1x22 - Chapter 22
2013-06-23 | 2014-07-09 | Metastasis - 1x23 - Chapter 23
2013-06-23 | 2014-07-10 | Metastasis - 1x24 - Chapter 24
2013-06-23 | 2014-07-11 | Metastasis - 1x25 - Chapter 25
2013-06-23 | 2014-07-14 | Metastasis - 1x26 - Chapter 26
2013-06-23 | 2014-07-15 | Metastasis - 1x27 - Chapter 27
2013-06-23 | 2014-07-16 | Metastasis - 1x28 - Chapter 28
2013-06-23 | 2014-07-17 | Metastasis - 1x29 - Chapter 29
2013-06-23 | 2014-07-21 | Metastasis - 1x30 - Chapter 30
2013-06-23 | 2014-07-22 | Metastasis - 1x31 - Chapter 31
2013-06-23 | 2014-07-23 | Metastasis - 1x32 - Chapter 32
2013-06-23 | 2014-07-24 | Metastasis - 1x33 - Chapter 33
2013-06-23 | 2014-07-28 | Metastasis - 1x34 - Chapter 34
2013-06-23 | 2014-07-29 | Metastasis - 1x35 - Chapter 35
2013-06-23 | 2014-07-30 | Metastasis - 1x36 - Chapter 36
2013-06-23 | 2014-07-31 | Metastasis - 1x37 - Chapter 37
2013-06-23 | 2014-08-04 | Metastasis - 1x38 - Chapter 38
2013-06-23 | 2014-08-05 | Metastasis - 1x39 - Chapter 39
2013-06-23 | 2014-08-07 | Metastasis - 1x40 - Chapter 40
2013-06-23 | 2014-08-11 | Metastasis - 1x41 - Chapter 41
2013-06-23 | 2014-08-12 | Metastasis - 1x42 - Chapter 42
2013-06-23 | 2014-08-13 | Metastasis - 1x43 - Chapter 43
2013-06-23 | 2014-08-14 | Metastasis - 1x44 - Chapter 44
2013-06-23 | 2014-08-18 | Metastasis - 1x45 - Chapter 45
2013-06-23 | 2014-08-19 | Metastasis - 1x46 - Chapter 46
2013-06-23 | 2014-08-20 | Metastasis - 1x47 - Chapter 47
2013-06-23 | 2014-08-21 | Metastasis - 1x48 - Chapter 48
2013-06-23 | 2014-08-25 | Metastasis - 1x49 - Chapter 49
2013-06-23 | 2014-08-26 | Metastasis - 1x50 - Chapter 50
2013-06-23 | 2014-08-27 | Metastasis - 1x51 - Chapter 51
2013-06-23 | 2014-08-28 | Metastasis - 1x52 - Chapter 52
2013-06-23 | 2014-09-02 | Metastasis - 1x53 - Chapter 53
2013-06-23 | 2014-09-03 | Metastasis - 1x54 - Chapter 54
2013-06-23 | 2014-09-04 | Metastasis - 1x55 - Chapter 55
2013-06-23 | 2014-09-08 | Metastasis - 1x56 - Chapter 56
2013-06-23 | 2014-09-10 | Metastasis - 1x57 - Chapter 57
2013-06-23 | 2014-09-11 | Metastasis - 1x58 - Chapter 58
2013-06-23 | 2014-09-15 | Metastasis - 1x59 - Chapter 59
2013-06-23 | 2014-09-16 | Metastasis - 1x60 - Chapter 60
2013-06-23 | 2014-09-17 | Metastasis - 1x61 - Chapter 61
2013-06-23 | 2014-09-18 | Metastasis - 1x62 - Chapter 62
2013-06-23 |  | Metastasis - 1x63 - Chapter 63
2013-06-23 |  | Metastasis - 1x64 - Chapter 64
2013-06-23 |  | Metastasis - 1x65 - Chapter 65
2013-06-23 |  | Metastasis - 1x66 - Chapter 66
2013-06-23 |  | Metastasis - 1x67 - Chapter 67
2013-06-23 |  | Metastasis - 1x68 - Chapter 68
2013-06-23 |  | Metastasis - 1x69 - Chapter 69
2013-06-23 |  | Metastasis - 1x70 - Chapter 70
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by rednoah »

The error mentioned above can't happen according to the data I see here...


:?: Can you isolate the problem and create a simple reproducible test case?


Here's what I get:

Code: Select all

filebot -rename -r tv --db TheTVDB --action TEST -non-strict
Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [Breaking Bad]
Fetching episode data for [Breaking Bad]
Fetching episode data for [Metastasis]
Fetching episode data for [Baking Bad]
Fetching episode data for [Breaking In]
Fetching episode data for [Breaking The Band]
[TEST] from [tv/Breaking.Bad.S03.DVDRip/Breaking.Bad.S03E01.DVDRip.XviD-aAF/aaf-breaking.bad.s03e01.no.mas.avi] to [tv/Breaking.Bad.S03.DVDRip/Breaking.Bad.S03E01.DVDRip.XviD-aAF/Breaking Bad - 3x01 - No Mas.avi]
Processed 1 files
:idea: Please read the FAQ and How to Request Help.
alexsmith2709
Posts: 12
Joined: 24 Nov 2019, 21:34

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by alexsmith2709 »

This is what i get when i just try and process Breaking bad season 1

Code: Select all

/share/CACHEDEV1_DATA/Rdownload$ filebot -script 'fn:amc' /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip --output /share/Rdownload/medialibrary/TV Shows/ --action TEST -non-strict --order Airdate --conflict auto --lang en --def 'ut_label=TV' 'music=y' 'subtitles=eng' 'skipExtract=y' 'excludeList=.excludes' 'seriesFormat={n}/Season {s}/{s00e00} - {t}' --log all --log-file 'log.log'
Ignore invalid file path: java.nio.file.NoSuchFileException: /share/CACHEDEV1_DATA/Rdownload/Shows (Shows/)
Run script [fn:amc] at [Wed Nov 27 13:07:59 GMT 2019]
Parameter: ut_label = TV
Parameter: music = y
Parameter: subtitles = eng
Parameter: skipExtract = y
Parameter: excludeList = .excludes
Parameter: seriesFormat = {n}/Season {s}/{s00e00} - {t}
Argument[0]: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip
Illegal usage: output folder must exist and must be a directory: /share/CACHEDEV1_DATA/Rdownload/medialibrary/TV
Abort (×_×)
/share/CACHEDEV1_DATA/Rdownload$ filebot -script 'fn:amc' /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip --output '/share/Rdownload/medialibrary/TV Shows/' --action TEST -non-strict --order Airdate --conflict auto --lang en --def 'ut_label=TV' 'music=y' 'subtitles=eng' 'skipExtract=y' 'excludeList=.excludes' 'seriesFormat={n}/Season {s}/{s00e00} - {t}' --log all --log-file 'log.log'
Run script [fn:amc] at [Wed Nov 27 13:08:24 GMT 2019]
Parameter: ut_label = TV
Parameter: music = y
Parameter: subtitles = eng
Parameter: skipExtract = y
Parameter: excludeList = .excludes
Parameter: seriesFormat = {n}/Season {s}/{s00e00} - {t}
Argument[0]: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip
Use excludes: /share/CACHEDEV1_DATA/Rdownload/medialibrary/TV Shows/.excludes
Ignore video extra: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E01.DVDRip.XviD-ORPHEUS/Sample/breaking.bad.s01e01.dvdrip.xvid-orpheus.sample.avi
Ignore video extra: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E02.DVDRip.XviD-ORPHEUS/Sample/breaking.bad.s01e02.dvdrip.xvid-orpheus.sample.avi
Ignore video extra: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E03.DVDRip.XviD-ORPHEUS/Sample/breaking.bad.s01e03.dvdrip.xvid-orpheus.sample.avi
Ignore video extra: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E04.DVDRip.XviD-ORPHEUS/Sample/breaking.bad.s01e04.dvdrip.xvid-orpheus.sample.avi
Ignore video extra: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E05.DVDRip.XviD-ORPHEUS/Sample/breaking.bad.s01e05.dvdrip.xvid-orpheus.sample.avi
Ignore video extra: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E06.DVDRip.XviD-ORPHEUS/Sample/breaking.bad.s01e06.dvdrip.xvid-orpheus.sample.avi
Ignore video extra: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E07.DVDRip.XviD-ORPHEUS/Sample/breaking.bad.s01e07.dvdrip.xvid-orpheus.sample.avi
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E01.DVDRip.XviD-ORPHEUS/breaking.bad.s01e01.dvdrip.xvid-orpheus/breaking.bad.s01e01.dvdrip.xvid-orpheus.avi
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E01.DVDRip.XviD-ORPHEUS/breaking.bad.s01e01.dvdrip.xvid-orpheus/breaking.bad.s01e01.dvdrip.xvid-orpheus.eng.srt
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E02.DVDRip.XviD-ORPHEUS/breaking.bad.s01e02.dvdrip.xvid-orpheus/breaking.bad.s01e02.dvdrip.xvid-orpheus.avi
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E02.DVDRip.XviD-ORPHEUS/breaking.bad.s01e02.dvdrip.xvid-orpheus/breaking.bad.s01e02.dvdrip.xvid-orpheus.eng.srt
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E03.DVDRip.XviD-ORPHEUS/breaking.bad.s01e03.dvdrip.xvid-orpheus/breaking.bad.s01e03.dvdrip.xvid-orpheus.avi
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E04.DVDRip.XviD-ORPHEUS/breaking.bad.s01e04.dvdrip.xvid-orpheus/breaking.bad.s01e04.dvdrip.xvid-orpheus.avi
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E04.DVDRip.XviD-ORPHEUS/breaking.bad.s01e04.dvdrip.xvid-orpheus/breaking.bad.s01e04.dvdrip.xvid-orpheus.eng.srt
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E05.DVDRip.XviD-ORPHEUS/breaking.bad.s01e05.dvdrip.xvid-orpheus/breaking.bad.s01e05.dvdrip.xvid-orpheus.avi
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E05.DVDRip.XviD-ORPHEUS/breaking.bad.s01e05.dvdrip.xvid-orpheus/breaking.bad.s01e05.dvdrip.xvid-orpheus.eng.srt
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E06.DVDRip.XviD-ORPHEUS/breaking.bad.s01e06.dvdrip.xvid-orpheus/breaking.bad.s01e06.dvdrip.xvid-orpheus.avi
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E06.DVDRip.XviD-ORPHEUS/breaking.bad.s01e06.dvdrip.xvid-orpheus/breaking.bad.s01e06.dvdrip.xvid-orpheus.eng.srt
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E07.DVDRip.XviD-ORPHEUS/breaking.bad.s01e07.dvdrip.xvid-orpheus/breaking.bad.s01e07.dvdrip.xvid-orpheus.avi
Input: /share/Rdownload/downloads/tv/Breaking.Bad.S01.DVDRip/Breaking.Bad.S01E07.DVDRip.XviD-ORPHEUS/breaking.bad.s01e07.dvdrip.xvid-orpheus/breaking.bad.s01e07.dvdrip.xvid-orpheus.eng.srt
xattr: [breaking.bad.s01e01.dvdrip.xvid-orpheus.avi] => [Breaking Bad - 1x01 - Pilot]
xattr: [breaking.bad.s01e02.dvdrip.xvid-orpheus.avi] => [Breaking Bad - 1x02 - Cat's in the Bag...]
xattr: [breaking.bad.s01e03.dvdrip.xvid-orpheus.avi] => [Breaking Bad - 1x03 - ...And the Bag's in the River]
xattr: [breaking.bad.s01e04.dvdrip.xvid-orpheus.avi] => [Breaking Bad - 1x04 - Cancer Man]
xattr: [breaking.bad.s01e05.dvdrip.xvid-orpheus.avi] => [Breaking Bad - 1x05 - Gray Matter]
xattr: [breaking.bad.s01e06.dvdrip.xvid-orpheus.avi] => [Breaking Bad - 1x06 - Crazy Handful of Nothin']
xattr: [breaking.bad.s01e07.dvdrip.xvid-orpheus.avi] => [Breaking Bad - 1x07 - A No-Rough-Stuff-Type Deal]
Group: {Series=true} => [breaking.bad.s01e01.dvdrip.xvid-orpheus.avi, breaking.bad.s01e01.dvdrip.xvid-orpheus.eng.srt, breaking.bad.s01e02.dvdrip.xvid-orpheus.avi, breaking.bad.s01e02.dvdrip.xvid-orpheus.eng.srt, breaking.bad.s01e03.dvdrip.xvid-orpheus.avi, breaking.bad.s01e04.dvdrip.xvid-orpheus.avi, breaking.bad.s01e04.dvdrip.xvid-orpheus.eng.srt, breaking.bad.s01e05.dvdrip.xvid-orpheus.avi, breaking.bad.s01e05.dvdrip.xvid-orpheus.eng.srt, breaking.bad.s01e06.dvdrip.xvid-orpheus.avi, breaking.bad.s01e06.dvdrip.xvid-orpheus.eng.srt, breaking.bad.s01e07.dvdrip.xvid-orpheus.avi, breaking.bad.s01e07.dvdrip.xvid-orpheus.eng.srt]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Fetching [English] subtitles [breaking.bad.s01e03.dvdrip.xvid-orpheus.srt] from [OpenSubtitles]
Export [breaking.bad.s01e03.dvdrip.xvid-orpheus.srt] as [SubRip / UTF-8]
Writing [breaking.bad.s01e03.dvdrip.xvid-orpheus.srt] to [breaking.bad.s01e03.dvdrip.xvid-orpheus.eng.srt]
Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [Breaking Bad]
Fetching episode data for [Breaking Bad]
Fetching episode data for [Metastasis]
Fetching episode data for [Baking Bad]
Fetching episode data for [Breaking In]
Fetching episode data for [Breaking The Band]
Auto-detected query: [Breaking Bad]
Fetching episode data for [Breaking Bad]
Fetching episode data for [Metastasis]
Fetching episode data for [Baking Bad]
Fetching episode data for [Breaking In]
Fetching episode data for [Breaking The Band]
DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
Finished without processing any files
Abort (×_×)
Running a similar example to you i get this:

Code: Select all

/share/CACHEDEV1_DATA/Rdownload/downloads/tv$ filebot -rename -r Breaking.Bad.S01.DVDRip --db TheTVDB --action TEST -non-strict
Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [Breaking Bad]
Fetching episode data for [Breaking Bad]
Fetching episode data for [Metastasis]
Fetching episode data for [Baking Bad]
Fetching episode data for [Breaking In]
Fetching episode data for [Breaking The Band]
Invalid value for MonthOfYear (valid values 1 - 12): 0
java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
	at net.filebot.web.SimpleDate.toLocalDate(SimpleDate.java:96)
	at net.filebot.similarity.EpisodeMetrics$19.getScore(EpisodeMetrics.java:729)
	at net.filebot.similarity.EpisodeMetrics$19.getSimilarity(EpisodeMetrics.java:720)
	at net.filebot.similarity.Matcher.mapBySimilarity(Matcher.java:140)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:107)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
	at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
	at net.filebot.similarity.Matcher.match(Matcher.java:54)
	at net.filebot.cli.CmdlineOperations.matchEpisodes(CmdlineOperations.java:273)
	at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:230)
	at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:106)
	at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:137)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:40)
	at net.filebot.Main.main(Main.java:136)

Error (o_O)
Seasons 3,4 and 5 seem to complete ok, its just season 1 and 2 that are the issue. I have tried with each episode individually and get the same result. I dont know why it was indicating it failing on season 3 before
y2kserver
Posts: 2
Joined: 27 Nov 2019, 13:51

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by y2kserver »

Hi,

Sorry to jump into your thread but I also have this problem ?

This error comes on with my many other series I have, Like Bull etc.

command I run is

Code: Select all

filebot -rename -r /sorting -non-strict --db TheTVDB --output /tv --format {plex}

Code: Select all

Fetching episode data for [Dark/Web]
Fetching episode data for [Dark Net]
Invalid value for MonthOfYear (valid values 1 - 12): 0
java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
        at net.filebot.web.SimpleDate.toLocalDate(SimpleDate.java:96)
        at net.filebot.similarity.EpisodeMetrics$19.getScore(EpisodeMetrics.java:721)
        at net.filebot.similarity.EpisodeMetrics$19.getSimilarity(EpisodeMetrics.java:712)
        at net.filebot.similarity.Matcher.mapBySimilarity(Matcher.java:140)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:107)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.match(Matcher.java:54)
        at net.filebot.cli.CmdlineOperations.matchEpisodes(CmdlineOperations.java:271)
        at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:228)
        at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:100)
        at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:134)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:39)
        at net.filebot.Main.main(Main.java:136)

Error (o_O)
Last edited by y2kserver on 27 Nov 2019, 14:10, edited 1 time in total.
alexsmith2709
Posts: 12
Joined: 24 Nov 2019, 21:34

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by alexsmith2709 »

I was starting to think it was something local to me as it was working for rednoah but i guess not
y2kserver
Posts: 2
Joined: 27 Nov 2019, 13:51

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by y2kserver »

No I dont think so because I am trying to sort my archive and have 191 series it gives this error nearly about 60% of the series... I am going to wait for a fix because or somehow find an ignore command to ignore those series with the error getting date.

Code: Select all

Fetching episode data for [Bosch]
Fetching episode data for [Bosch]
Invalid value for MonthOfYear (valid values 1 - 12): 0
java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
        at net.filebot.web.SimpleDate.toLocalDate(SimpleDate.java:96)
        at net.filebot.similarity.EpisodeMetrics$19.getScore(EpisodeMetrics.java:721)
        at net.filebot.similarity.EpisodeMetrics$19.getSimilarity(EpisodeMetrics.java:712)
        at net.filebot.similarity.Matcher.mapBySimilarity(Matcher.java:140)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:107)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.match(Matcher.java:54)
        at net.filebot.cli.CmdlineOperations.matchEpisodes(CmdlineOperations.java:271)
        at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:228)
        at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:100)
        at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:134)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:39)
        at net.filebot.Main.main(Main.java:136)

Error (o_O)


Fetching episode data for [Fago]
Invalid value for MonthOfYear (valid values 1 - 12): 0
java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
        at net.filebot.web.SimpleDate.toLocalDate(SimpleDate.java:96)
        at net.filebot.similarity.EpisodeMetrics$19.getScore(EpisodeMetrics.java:721)
        at net.filebot.similarity.EpisodeMetrics$19.getSimilarity(EpisodeMetrics.java:712)
        at net.filebot.similarity.Matcher.mapBySimilarity(Matcher.java:140)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:107)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.match(Matcher.java:54)
        at net.filebot.cli.CmdlineOperations.matchEpisodes(CmdlineOperations.java:271)
        at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:228)
        at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:100)
        at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:134)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:39)
        at net.filebot.Main.main(Main.java:136)

Error (o_O)

Fetching episode data for [Bull (2015)]
Fetching episode data for [Bullen]
Fetching episode data for [Bullrun]
Invalid value for MonthOfYear (valid values 1 - 12): 0
java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
        at net.filebot.web.SimpleDate.toLocalDate(SimpleDate.java:96)
        at net.filebot.similarity.EpisodeMetrics$19.getScore(EpisodeMetrics.java:721)
        at net.filebot.similarity.EpisodeMetrics$19.getSimilarity(EpisodeMetrics.java:712)
        at net.filebot.similarity.Matcher.mapBySimilarity(Matcher.java:140)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:107)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.match(Matcher.java:54)
        at net.filebot.cli.CmdlineOperations.matchEpisodes(CmdlineOperations.java:271)
        at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:228)
        at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:100)
        at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:134)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:39)
        at net.filebot.Main.main(Main.java:136)

Error (o_O)

Fetching episode data for [Dark Net]
Invalid value for MonthOfYear (valid values 1 - 12): 0
java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
        at net.filebot.web.SimpleDate.toLocalDate(SimpleDate.java:96)
        at net.filebot.similarity.EpisodeMetrics$19.getScore(EpisodeMetrics.java:721)
        at net.filebot.similarity.EpisodeMetrics$19.getSimilarity(EpisodeMetrics.java:712)
        at net.filebot.similarity.Matcher.mapBySimilarity(Matcher.java:140)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:107)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.deepMatch(Matcher.java:123)
        at net.filebot.similarity.EpisodeMatcher.deepMatch(EpisodeMatcher.java:83)
        at net.filebot.similarity.Matcher.match(Matcher.java:54)
        at net.filebot.cli.CmdlineOperations.matchEpisodes(CmdlineOperations.java:271)
        at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:228)
        at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:100)
        at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:134)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:39)
        at net.filebot.Main.main(Main.java:136)

Error (o_O)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by rednoah »

FileBot r6912 maybe fixes this issue. At least it's doing more sanity checks on potentially bad date values coming in from the API.
:idea: Please read the FAQ and How to Request Help.
alexsmith2709
Posts: 12
Joined: 24 Nov 2019, 21:34

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by alexsmith2709 »

I just tried with r6912 and it seems to be working now.
Now to fine tune and sort the misnamed items, some are so bad i have no idea what it is without looking at the log file but thats another issue!

Thanks for the help
klarth
Posts: 2
Joined: 30 Nov 2019, 20:15

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by klarth »

I'm having the same error today. I am trying to update to r6912 by copying the files from the portable zip, but then I can't run FileBot due to access denied errors. Is there documentation for the process of installing beta versions using Windows 10?

This is using a 1 year license not using Windows store version. Are there msi installers available for the latest betas?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Post by rednoah »

I recommend using the portable zip on Windows as that makes it easy to run different versions at the same time, and easy to upgrade, simply by deleting the old application folder and extracting the new one in it's place.

:idea: *.msi installers are not available for the latest revision, because *.msi package builds cannot be fully automated.
:idea: Please read the FAQ and How to Request Help.
Post Reply