http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseException

Support for Ubuntu and other Desktop Linux distributions
Post Reply
noze2000
Donor
Posts: 22
Joined: 08 Feb 2015, 20:08

http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseException

Post by noze2000 »

Hello,

Filebot CLI used to work on my box but now gives errors. I bought the license but to no avail.
Not sure how to fix this?
An interesting thing is that when my OP runs the same command, there is no error and the actions get done.

Filebot version is 4.7.8

Really appreciate the help,

Thanks

Code: Select all

[code] noze:~/torrents/completed/movies$ filebot -script fn:amc --output ~/media --def ignore=".iso" --def minFileSize=0 --def minLengthMS=0 --action move -non-strict "/home/hd2/noze/torrents/completed/plex/" Run script [fn:amc] at [Sun Feb 16 22:20:36 CET 2020] Parameter: ignore = .iso Parameter: minFileSize = 0 Parameter: minLengthMS = 0 Argument[0]: /home/hd2/noze/torrents/completed/plex

----------------------------------- -----------------------------------

Dear Linux user, noze,

FileBot currently only officially supports Windows 10 and macOS because these platforms make it easy to sell FileBot via their respective app stores. Unfortunately, selling software on Ubuntu, Debian, Red Hat, SUSE, Synology NAS, QNAP NAS, etc is not as easy and not really worth the effort considering the small number of users willing to support the project. This Patreon is an experiment to see how many users are willing to financially contribute towards freely available donation-supported new releases on these platforms.

Please support FileBot for Linux with a pledge of $1 per release on Patreon:

=> https://www.patreon.com/filebot

If every other Linux user were to pledge a small amount of money to the FileBot project, then you could easily fund the project ten times over. Please financially support the software you use and rely on, be it FileBot or any other tool. It's just polite, and it helps the ecosystem.

Thank you, The FileBot Team

---------------------------------- -----------------------------------

Read archive [young.sheldon.s03e14.720p.hdtv.x264-avs.rar] and extract to [/home/hd2/noze/torrents/completed/plex/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/young.sheldon.s03e14.720p.hdtv.x264-avs/Young.Sheldon.S03E14.720p.HDTV.x264-AVS] Extracting files [/home/hd2/noze/torrents/completed/plex/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/young.sheldon.s03e14.720p.hdtv.x264-avs/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/Young.Sheldon.S03E14.720p.HDTV.x264-AVS.mkv] Input: /home/hd2/noze/torrents/completed/plex/The.Magicians.2015.S05E05.Apocalypse.Now.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG/The.Magicians.2015.S05E05.Apocalypse.Now.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.mkv Input: /home/hd2/noze/torrents/completed/plex/The.Magicians.2015.S05E06.Oops.I.Did.It.Again.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG/The.Magicians.2015.S05E06.Oops.I.Did.It.Again.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.mkv Input: /home/hd2/noze/torrents/completed/plex/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/young.sheldon.s03e14.720p.hdtv.x264-avs/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/Young.Sheldon.S03E14.720p.HDTV.x264-AVS.mkv Group: [tvs:the magicians 2015] => [The.Magicians.2015.S05E05.Apocalypse.Now.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.mkv, The.Magicians.2015.S05E06.Oops.I.Did.It.Again.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.mkv] Group: [tvs:young sheldon] => [Young.Sheldon.S03E14.720p.HDTV.x264-AVS.mkv] Rename episodes using [TheTVDB] Auto-detected query: [The Magicians 2015] Fetch failed: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseException: The element type "hr" must be terminated by the matching end-tag "".

301 Moved Permanently
CloudFront
at net.filebot.CachedResource.lambda$validateXml$5(CachedResource.java:173)
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:269)
at net.filebot.web.TheTVDBClientV1.getMirror(TheTVDBClientV1.java:243)
at net.filebot.web.TheTVDBClientV1.getResource(TheTVDBClientV1.java:273)
at net.filebot.web.TheTVDBClientV1.lambda$getXmlResource$8(TheTVDBClientV1.java:269)
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:269)
at net.filebot.web.TheTVDBClientV1.fetchSearchResult(TheTVDBClientV1.java:86)
at net.filebot.WebServices$TheTVDBClientWithLocalSearch.access$001(WebServices.java:129)
at net.filebot.WebServices$TheTVDBClientWithLocalSearch.lambda$fetchSearchResult$4(WebServices.java:151)
Caused by: org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 3; The element type "hr" must be terminated by the matching end-tag "". 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.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1749) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2967) 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:842) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771) 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:170) ... 14 more

