Since last Update - Login for open subtitles and script n:miss doesn't work

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

Since last Update - Login for open subtitles and script n:miss doesn't work

Post by Predator2912 »

Hello Again,

since the Update to Filebot 4.6.9 / Filebot-Node 0.4.3 and rednoah Java2.17 the Login for open subtitles doesn't work anymore.

I have already tried the configuration under Filebot-Node and via commandline.
I also logged in to opensubtitles.org and changed my password, but I still get the following message every time:

"Process as TV Series [TV]
Please enter your login details by calling `filebot -script fn:configure`
"


After entering the username and password I get the message that everything was correct and still I get the message when running my task via scheduler.

Code: Select all

Set OpenSubtitles login details
Checking... OK

limit_check_by: user_id
user_id: 9222814
global_24h_download_limit: 200
client_ip: 37.201.231.110
client_24h_download_count: 0
client_download_quota: 1000
client_24h_download_limit: 1000
Done ヾ(@⌒ー⌒@)ノ
by the way the "-script fn:miss" also no longer works

Code: Select all

filebot -script fn:miss --log off /volume3/TV\ Serien/
Invalid Lookup: null [370775]
net.filebot.web.LookupException: Invalid Lookup: null [370775]
	at net.filebot.web.TheTVDBClient.getSeriesInfo(Unknown Source)
	at net.filebot.web.TheTVDBClient.fetchSeriesData(Unknown Source)
	at net.filebot.web.AbstractEpisodeListProvider.lambda$getSeriesData$1(Unknown Source)
	at net.filebot.Cache.computeIf(Unknown Source)
	at net.filebot.Cache$TypedCache.computeIf(Unknown Source)
	at net.filebot.Cache.computeIfAbsent(Unknown Source)
	at net.filebot.Cache$TypedCache.computeIfAbsent(Unknown Source)
	at net.filebot.web.AbstractEpisodeListProvider.getSeriesData(Unknown Source)
	at net.filebot.web.AbstractEpisodeListProvider.getEpisodeList(Unknown Source)
	at net.filebot.web.AbstractEpisodeListProvider.getEpisodeList(Unknown Source)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at Script1$_run_closure2.doCall(Script1.groovy:40)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at Script1.run(Script1.groovy:38)
	at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
	at net.filebot.cli.ScriptShell.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
	at net.filebot.Main.main(Unknown Source)


System Infos: DSM 6.2.4

Code: Select all

FileBot 4.9.6 (r9125)
JNA Native: 6.1.2
MediaInfo: 21.09
Tools: fpcalc/1.5.1 unrar/5.21 ffprobe/3.3.7
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-08-15 (r836)
Groovy: 3.0.9
JRE: OpenJDK Runtime Environment 18.0.2.1
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 2.1 GB Max Memory / 62 MB Used Memory
OS: Linux (amd64)
HW: Linux MadM4x-NAS 3.10.105 #25556 SMP Sat Aug 28 02:13:34 CST 2021 x86_64 GNU/Linux synology_braswell_916+
CPU/MEM: Intel(R) Pentium(R) CPU  N3710  @ 1.60GHz [MemTotal: 8 GB | MemFree: 126 MB | SwapCached: 11 MB | SwapTotal: 7 GB | SwapFree: 6 GB]
STORAGE: ext4 [/] @ 1.0 GB | btrfs [/volume9] @ 11 TB | btrfs [/volume4] @ 4.9 TB | btrfs [/volume3] @ 10 TB | btrfs [/volume1] @ 2.4 TB | btrfs [/volume6] @ 7 TB | btrfs [/volume7] @ 8 TB | btrfs [/volume8] @ 1.5 TB | btrfs [/volume5] @ 2.5 TB | btrfs [/volume2] @ 412 GB | ext4 [/volumeUSB2/usbshare] @ 1.8 TB | ext4 [/volumeUSB3/usbshare] @ 509 GB
USER: FileBot
DATA: /var/packages/filebot/target/data/106247
Package: SPK
License: FileBot License PX19270080 (Valid-Until: 2070-10-27)
Done ヾ(@⌒ー⌒@)ノ


What else can I try??
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

Re: Since last Update - Login for open subtitles and script n:miss doesn't work

Post by Predator2912 »

small update:

I have tried to further narrow down the error or problem for finding the missing episode.
Apparently, for whatever reason, some series have a problem with the files NOT being video.

As an example:

Code: Select all

filebot -mediainfo -r /volume3/TV\ Serien/Zwei\ Engel\ mit\ vier\ Fäusten\ \(1997\)/ --filter "id == 370775" --format "{series} | {f}"
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/extrafanart/fanart1.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/extrafanart/fanart2.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/extrathumbs/thumb1.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/extrathumbs/thumb2.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/season.nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E01 - Schwere Jungs_[624x352p]_[360p_XviD__2ch].nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E01 - Schwere Jungs_[624x352p]_[360p_XviD__2ch]-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E01 - Schwere Jungs_[624x352p]_XviD.nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E01 - Schwere Jungs_[624x352p]_XviD-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E02 - Auf und davon_[624x352p]_[360p_XviD__2ch].nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E02 - Auf und davon_[624x352p]_[360p_XviD__2ch]-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E02 - Auf und davon_[624x352p]_XviD.nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E02 - Auf und davon_[624x352p]_XviD-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E03 - Das Geheimnis der fünf Kirchen_[624x352p]_[360p_XviD__2ch].nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E03 - Das Geheimnis der fünf Kirchen_[624x352p]_[360p_XviD__2ch]-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E03 - Das Geheimnis der fünf Kirchen_[624x352p]_XviD.nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E03 - Das Geheimnis der fünf Kirchen_[624x352p]_XviD-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E04 - Alles Gute kommt von oben_[624x352p]_[360p_XviD__2ch].nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E04 - Alles Gute kommt von oben_[624x352p]_[360p_XviD__2ch]-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E04 - Alles Gute kommt von oben_[624x352p]_XviD.nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E04 - Alles Gute kommt von oben_[624x352p]_XviD-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E05 - Falsche Dollars_[624x352p]_[360p_XviD__2ch].nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E05 - Falsche Dollars_[624x352p]_[360p_XviD__2ch]-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E05 - Falsche Dollars_[624x352p]_XviD.nfo: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E05 - Falsche Dollars_[624x352p]_XviD-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E06 - Die Abrechnung_[624x352p]_[360p_XviD__2ch]-thumb.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/banner.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/fanart.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/poster.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/season01-poster.jpg: Binding "id": undefined
/volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/tvshow.nfo: Binding "id": undefined
Here you can see that there seem to be problems with jpg and nfo files.
Is there a way to fix this? Something like "refresh"

Or do I have to delete the jpg and nfo files and search them again via "Emby Metadatamanager"?

Another example:
Here you see that some Series worked...

Code: Select all

.
.
TheTVDB::362250 | Y: The Last Man - 1x01 - Der Tag davor | /volume3/TV Serien/Y The Last Man (2021)/Season 01/Y The Last Man (2021) - S01E01 - Der Tag davor_[TSCC-1920x1080p]_[1080p_AVC_WEB_6ch].mkv
TheTVDB::362250 | Y: The Last Man - 1x02 - Wie nett wäre die Welt | /volume3/TV Serien/Y The Last Man (2021)/Season 01/Y The Last Man (2021) - S01E02 - Wie nett wäre die Welt_[TSCC-1920x1080p]_[1080p_AVC_WEB_6ch].mkv
TheTVDB::362250 | Y: The Last Man - 1x03 - Neil | /volume3/TV Serien/Y The Last Man (2021)/Season 01/Y The Last Man (2021) - S01E03 - Neil_[TSCC-1920x1080p]_[1080p_AVC_WEB_6ch].mkv
TheTVDB::362250 | Y: The Last Man - 1x04 - Karen und Benji | /volume3/TV Serien/Y The Last Man (2021)/Season 01/Y The Last Man (2021) - S01E04 - Karen und Benji_[TSCC-1920x960p]_[1080p_x264_WEBRiP_6ch].mkv
TheTVDB::362250 | Y: The Last Man - 1x05 - Mann gesucht | /volume3/TV Serien/Y The Last Man (2021)/Season 01/Y The Last Man (2021) - S01E05 - Mann gesucht_[TSCC-1920x960p]_[1080p_x264_WEBRiP_6ch].mkv
TheTVDB::362250 | Y: The Last Man - 1x06 - Weird Al ist tot | /volume3/TV Serien/Y The Last Man (2021)/Season 01/Y The Last Man (2021) - S01E06 - Weird Al ist tot_[TSCC-1920x960p]_[1080p_x264_WEBRiP_6ch].mkv
TheTVDB::362250 | Y: The Last Man - 1x07 - Meine Mutter hat einen Affen gesehen | /volume3/TV Serien/Y The Last Man (2021)/Season 01/Y The Last Man (2021) - S01E07 - Meine Mutter hat einen Affen gesehen_[TSCC-1920x960p]_[1080p_x264_WEBRiP_6ch].mkv
TheTVDB::362250 | Y: The Last Man - 1x08 - Fertig. Zielen. Feuer. | /volume3/TV Serien/Y The Last Man (2021)/Season 01/Y The Last Man (2021) - S01E08 - Fertig. Zielen. Feuer._[TSCC-1920x960p]_[1080p_x264_WEBRiP_6ch].mkv
TheTVDB::362250 | Y: The Last Man - 1x09 - Peppers | /volume3/TV Serien/Y The Last Man (2021)/Season 01/Y The Last Man (2021) - S01E09 - Peppers_[TMSF-1920x1080p]_[1080p_AVC__6ch].mkv
TheTVDB::362250 | Y: The Last Man - 1x10 - Victoria | /volume3/TV Serien/Y The Last Man (2021)/Season 01/Y The Last Man (2021) - S01E10 - Victoria_[TMSF-1920x1080p]_[1080p_AVC__6ch].mkv
TheTVDB::257488 | Zwei Engel mit vier Fäusten - 1x01 - Schwere Jungs | /volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E01 - Schwere Jungs_[624x352p]_[360p_XviD__2ch].avi
TheTVDB::257488 | Zwei Engel mit vier Fäusten - 1x02 - Auf und davon | /volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E02 - Auf und davon_[624x352p]_[360p_XviD__2ch].avi
TheTVDB::257488 | Zwei Engel mit vier Fäusten - 1x03 - Das Geheimnis der fünf Kirchen | /volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E03 - Das Geheimnis der fünf Kirchen_[624x352p]_[360p_XviD__2ch].avi
TheTVDB::257488 | Zwei Engel mit vier Fäusten - 1x04 - Alles Gute kommt von oben | /volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E04 - Alles Gute kommt von oben_[624x352p]_[360p_XviD__2ch].avi
TheTVDB::257488 | Zwei Engel mit vier Fäusten - 1x05 - Falsche Dollars | /volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E05 - Falsche Dollars_[624x352p]_[360p_XviD__2ch].avi
TheTVDB::257488 | Zwei Engel mit vier Fäusten - 1x06 - Die Abrechnung | /volume3/TV Serien/Zwei Engel mit vier Fäusten (1997)/Season 01/Zwei Engel mit vier Fäusten (1997) - S01E06 - Die Abrechnung_[624x352p]_[360p_XviD__2ch].avi
Invalid Lookup: null [370775]
net.filebot.web.LookupException: Invalid Lookup: null [370775]
	at net.filebot.web.TheTVDBClient.getSeriesInfo(Unknown Source)
	at net.filebot.web.TheTVDBClient.fetchSeriesData(Unknown Source)
	at net.filebot.web.AbstractEpisodeListProvider.lambda$getSeriesData$1(Unknown Source)
	at net.filebot.Cache.computeIf(Unknown Source)
	at net.filebot.Cache$TypedCache.computeIf(Unknown Source)
	at net.filebot.Cache.computeIfAbsent(Unknown Source)
	at net.filebot.Cache$TypedCache.computeIfAbsent(Unknown Source)
	at net.filebot.web.AbstractEpisodeListProvider.getSeriesData(Unknown Source)
	at net.filebot.web.AbstractEpisodeListProvider.getEpisodeList(Unknown Source)
	at net.filebot.web.AbstractEpisodeListProvider.getEpisodeList(Unknown Source)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at Script1$_run_closure2.doCall(Script1.groovy:40)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at Script1.run(Script1.groovy:38)
	at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
	at net.filebot.cli.ScriptShell.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
	at net.filebot.Main.main(Unknown Source)

So what can i do to fix it?
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Since last Update - Login for open subtitles and script n:miss doesn't work

Post by rednoah »

Note that each user has its own application data folder, and thus its own configuration files. So you need to enter your configuration once for each user that is running filebot.


:arrow: You will need to call filebot -script fn:configure as the user that is running filebot. If you're using FileBot Node then you can (and should) enter your OpenSubtitles login information via the WebUI.

Image



:arrow: If you're also running filebot via SSH (typically as your admin user, as opposed to the filebot package-specific user) then you may need to call filebot -script fn:configure as that user as well.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Since last Update - Login for open subtitles and script n:miss doesn't work

Post by rednoah »

rednoah wrote: 18 Oct 2022, 05:10 By the way the "-script fn:miss" also no longer works

Code: Select all

filebot -script fn:miss --log off /volume3/TV\ Serien/
Invalid Lookup: null [370775]
...
You seem to have processed some files and select a series that has since been removed from TheTVDB. You will need to re-process this set of files and select We Are Angels | TheTVDB::257488 instead.


:idea: We could modify the miss script to catch this kind of problem and print a better error message. However, the miss script can only either ignore the problem or abort at this point, since fixing the root cause of the problem requires re-processing and re-tagging the files with the correct xattr metadata.


EDIT:

-script dev:miss improves error feedback:
https://github.com/filebot/scripts/comm ... 77597dcf49
:idea: Please read the FAQ and How to Request Help.
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

Re: Since last Update - Login for open subtitles and script n:miss doesn't work

Post by Predator2912 »

rednoah wrote: 18 Oct 2022, 05:10 Note that each user has its own application data folder, and thus its own configuration files. So you need to enter your configuration once for each user that is running filebot.
I just tested it again with the same user and password for open-subtitle.

- Logged in as admin in the WebGUI and with filebot node it works without problems.

- Logged in as admin via SSH and ran "filebot -script fn:configure" with no errors.
Then the task is executed via the scheduler as admin, but here I always get (via email) the message "Please enter your login details by calling `filebot -script fn:configure`".

If I understood you correctly, this should also work via the scheduler or not? Both are executed via the admin user.
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Since last Update - Login for open subtitles and script n:miss doesn't work

Post by rednoah »

If executed as the same user, then it should indeed work. The filebot process itself doesn't know or care if it's called via SSH or by Synology Task Scheduler or something else, so everything works the same in the same environment.

:?: What does filebot -script fn:sysinfo say when you're running it yourself via SSH?

:?: What does filebot -script fn:sysinfo say when it's executed via the Synology Task Scheduler?
:idea: Please read the FAQ and How to Request Help.
Predator2912
Posts: 64
Joined: 20 May 2017, 17:51

Re: Since last Update - Login for open subtitles and script n:miss doesn't work

Post by Predator2912 »

admin via ssh:

Code: Select all

filebot -script fn:sysinfo
FileBot 4.9.6 (r9125)
JNA Native: 6.1.2
MediaInfo: 21.09
Tools: fpcalc/1.5.1 unrar/5.21 ffprobe/3.3.7
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-08-15 (r836)
Groovy: 3.0.9
JRE: OpenJDK Runtime Environment 18.0.2.1
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 2.1 GB Max Memory / 61 MB Used Memory
OS: Linux (amd64)
HW: Linux MadM4x-NAS 3.10.105 #25556 SMP Sat Aug 28 02:13:34 CST 2021 x86_64 GNU/Linux synology_braswell_916+
CPU/MEM: Intel(R) Pentium(R) CPU  N3710  @ 1.60GHz [MemTotal: 8 GB | MemFree: 133 MB | SwapCached: 4.3 MB | SwapTotal: 7 GB | SwapFree: 7 GB]
STORAGE: ext4 [/] @ 1.0 GB | btrfs [/volume9] @ 11 TB | btrfs [/volume4] @ 4.9 TB | btrfs [/volume3] @ 10 TB | btrfs [/volume1] @ 2.4 TB | btrfs [/volume6] @ 7 TB | btrfs [/volume7] @ 8 TB | btrfs [/volume8] @ 1.5 TB | btrfs [/volume5] @ 2.5 TB | btrfs [/volume2] @ 524 GB | ext4 [/volumeUSB2/usbshare] @ 1.8 TB | ext4 [/volumeUSB3/usbshare] @ 509 GB
USER: admin
DATA: /var/packages/filebot/target/data/1024
Package: SPK
Activate License [PX19270080] on [Thu Oct 20 13:53:37 CEST 2022]
License: FileBot License PX19270080 (Valid-Until: 2070-10-27)
Done ヾ(@⌒ー⌒@)ノ
filebot-node via WebGui as admin user

Code: Select all

filebot -script 'fn:sysinfo' --log-file '/var/packages/filebot-node/target/data/filebot.log'

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

FileBot 4.9.6 (r9125)
JNA Native: 6.1.2
MediaInfo: 21.09
Tools: fpcalc/1.5.1 unrar/5.21 ffprobe/3.3.7
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-08-15 (r836)
Groovy: 3.0.9
JRE: OpenJDK Runtime Environment 18.0.2.1
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 2.1 GB Max Memory / 62 MB Used Memory
OS: Linux (amd64)
HW: Linux MadM4x-NAS 3.10.105 #25556 SMP Sat Aug 28 02:13:34 CST 2021 x86_64 GNU/Linux synology_braswell_916+
CPU/MEM: Intel(R) Pentium(R) CPU  N3710  @ 1.60GHz [MemTotal: 8 GB | MemFree: 133 MB | SwapCached: 4.4 MB | SwapTotal: 7 GB | SwapFree: 7 GB]
STORAGE: ext4 [/] @ 1.0 GB | btrfs [/volume9] @ 11 TB | btrfs [/volume4] @ 4.9 TB | btrfs [/volume3] @ 10 TB | btrfs [/volume1] @ 2.4 TB | btrfs [/volume6] @ 7 TB | btrfs [/volume7] @ 8 TB | btrfs [/volume8] @ 1.5 TB | btrfs [/volume5] @ 2.5 TB | btrfs [/volume2] @ 524 GB | ext4 [/volumeUSB2/usbshare] @ 1.8 TB | ext4 [/volumeUSB3/usbshare] @ 509 GB
USER: FileBot
DATA: /var/packages/filebot/target/data/106247
Package: SPK
License: FileBot License PX19270080 (Valid-Until: 2070-10-27)
Done ヾ(@⌒ー⌒@)ノ

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

[Process completed]
and last but not least via Scheduler with admin user

Code: Select all

Aufgabe: test_sys_filebot
Startzeit: Thu, 20 Oct 2022 14:05:41 GMT
Stoppzeit: Thu, 20 Oct 2022 14:05:48 GMT
Aktueller Status: 0 (Normal)
Standardausgabe/Fehler:
FileBot 4.9.6 (r9125)
JNA Native: 6.1.2
MediaInfo: 21.09
Tools: fpcalc/1.5.1 unrar/5.21 ffprobe/3.3.7
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-08-15 (r836)
Groovy: 3.0.9
JRE: OpenJDK Runtime Environment 18.0.2.1
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 2.1 GB Max Memory / 61 MB Used Memory
OS: Linux (amd64)
HW: Linux MadM4x-NAS 3.10.105 #25556 SMP Sat Aug 28 02:13:34 CST 2021 x86_64 GNU/Linux synology_braswell_916+
CPU/MEM: Intel(R) Pentium(R) CPU  N3710  @ 1.60GHz [MemTotal: 8 GB | MemFree: 133 MB | SwapCached: 4.4 MB | SwapTotal: 7 GB | SwapFree: 7 GB]
STORAGE: ext4 [/] @ 1.0 GB | btrfs [/volume9] @ 11 TB | btrfs [/volume4] @ 4.9 TB | btrfs [/volume3] @ 10 TB | btrfs [/volume1] @ 2.4 TB | btrfs [/volume6] @ 7 TB | btrfs [/volume7] @ 8 TB | btrfs [/volume8] @ 1.5 TB | btrfs [/volume5] @ 2.5 TB | btrfs [/volume2] @ 524 GB | ext4 [/volumeUSB2/usbshare] @ 1.8 TB | ext4 [/volumeUSB3/usbshare] @ 509 GB
USER: admin
DATA: /var/packages/filebot/target/data/1024
Package: SPK
License: FileBot License PX19270080 (Valid-Until: 2070-10-27)
Done ヾ(@⌒ー⌒@)ノ

and here is a small update to the problem with fn:miss
I have tried to further isolate the problem and the errors related to the "Binding "id": undefined" message and "fn:miss".
In the meantime, I think that there is a lot more wrong than was apparent at the beginning.

I noticed the following error message for a folder or series, which was new to me until then.
here is an example:

Code: Select all

/volume3/TV Serien/The Valhalla Murders (2019)/Season 01/The Valhalla Murders (2019) - S01E02 - Die Rückkehr_[1920x1080p]_[1080p_x264__6ch].mkv
/volume3/TV Serien/The Valhalla Murders (2019)/Season 01/.xattr/The Valhalla Murders (2019) - S01E02 - Die Rückkehr_[1920x1080p]_[1080p_x264__6ch].mkv: Too many open files
java.lang.RuntimeException: java.nio.file.FileSystemException: /volume3/TV Serien/The Valhalla Murders (2019)/Season 01/.xattr/The Valhalla Murders (2019) - S01E02 - Die Rückkehr_[1920x1080p]_[1080p_x264__6ch].mkv: Too many open files
	at net.filebot.MetaAttributeView.list(Unknown Source)
	at net.filebot.MetaAttributeView.entrySet(Unknown Source)
	at Script1$_run_closure2.doCall(Script1.groovy:11)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at Script1.run(Script1.groovy:9)
	at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
	at net.filebot.cli.ScriptShell.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
	at net.filebot.Main.main(Unknown Source)
Caused by: java.nio.file.FileSystemException: /volume3/TV Serien/The Valhalla Murders (2019)/Season 01/.xattr/The Valhalla Murders (2019) - S01E02 - Die Rückkehr_[1920x1080p]_[1080p_x264__6ch].mkv: Too many open files
	at net.filebot.util.PlainFileXattrView.list(Unknown Source)
	... 10 more
The message "Too many open files" and "Too many open files at net.filebot.util.PlainFileXattrView.list(Unknown Source)" I read today for the first time.
What causes this error and more importantly, how can I fix it?
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Since last Update - Login for open subtitles and script n:miss doesn't work

Post by rednoah »

SSH and Scheduler are using the same application data folder, and so things will work exactly the same:

Code: Select all

DATA: /var/packages/filebot/target/data/1024
** if it doesn't work the same, then you're most likely not doing what you think you're doing
**** or maybe it can't read the configuration file because of the file handle system limit, though we should have seen an error in the console output - but possibly not the log file - if that was the case



:idea: You can check your user-specific settings like so:

Code: Select all

cat /var/packages/filebot/target/data/1024/prefs.properties

:idea: You can run the configure script in the same context as the amc script to set your settings irregardless of the context your script happens to be called in:

Code: Select all

filebot -script fn:configure --def osdbUser="$USER" --def osdbPwd="$PASS"
filebot -script fn:amc ...
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Since last Update - Login for open subtitles and script n:miss doesn't work

Post by rednoah »

Too many open files is a generic Linux error, and there's probably nothing you can do about it, other than rebooting your NAS and not running whatever program is exhausting the file handle limit on your device:
https://www.howtogeek.com/805629/too-ma ... les-linux/


:?: What file handle limit is set on your NAS?

Code: Select all

cat /proc/sys/fs/file-max

:arrow: You may want to report the issue to the manufacturer so they can configure their OS with a higher file handle limit.
:idea: Please read the FAQ and How to Request Help.
Post Reply