FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Any questions? Need some help?
Post Reply
mystik55
Posts: 3
Joined: 10 Jun 2017, 22:07

FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by mystik55 »

This error has just started cropping up for me. I've never had an issue in the past, but it's stopping filebot from executing.
It appears the file is not there; I checked with a regular browser.

Is there a way to bypass the requirement for this file? I couldn't find anything anywhere that references an option for it.

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

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by rednoah »

Please run filebot -script fn:sysinfo and post the output.
:idea: Please read the FAQ and How to Request Help.
mystik55
Posts: 3
Joined: 10 Jun 2017, 22:07

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by mystik55 »

Having some trouble:

Code: Select all

root@magicUbuntu:/n/central/Media/incoming/Tools/Filebot# filebot -script fn:sysinfo
FileNotFoundException: https://raw.githubusercontent.com/filebot/scripts/v4.5/sysinfo.groovy
java.io.FileNotFoundException: https://raw.githubusercontent.com/filebot/scripts/v4.5/sysinfo.groovy
        at net.filebot.web.WebRequest.fetch(WebRequest.java:116)
        at net.filebot.web.WebRequest.fetchIfModified(WebRequest.java:94)
        at net.filebot.web.CachedResource.fetchData(CachedResource.java:32)
        at net.filebot.web.CachedResource.fetchData(CachedResource.java:11)
        at net.filebot.web.AbstractCachedResource.fetch(AbstractCachedResource.java:133)
        at net.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:78)
        at net.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:201)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
        at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:109)
        at net.filebot.Main.main(Main.java:183)
Failure (°_°)
root@magicUbuntu:/n/central/Media/incoming/Tools/Filebot#
root@magicUbuntu:/n/central/Media/incoming/Tools/Filebot# ping raw.githubusercontent.com
PING github.map.fastly.net (151.101.128.133) 56(84) bytes of data.
64 bytes from 151.101.128.133: icmp_seq=1 ttl=56 time=14.0 ms
64 bytes from 151.101.128.133: icmp_seq=2 ttl=56 time=21.3 ms
^C
--- github.map.fastly.net ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 14.067/17.715/21.363/3.648 ms

root@magicUbuntu:/n/central/Media/incoming/Tools/Filebot# wget https://raw.githubusercontent.com/filebot/scripts/v4.5/sysinfo.groovy
--2017-06-13 16:17:10--  https://raw.githubusercontent.com/filebot/scripts/v4.5/sysinfo.groovy
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-06-13 16:17:10 ERROR 404: Not Found.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by rednoah »

Have you tried a recent version of FileBot?
:idea: Please read the FAQ and How to Request Help.
abhilzs
Posts: 9
Joined: 17 Jun 2017, 07:56

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by abhilzs »

I am starting to see the same issue with my Filebot application

FileNotFoundException: https://raw.githubusercontent.com/fileb ... nfo.groovy
java.io.FileNotFoundException: https://raw.githubusercontent.com/fileb ... nfo.groovy
at net.filebot.web.WebRequest.fetch(WebRequest.java:123)
at net.filebot.web.WebRequest.fetchIfModified(WebRequest.java:101)
at net.filebot.web.CachedResource.fetchData(CachedResource.java:28)
at net.filebot.web.CachedResource.fetchData(CachedResource.java:11)
at net.filebot.web.AbstractCachedResource.fetch(AbstractCachedResource.java:137)
at net.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:82)
at net.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:210)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:116)
at net.filebot.Main.main(Main.java:169)
Failure (°_°)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by rednoah »

Have you tried a recent version of FileBot?
:idea: Please read the FAQ and How to Request Help.
abhilzs
Posts: 9
Joined: 17 Jun 2017, 07:56

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by abhilzs »

My version is 4.6.1 -ubuntu..is there a newer version?

If so can you provide the steps to update it , i dont see any pending updates in the ubuntu store
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by rednoah »

What version of Ubuntu are you using? The old Ubuntu Store has been discontinued years ago. It doesn't exist anymore, so I won't be able to publish updates and you won't be able to download updates.

You can update to the latest version of Ubuntu and use the FileBot Snappy Package that should be available via the new Gnome Software app.
:idea: Please read the FAQ and How to Request Help.
abhilzs
Posts: 9
Joined: 17 Jun 2017, 07:56

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by abhilzs »

I am on 16.04 LTS. I am new to the Linux environment so need to look up what Gnome app and Snappy packages are :oops:
Let me try it out and see will let you know .
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by rednoah »

You'll probably need to upgrade to the latest release (i.e. Ubuntu 17.04) if you want to easily install & update FileBot via the new built-in Software Center.
:idea: Please read the FAQ and How to Request Help.
abhilzs
Posts: 9
Joined: 17 Jun 2017, 07:56

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by abhilzs »

I updated to 17.04 and was able to install a newer version of filebot. But now i cant access the folders that contain my files. It gives an error message saying "permission denied'
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by kim »

search for chmod command to change and fix it
abhilzs
Posts: 9
Joined: 17 Jun 2017, 07:56

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by abhilzs »

Is there a specific user/process/service for filebot that i should grant access to [using chown] ?

I had a similar issue with accessing these folders through plex. I was able to fix it by granting 'plex' access to those folders . Tried the same with 'filebot' but it didnt work.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by rednoah »

The snap package is running in a sandbox so it can't access files that are in system locations. FileBot will have access to your user home as well as network shares that you have mounted via GVFS.

If you make your own folders in / then it won't work. What is the path to the folder that contains your files?
:idea: Please read the FAQ and How to Request Help.
abhilzs
Posts: 9
Joined: 17 Jun 2017, 07:56

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by abhilzs »

The files are in /home/MediaHome/ . That is the location of the files that i am trying to access. That in itself is an external HDD mounted to that folder.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by rednoah »

Is MediaHome your username? Snapd security will not allow you access file paths that seem to belong to another user.

External drives should be mounted to /media where snap packages with removable-media capability are allowed to access files.

@see https://github.com/snapcore/snapd/wiki/ ... able-media
:idea: Please read the FAQ and How to Request Help.
abhilzs
Posts: 9
Joined: 17 Jun 2017, 07:56

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by abhilzs »

Sorry .. it is mounted at /home/abhilzs/MediaHome/ where abhilzs is my username.

According to one of the tutorials i followed while setting up the media server it had asked me to mount the drive to a folder in 'home' so i had set it up that way. Didnt know the implications of it that time.

In any case, when i try to access even the /media/ folder it gives me the same permission denied error message. So i dont think that is the problem.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by rednoah »

snapd is pretty new and it's somewhat enforcing certain practices that were previously up to the user. snapd should always allow full access to your home folder though, so you might wanna report this as a bug to the snapd developers.

Note that this issue is not about traditional Unix permissions, but AppArmor / SELinux access and permission rules.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by rednoah »

As a quick fix, I recommend installing FileBot via the command-line with security sandbox disabled:

Code: Select all

snap install filebot --devmode
@see https://askubuntu.com/questions/783945/ ... -for-snaps
:idea: Please read the FAQ and How to Request Help.
abhilzs
Posts: 9
Joined: 17 Jun 2017, 07:56

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by abhilzs »

:)

Ah !!! Finally ,this worked.

Thank you very much !!!
mutley
Posts: 2
Joined: 18 Jun 2015, 16:21

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by mutley »

I have this issue, and have other other dependancies that stop me upgrading Ubuntu. Why can't you simply just re-publish
http://app.filebot.net/data/exclude-blacklist.txt ?

Or if not, let me know the contents and I'll change the DNS on my network and publish it myself.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Post by rednoah »

1.
You could map app.filebot.net to a custom server that always responds with an empty file for each request. Keep in mind that just because this is the first issue that makes FileBot abort, doesn't mean that there won't a 2nd or 3rd issue that pops up once you fix the first one. Depending on how outdated your version of FileBot is, the format for some of the data files may have changed making them incompatible. It's not an easy fix.


2.
What dependencies can't be upgraded? Do you plan on never ever upgrading anything? (seems like a bad plan to me)
:idea: Please read the FAQ and How to Request Help.
Post Reply