ExecutionException: net.filebot.InvalidResponseException: Invalid XML: SAXParseException: The element type "hr" must be terminated by the matching end-tag "".

301 Moved Permanently
CloudFront
Rename episodes using [TheTVDB] Auto-detected query: [Young Sheldon] Fetch failed: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseException: The element type "hr" must be terminated by the matching end-tag "".

301 Moved Permanently
CloudFront
at net.filebot.CachedResource.lambda$validateXml$5(CachedResource.java:173)
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:269)
at net.filebot.web.TheTVDBClientV1.getMirror(TheTVDBClientV1.java:243)
at net.filebot.web.TheTVDBClientV1.getResource(TheTVDBClientV1.java:273)
at net.filebot.web.TheTVDBClientV1.lambda$getXmlResource$8(TheTVDBClientV1.java:269)
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:269)
at net.filebot.web.TheTVDBClientV1.fetchSearchResult(TheTVDBClientV1.java:86)
at net.filebot.WebServices$TheTVDBClientWithLocalSearch.access$001(WebServices.java:129)
at net.filebot.WebServices$TheTVDBClientWithLocalSearch.lambda$fetchSearchResult$4(WebServices.java:151)
Caused by: org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 3; The element type "hr" must be terminated by the matching end-tag "". 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.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1749) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2967) 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:842) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771) 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:170) ... 14 more

ExecutionException: net.filebot.InvalidResponseException: Invalid XML: SAXParseException: The element type "hr" must be terminated by the matching end-tag "".

301 Moved Permanently
CloudFront
Finished without processing any files Failure (°_°) You have new mail in /var/mail/root

[/code]
User avatar
rednoah
The Source
Posts: 23027
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseExcep

Post by rednoah »

Please try the latest beta revision for good measure.
:idea: Please read the FAQ and How to Request Help.
noze2000
Donor
Posts: 22
Joined: 08 Feb 2015, 20:08

Re: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseExcep

Post by noze2000 »

Below is when my OP runs it. No problems at all.

Could this have anything to do with my filebot license?
Thanks

Code: Select all

noze@zaria:~$ filebot -script fn:amc --output ~/media --def ignore=".iso" --def minFileSize=0 --def minLengthMS=0 --action move -non-strict "/home/hd2/noze/torrents/completed/plex/"
Run script [fn:amc] at [Mon Feb 17 13:08:13 CET 2020]
Parameter: ignore = .iso
Parameter: minFileSize = 0
Parameter: minLengthMS = 0
Argument[0]: /home/hd2/noze/torrents/completed/plex
Read archive [young.sheldon.s03e14.720p.hdtv.x264-avs.rar] and extract to [/home/hd2/noze/torrents/completed/plex/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/young.sheldon.s03e14.720p.hdtv.x264-avs/Young.Sheldon.S03E14.720p.HDTV.x264-AVS]
Skipped extracting files [/home/hd2/noze/torrents/completed/plex/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/young.sheldon.s03e14.720p.hdtv.x264-avs/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/Young.Sheldon.S03E14.720p.HDTV.x264-AVS.mkv]
Input: /home/hd2/noze/torrents/completed/plex/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/young.sheldon.s03e14.720p.hdtv.x264-avs/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/Young.Sheldon.S03E14.720p.HDTV.x264-AVS.mkv
Input: /home/hd2/noze/torrents/completed/plex/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/young.sheldon.s03e14.720p.hdtv.x264-avs/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/Young.Sheldon.S03E14.720p.HDTV.x264-AVS.mkv
xattr: [Young.Sheldon.S03E14.720p.HDTV.x264-AVS.mkv] => [Young Sheldon - 3x14 - A Slump, a Cross and Roadside Gravel]
xattr: [Young.Sheldon.S03E14.720p.HDTV.x264-AVS.mkv] => [Young Sheldon - 3x14 - A Slump, a Cross and Roadside Gravel]
Group: [Series:young sheldon] => [Young.Sheldon.S03E14.720p.HDTV.x264-AVS.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Young Sheldon]
Fetching episode data for [Young Sheldon]
Fetching episode data for [Young Samson]
[MOVE] from [/home/hd2/noze/torrents/completed/plex/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/young.sheldon.s03e14.720p.hdtv.x264-avs/Young.Sheldon.S03E14.720p.HDTV.x264-AVS/Young.Sheldon.S03E14.720p.HDTV.x264-AVS.mkv] to [/home/hd2/noze/media/TV Shows/Young Sheldon/Season 03/Young Sheldon - S03E14 - A Slump, a Cross and Roadside Gravel.mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 23027
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseExcep

Post by rednoah »

So it's working now? Upgrading to the latest and greatest presumably fixes the problem. FileBot 4.7.8 is very old and outdated, so I guess it mostly just doesn't work anymore.

noze2000 wrote: 01 Mar 2020, 19:35 Could this have anything to do with my filebot license?
No, it's not a license issue, unless there's a big friendly Stegosaurus telling you explicitly that there is a license issue. ;)

Code: Select all

 _________________________________
< I'm a big friendly Stegosaurus. >
 ---------------------------------
\                             .       .
 \                           / `.   .' "
  \                  .---.  <    > <    >  .---.
   \                 |    \  \ - ~ ~ - /  /    |
         _____          ..-~             ~-..-~
        |     |   \~~~\.'                    `./~~~/
       ---------   \__/                        \__/
      .'  O    \     /               /       \  "
     (_____,    `._.'               |         }  \/~~~/
      `----.          /       }     |        /    \__/
            `-.      |       /      |       /      `. ,~~|
                ~-.__|      /_ - ~ ^|      /- _      `..-'
                     |     /        |     /     ~-.     `-. _  _  _
                     |_____|        |_____|         ~ - . _ _ _ _ _>
:idea: Please read the FAQ and How to Request Help.
noze2000
Donor
Posts: 22
Joined: 08 Feb 2015, 20:08

Re: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseExcep

Post by noze2000 »

Sorry, I should be specific.
When I and the OP run the same command we get these two different results.
Consistently.

I realised I get the same non-working result when running that exact same command (diferent directories) filebot on my own machine.

My OP also does not get the "Dear Linux user, noze, FileBot currently only offic...." is there a reason for that?

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

Re: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseExcep

Post by rednoah »

Sounds like you're randomly using different versions of FileBot and thus getting different results.

The Patreon was our first attempt to find a sustainable source of funding. But it never materialized and so we opted for a more traditional software license scheme. That was many years ago... The version of FileBot showing this message must be ancient.
:idea: Please read the FAQ and How to Request Help.
noze2000
Donor
Posts: 22
Joined: 08 Feb 2015, 20:08

Re: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseExcep

Post by noze2000 »

So today I ran filebot manually and I get the below.

What does this mean?

Code: Select all

~$  sh /usr/bin/filebot -script fn:amc "/mnt/Disk1/Download/movies" --conflict override --def music=n --def "exec=chown -R nis:nis '{folder}/'" --def ut_label=movie --lang en --def subtitles=en --def ignore=".iso" --def "exec=chmod -R 775 '{folder}/'" --action move --def clean=y --def deleteAfterExtract=y --def movieFormat="/mnt/Disk6/{n} ({y})/{fn.length() > folder.name.length() ? fn.upperInitial().space('.').replaceAll(/\.Eng$/,'').replaceAll(/\.En$/,'').replaceAll(/\.en$/,'').replaceAll(/\.En$/,'') : folder.name.upperInitial().space('.')}" --def unsorted=y --def unsortedFormat="/mnt/Disk1/Download/UnsortedMovies/{folder.name}/{fn}.{ext}"
Current application revision (r7205) does not match cache revision (r4984): reset cache
Initialize new disk cache: /home/nis/.filebot/cache/1
User avatar
rednoah
The Source
Posts: 23027
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml net.filebot.InvalidResponseException: Invalid XML: SAXParseExcep

Post by rednoah »

That's normal logging when you upgrade and run FileBot for the first time. Not a concern. Unless you see that message each and every time you run FileBot.
:idea: Please read the FAQ and How to Request Help.
Post Reply