org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 1

Support for Mac OS X users and the Mac App Store package
Post Reply
panda78
Posts: 38
Joined: 22 Jan 2016, 18:45

org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 1

Post by panda78 » 25 Jan 2017, 13:42

hi all , hi have file bot from macappstore + filebot from cask to use CLI

Code: Select all

FileBot 4.7.7 (r4678) / Java(TM) SE Runtime Environment 1.8.0_112 / Mac OS X 10.12.3 (x86_64)
i run this script :

Code: Select all

filebot -script fn:amc /Volumes/video/ToProcess/ --output /Volumes/video/ --def "seriesFormat=TV Shows/{n}/Season {s}/{n} - {S00E00} - {t}" --action move --conflict auto -non-strict --lang it --def 'artwork=y' 'clean=y' 'extras=n' --def 'unsorted=y' excludeList=escluded.txt
and return this error:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
Could not connect: Can't connect to MySQL server on '192.168.20.22' (111)
org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 1; Il contenuto non è consentito nel prologo.
	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
	at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:994)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	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.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: 2; columnNumber: 1; Il contenuto non è consentito nel prologo. [http://thetvdb.com/api/GetSeries.php?seriesname=Supergirl&language=it]
org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 1; Il contenuto non è consentito nel prologo.
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:491)
	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

how can i solve ? thanks a lot

User avatar
rednoah
The Source
Posts: 12455
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script error

Post by rednoah » 25 Jan 2017, 13:47

TheTVDB is currently down and sending back invalid response data. Nothing you can do for now. Try again 1-2 days later.
My (very excellent) support depends on Windows Store and Mac App Store sales and PayPal donations. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

Image

Please read the FAQ and How to Request Help. Donate if you'd like some extra developer love. :ugeek:

panda78
Posts: 38
Joined: 22 Jan 2016, 18:45

Re: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 1

Post by panda78 » 25 Jan 2017, 14:03

thanks :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest