[301 Moved Permanently] SAXParseException with amc

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
popejpizzle
Posts: 2
Joined: 30 Mar 2020, 13:18

[301 Moved Permanently] SAXParseException with amc

Post by popejpizzle »

Receiving an error now when using the amc script that I wasn't getting before. The console output is below:

Code: Select all

Parameter: movieFormat = E:/Movies/{n} ({y})/{n} ({y}){' CD'+pi}{'.'+lang}
Argument[0]: E:\TV Packs Download\Black Sails S01-S04 BR HEVC-d3g
Use excludes: X:\amc.txt (23446)
Input: E:\TV Packs Download\Black Sails S01-S04 BR HEVC-d3g\Black Sails S01 BR HEVC-d3g\Black.Sails.S01E01.1080p.BluRay.AC3.HEVC-d3g.eng.srt
Group: [tvs:black sails] => [Black.Sails.S01E01.1080p.BluRay.AC3.HEVC-d3g.eng.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [black sails]
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>CloudFront</center>
</body>
</html>

org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 3; The element type "hr" must be terminated by the matching end-tag "</hr>".
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at net.filebot.web.WebRequest.validateXml(WebRequest.java:324)
        at net.filebot.CachedResource.lambda$validateXml$5(CachedResource.java:169)
        at net.filebot.CachedResource.lambda$get$1(CachedResource.java:99)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.CachedResource.get(CachedResource.java:82)
        at net.filebot.web.TheTVDBClientV1.getXmlResource(TheTVDBClientV1.java:272)
        at net.filebot.web.TheTVDBClientV1.getMirror(TheTVDBClientV1.java:246)
        at net.filebot.web.TheTVDBClientV1.getResource(TheTVDBClientV1.java:276)
        at net.filebot.web.TheTVDBClientV1.lambda$getXmlResource$8(TheTVDBClientV1.java:272)
        at net.filebot.CachedResource.lambda$get$1(CachedResource.java:83)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.CachedResource.get(CachedResource.java:82)
        at net.filebot.web.TheTVDBClientV1.getXmlResource(TheTVDBClientV1.java:272)
        at net.filebot.web.TheTVDBClientV1.fetchSearchResult(TheTVDBClientV1.java:91)
        at net.filebot.WebServices$TheTVDBClientWithLocalSearch.access$001(WebServices.java:128)
        at net.filebot.WebServices$TheTVDBClientWithLocalSearch.lambda$fetchSearchResult$4(WebServices.java:150)

Fetch failed: org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 3; The element type "hr" must be terminated by the matching end-tag "</hr>". [http://thetvdb.com/api/694FAD89942D3827/mirrors.xml]
org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 3; The element type "hr" must be terminated by the matching end-tag "</hr>".
Processing 1 unsorted files
Illegal parameter: map
java.lang.IllegalArgumentException: Illegal parameter: map
        at net.filebot.cli.ScriptShellBaseClass.lambda$getArgumentBean$1(ScriptShellBaseClass.java:470)
        at net.filebot.cli.ScriptShellBaseClass.getArgumentBean(ScriptShellBaseClass.java:464)
        at net.filebot.cli.ScriptShellBaseClass.rename(ScriptShellBaseClass.java:346)
        at Script1.run(Script1.groovy:538)
        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:113)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:30)
        at net.filebot.Main.main(Main.java:120)
Caused by: java.lang.NoSuchFieldException: map
        at net.filebot.cli.ScriptShellBaseClass.lambda$getArgumentBean$1(ScriptShellBaseClass.java:466)
        ... 8 more

Failure (┬░_┬░)
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: SAXParseException with amc

Post by rednoah »

What does filebot -script fn:sysinfo say?

:arrow: viewtopic.php?t=11254
:idea: Please read the FAQ and How to Request Help.
popejpizzle
Posts: 2
Joined: 30 Mar 2020, 13:18

Re: [301 Moved Permanently] SAXParseException with amc

Post by popejpizzle »

Thanks for the quick reply!

This:

Code: Select all

FileBot 4.7.7 (r4678)
JNA Native: 4.0.1
MediaInfo: 0.7.88
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-03-16 (r516)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_161
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 2 GB Max Memory / 19 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI

------------------- UPDATE AVAILABLE: FileBot 4.9.0 (r7234) --------------------

Done ?(?????)?
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [301 Moved Permanently] SAXParseException with amc

Post by rednoah »

You'll probably wanna upgrade to FileBot 4.9.0 (r7234) or higher. The version you're using is ancient, and probably partially doesn't work anymore.
:idea: Please read the FAQ and How to Request Help.
Post Reply