Qbittorrent failing to run external program Filebot AMC Script

Support for Ubuntu and other Desktop Linux distributions
Post Reply
cartman1973
Posts: 5
Joined: 12 Jan 2024, 08:38

Qbittorrent failing to run external program Filebot AMC Script

Post by cartman1973 »

Apologies for having to ask this but I am at my wits' end. I have searched and read and learned a lot but I cannot find a solution that works for my system. I am new to Linux (sorry again).

Issue
Calling the Filebot AMC Script from Qbittorrent's 'Run external program-->Run on torrent finished' fails. The input and output folders are on different computers, with the output folder being a mounted network folder.

What I have tried
I have tried using the filebot debug script, and although Qbittorrent appears to call it correctly, the log in the /tmp folder is not updated unless I invoke it manually from the terminal.

When run from the terminal the following script (i.e. the one I am trying to fix), located on the target system (asgardplex) but invoked from the source system (Monty) the following script works fine:

Code: Select all

filebot -script fn:amc --output "/media/gavin/asgardplex" --action duplicate --conflict skip -non-strict --log-file amc.log --def excludeList=amc.excludes unsorted=y music=y artwork=y ut_kind="multi" ut_dir="/home/gavin/BBTDownloads/complete" plex=*.*.*.*:******************
I can see from the Qbittorrent execution log https://pastebin.com/4zJzKfpD that when I use the script above but replace the input folder with '%F' it is recognised properly by Qbittorrent, but it still fails to run

Code: Select all

filebot -script fn:amc --output "/media/gavin/asgardplex" --action duplicate --conflict skip -non-strict --log-file amc.log --def excludeList=amc.excludes unsorted=y music=y artwork=y ut_kind="multi" ut_dir="%F" plex=*.*.*.*:******************
When I tried adding '/bin/bash' to the start of the command in Qbittorrent (as I had seen other posts suggest) it does then say that it is running the program, but then it still does nothing, presumably (I am guessing and out of my depth here) because the script isn't in the right shell script format for use with bash? I have tried specifying what I believe is the symbolic link to filebot

Code: Select all

/usr/bin/filebot.sh
and also what I think is the absolute path

Code: Select all

/usr/share/filebot
but cannot get anything to work.

Any help to get this working would be very much appreciated as having to do the script manually is a bit of a pain.

Thanks in advance.

About my setup
My OS is Linux Mint:

Code: Select all

Linux Monty 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
qBittorrent v4.6.2 (64-bit)
My filebot system information https://pastebin.com/Rh1ii3cq
Filebot logs of last two days of trying to get this to work https://pastebin.com/ap7aRuJ1
Qbittorrent execution log https://pastebin.com/4zJzKfpD
User avatar
rednoah
The Source
Posts: 23000
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Qbittorrent failing to run external program Filebot AMC Script

Post by rednoah »

cartman1973 wrote: 12 Jan 2024, 09:17 I have tried using the filebot debug script, and although Qbittorrent appears to call it correctly, the log in the /tmp folder is not updated unless I invoke it manually from the terminal.
I will stop you right here, because "the /tmp folder is not updated" immediately tells us that nothing is called, or less likely, that /tmp is not writable by the qBT process. We absolutely want to start with "qBT calls our script and our script does something that confirms that our script was definitely and verifiably called". So it's all Shell Script Debugging for Beginners an no amc script until we have covered our bases.


:?: Does /home/gavin/debug.sh work at all? How did you confirm this? (you just run it yourself to confirm)


:?: Does /home/gavin/debug.sh work for the user that qBT is running as? What user / group is qBT running as? What permission (e.g. to your home folder; to the /tmp folder; etc) does this user have? (you do ls -l /path to check permissions)





cartman1973 wrote: 12 Jan 2024, 09:17 what I think is the absolute path
You can use the which command to find the absolute path to an executable like so:

Shell: Select all

ls -l `which filebot`
You will then want to call /path/to/filebot -version to confirm that the path you got actually works:

Shell: Select all

/usr/bin/filebot -version
:idea: Please read the FAQ and How to Request Help.
cartman1973
Posts: 5
Joined: 12 Jan 2024, 08:38

Re: Qbittorrent failing to run external program Filebot AMC Script

Post by cartman1973 »

Right, okay that makes sense - thanks.
Does /home/gavin/debug.sh work at all? How did you confirm this?
I believe it is working because when I ran it in terminal it generated six text files in the /tmp folder:
filebot.sysenv.txt https://pastebin.com/NzaS6FKH
filebot-sysinfo.txt https://pastebin.com/FpqCn3pW
printenv.txthttps://pastebin.com/NrKrkAFg
and three other small files about the date and software / java versions (info already provided).
Does /home/gavin/debug.sh work for the user that qBT is running as? What user / group is qBT running as? What permission (e.g. to your home folder; to the /tmp folder; etc) does this user have?
Using ls -l I found the following in the various folders:
in /home/gavin:

Code: Select all

-rwxr-xr-x  1 gavin gavin    469 Jan 12 08:04  debug.sh
and in /home/gavin/tmp:

Code: Select all

gavin@Monty:/tmp$ ls -l
total 80
-rw------- 1 gavin gavin     0 Jan 12 04:53 config-err-E5pGN5
-rw-rw-r-- 1 gavin gavin    29 Jan 12 10:26 date.txt
-rw-rw-r-- 1 gavin gavin 12908 Jan 12 10:26 filebot-sysenv.txt
-rw-rw-r-- 1 gavin gavin  7791 Jan 12 10:26 filebot-sysinfo.txt
-rw-rw-r-- 1 gavin gavin    61 Jan 12 10:26 filebot-version.txt
drwxr-xr-x 2 gavin gavin  4096 Jan 12 10:26 hsperfdata_gavin
-rw-rw-r-- 1 gavin gavin   199 Jan 12 10:26 java-version.txt
drwxrwxrwx 2 gavin gavin  4096 Jan 12 04:53 mintUpdate
-rw-rw-r-- 1 gavin gavin  3098 Jan 12 10:26 printenv.txt
drwx------ 2 gavin gavin  4096 Jan 12 04:53 runtime-gavin
drwx------ 3 root  root   4096 Jan 12 04:53 systemd-private-572e60f1cc054c3f9c62a21584f8d422-colord.service-rJMfQC
drwx------ 3 root  root   4096 Jan 12 04:51 systemd-private-572e60f1cc054c3f9c62a21584f8d422-ModemManager.service-5mwH2B
drwx------ 3 root  root   4096 Jan 12 04:51 systemd-private-572e60f1cc054c3f9c62a21584f8d422-systemd-logind.service-YRPDtQ
drwx------ 3 root  root   4096 Jan 12 04:51 systemd-private-572e60f1cc054c3f9c62a21584f8d422-systemd-resolved.service-ui6ifD
drwx------ 3 root  root   4096 Jan 12 04:51 systemd-private-572e60f1cc054c3f9c62a21584f8d422-systemd-timesyncd.service-TM9DUb
drwx------ 3 root  root   4096 Jan 12 04:51 systemd-private-572e60f1cc054c3f9c62a21584f8d422-upower.service-Apq3OP
srwxr-xr-x 1 gavin gavin     0 Jan 12 04:53 TorGuard-Service
-rw-rw-r-- 1 gavin gavin     6 Jan 12 10:26 whoami.txt
I am not entirely sure which user Qbittorrent runs 'as' - I assume it is 'gavin' as that is the only user I ever log in as? Sorry if I should know this.
You can use the which command to find the absolute path to an executable like so:
This is the result I get, which I don't understand

Code: Select all

gavin@Monty:/$ ls -l 'which filebot'
ls: cannot access 'which filebot': No such file or directory
because also when I do the next part

Code: Select all

gavin@Monty:/$ /usr/bin/filebot -version
FileBot 5.1.2 (r10125) / OpenJDK Runtime Environment 11.0.21
and that doesn't change even if I do it from the /usr/bin folder?
User avatar
rednoah
The Source
Posts: 23000
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Qbittorrent failing to run external program Filebot AMC Script

Post by rednoah »

:!: Note that all the pastes from the post above are private, so I couldn't look at them.


:idea: Permissions look good. If you're running the qBT application by launching it via the app launcher then it should be running as your user. (NOTE: running background services as their own user / group with limited permissions is common on Linux, especially for non-Desktop applications / services that run in the background)


:!: ` (backtick) and ' (apostrophe) are not the same, copy & paste, don't type:

Shell: Select all

ls -l `which filebot`

:idea: Use this command to delete all the *.txt files in the /tmp folder, to reset the test case, because we want to know if qBT can run our script which then creates these files, so we need to delete those files after each test case to clear the playing field:

Shell: Select all

rm -v /tmp/*.txt





EDIT:

Do note that qBT logs look good to me. Nothing can go wrong here. The script exists, should be called fine, should execute line by line fine, and thus create the various /tmp/*.txt files that subsequently confirm that the script did run:

Code: Select all

12/01/2024 08:16 - Running external program. Torrent: "...". Command: `/home/gavin/debug.sh`
The /tmp/filebot-sysenv.txt in particular should print the parent process tree, so it'll tell you if qBT is the parent process calling bash executing your script calling filebot executing the sysenv script.
:idea: Please read the FAQ and How to Request Help.
cartman1973
Posts: 5
Joined: 12 Jan 2024, 08:38

Re: Qbittorrent failing to run external program Filebot AMC Script

Post by cartman1973 »

Note that all the pastes from the post above are private, so I couldn't look at them.
:oops: I have checked and they are all public but they seem to be 'pending moderation' which I guess is the problem. The ones from my first post should be fine but the second ones maybe aren't available yet..?

Here is the output from /tmp/filebot-sysenv.txt that you can't access from pastebin:

Code: Select all

# Application Bundle
FileBot 5.1.2 (r10125) / Groovy 4.0.15 / OpenJDK Runtime Environment 11.0.21 / Linux 5.15.0-91-generic (amd64)
# Local Time
Fri Jan 12 10:26:03 GMT 2024
# Process Tree
└─ /usr/lib/systemd/systemd
└─ /usr/libexec/gnome-terminal-server
└─ /usr/bin/bash
└─ /usr/bin/bash
└─ /usr/bin/dash
└─ /usr/bin/dash
└─ /usr/lib/jvm/java-11-openjdk-amd64/bin/java
# Environment Variables
CINNAMON_VERSION = 5.6.8
COLORTERM = truecolor
DBUS_SESSION_BUS_ADDRESS = unix:path=/run/user/1000/bus
DESKTOP_SESSION = cinnamon
DISPLAY = :0
GDMSESSION = cinnamon
GDM_LANG = en_GB
GNOME_DESKTOP_SESSION_ID = this-is-deprecated
GNOME_TERMINAL_SCREEN = /org/gnome/Terminal/screen/5d3cb539_3a5c_45dd_8903_92552da69ce0
GNOME_TERMINAL_SERVICE = :1.106
GPG_AGENT_INFO = /run/user/1000/gnupg/S.gpg-agent:0:1
GTK3_MODULES = xapp-gtk3-module
GTK_MODULES = gail:atk-bridge
GTK_OVERLAY_SCROLLING = 1
HOME = /home/gavin
LANG = en_GB.UTF-8
LANGUAGE = en_GB:en
LESSCLOSE = /usr/bin/lesspipe %s %s
LESSOPEN = | /usr/bin/lesspipe %s
LOGNAME = gavin
LS_COLORS = rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
OLDPWD = /home
PATH = /home/gavin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD = /home/gavin
QT_ACCESSIBILITY = 1
QT_QPA_PLATFORMTHEME = qt5ct
SESSION_MANAGER = local/Monty:@/tmp/.ICE-unix/1439,unix/Monty:/tmp/.ICE-unix/1439
SHELL = /bin/bash
SHLVL = 2
SSH_AUTH_SOCK = /run/user/1000/keyring/ssh
TERM = xterm-256color
USER = gavin
VTE_VERSION = 6800
XAUTHORITY = /home/gavin/.Xauthority
XDG_CONFIG_DIRS = /etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP = X-Cinnamon
XDG_DATA_DIRS = /usr/share/cinnamon:/usr/share/gnome:/home/gavin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR = /var/lib/lightdm-data/gavin
XDG_RUNTIME_DIR = /run/user/1000
XDG_SEAT = seat0
XDG_SEAT_PATH = /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS = user
XDG_SESSION_DESKTOP = cinnamon
XDG_SESSION_ID = c2
XDG_SESSION_PATH = /org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE = x11
XDG_VTNR = 7
_ = ./debug.sh
# Java System Properties
application.cache = /home/gavin/.filebot/cache
application.deployment = deb
application.dir = /home/gavin/.filebot
awt.toolkit = sun.awt.X11.XToolkit
awt.useSystemAAFontSettings = on
file.encoding = UTF-8
file.separator = /
grape.root = /home/gavin/.filebot/grape
http.agent = FileBot/5.1.2
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path = /usr/share/filebot/jar/filebot.jar
java.class.version = 55.0
java.home = /usr/lib/jvm/java-11-openjdk-amd64
java.io.tmpdir = /home/gavin/.filebot/tmp
java.library.path = /usr/lib/x86_64-linux-gnu/jni
java.net.useSystemProxies = false
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 11.0.21+9-post-Ubuntu-0ubuntu122.04
java.specification.maintenance.version = 2
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 11
java.vendor = Ubuntu
java.vendor.url = https://ubuntu.com/
java.vendor.url.bug = https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
java.version = 11.0.21
java.version.date = 2023-10-17
java.vm.compressedOopsMode = Zero based
java.vm.info = mixed mode, sharing
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 11
java.vm.vendor = Ubuntu
java.vm.version = 11.0.21+9-post-Ubuntu-0ubuntu122.04
jdk.debug = release
jdk.logger.packages = net.filebot.Logging
jdk.module.path = /usr/share/openjfx/lib
jna.boot.library.name = jnidispatch.system
jna.boot.library.path = /usr/lib/x86_64-linux-gnu/jni
jna.library.path = /usr/lib/x86_64-linux-gnu/jni
jna.noclasspath = true
jna.nosys = false
jna.nounpack = true
line.separator = ↲
net.filebot.archive.extractor = ShellExecutables
net.filebot.gio.GVFS = /run/user/1000/gvfs
net.filebot.logging.debug = INFO
net.filebot.web.WebRequest.v1 = true
org.apache.commons.logging.Log = org.apache.commons.logging.impl.NoOpLog
os.arch = amd64
os.name = Linux
os.version = 5.15.0-91-generic
path.separator = :
prism.order = sw
sun.arch.data.model = 64
sun.boot.library.path = /usr/lib/jvm/java-11-openjdk-amd64/lib
sun.cpu.endian = little
sun.cpu.isalist = 
sun.desktop = gnome
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = /usr/share/filebot/jar/filebot.jar -script fn:sysenv
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.net.client.defaultConnectTimeout = 10000
sun.net.client.defaultReadTimeout = 60000
sun.os.patch.level = unknown
unixfs = false
useCreationDate = false
useExtendedFileAttributes = true
useGVFS = true
user.country = GB
user.dir = /home/gavin
user.home = /home/gavin
user.language = en
user.name = gavin
user.timezone = Europe/London
# Arguments
└─ -script
└─ fn:sysenv
Script Bundle: 2023-11-06 (r952)

# Local Time #
Fri Jan 12 10:26:04 GMT 2024

# Process Tree #
/usr/lib/systemd/systemd
└─ /usr/libexec/gnome-terminal-server
   └─ /usr/bin/bash
      └─ /usr/bin/bash
         └─ /usr/bin/dash
            └─ /usr/bin/dash
               └─ /usr/lib/jvm/java-11-openjdk-amd64/bin/java

# Environment Variables #
CINNAMON_VERSION: 5.6.8
COLORTERM: truecolor
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
DESKTOP_SESSION: cinnamon
DISPLAY: :0
GDMSESSION: cinnamon
GDM_LANG: en_GB
GNOME_DESKTOP_SESSION_ID: this-is-deprecated
GNOME_TERMINAL_SCREEN: /org/gnome/Terminal/screen/5d3cb539_3a5c_45dd_8903_92552da69ce0
GNOME_TERMINAL_SERVICE: :1.106
GPG_AGENT_INFO: /run/user/1000/gnupg/S.gpg-agent:0:1
GTK3_MODULES: xapp-gtk3-module
GTK_MODULES: gail:atk-bridge
GTK_OVERLAY_SCROLLING: 1
HOME: /home/gavin
LANG: en_GB.UTF-8
LANGUAGE: en_GB:en
LESSCLOSE: /usr/bin/lesspipe %s %s
LESSOPEN: | /usr/bin/lesspipe %s
LOGNAME: gavin
LS_COLORS: rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
OLDPWD: /home
PATH: /home/gavin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD: /home/gavin
QT_ACCESSIBILITY: 1
QT_QPA_PLATFORMTHEME: qt5ct
SESSION_MANAGER: local/Monty:@/tmp/.ICE-unix/1439,unix/Monty:/tmp/.ICE-unix/1439
SHELL: /bin/bash
SHLVL: 2
SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
TERM: xterm-256color
USER: gavin
VTE_VERSION: 6800
XAUTHORITY: /home/gavin/.Xauthority
XDG_CONFIG_DIRS: /etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP: X-Cinnamon
XDG_DATA_DIRS: /usr/share/cinnamon:/usr/share/gnome:/home/gavin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR: /var/lib/lightdm-data/gavin
XDG_RUNTIME_DIR: /run/user/1000
XDG_SEAT: seat0
XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS: user
XDG_SESSION_DESKTOP: cinnamon
XDG_SESSION_ID: c2
XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE: x11
XDG_VTNR: 7
_: ./debug.sh

# Java System Properties #
application.cache: /home/gavin/.filebot/cache
application.deployment: deb
application.dir: /home/gavin/.filebot
awt.toolkit: sun.awt.X11.XToolkit
awt.useSystemAAFontSettings: on
file.encoding: UTF-8
file.separator: /
grape.root: /home/gavin/.filebot/grape
http.agent: FileBot/5.1.2
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.awt.printerjob: sun.print.PSPrinterJob
java.class.path: /usr/share/filebot/jar/filebot.jar
java.class.version: 55.0
java.home: /usr/lib/jvm/java-11-openjdk-amd64
java.io.tmpdir: /home/gavin/.filebot/tmp
java.library.path: /usr/lib/x86_64-linux-gnu/jni
java.net.useSystemProxies: false
java.runtime.name: OpenJDK Runtime Environment
java.runtime.version: 11.0.21+9-post-Ubuntu-0ubuntu122.04
java.specification.maintenance.version: 2
java.specification.name: Java Platform API Specification
java.specification.vendor: Oracle Corporation
java.specification.version: 11
java.vendor: Ubuntu
java.vendor.url: https://ubuntu.com/
java.vendor.url.bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
java.version: 11.0.21
java.version.date: 2023-10-17
java.vm.compressedOopsMode: Zero based
java.vm.info: mixed mode, sharing
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.vendor: Oracle Corporation
java.vm.specification.version: 11
java.vm.vendor: Ubuntu
java.vm.version: 11.0.21+9-post-Ubuntu-0ubuntu122.04
jdk.debug: release
jdk.logger.packages: net.filebot.Logging
jdk.module.path: /usr/share/openjfx/lib
jna.boot.library.name: jnidispatch.system
jna.boot.library.path: /usr/lib/x86_64-linux-gnu/jni
jna.library.path: /usr/lib/x86_64-linux-gnu/jni
jna.noclasspath: true
jna.nosys: false
jna.nounpack: true
line.separator: 

net.filebot.archive.extractor: ShellExecutables
net.filebot.gio.GVFS: /run/user/1000/gvfs
net.filebot.logging.debug: INFO
net.filebot.web.WebRequest.v1: true
org.apache.commons.logging.Log: org.apache.commons.logging.impl.NoOpLog
os.arch: amd64
os.name: Linux
os.version: 5.15.0-91-generic
path.separator: :
prism.order: sw
sun.arch.data.model: 64
sun.boot.library.path: /usr/lib/jvm/java-11-openjdk-amd64/lib
sun.cpu.endian: little
sun.cpu.isalist: 
sun.desktop: gnome
sun.io.unicode.encoding: UnicodeLittle
sun.java.command: /usr/share/filebot/jar/filebot.jar -script fn:sysenv
sun.java.launcher: SUN_STANDARD
sun.jnu.encoding: UTF-8
sun.management.compiler: HotSpot 64-Bit Tiered Compilers
sun.net.client.defaultConnectTimeout: 10000
sun.net.client.defaultReadTimeout: 60000
sun.os.patch.level: unknown
unixfs: false
useCreationDate: false
useExtendedFileAttributes: true
useGVFS: true
user.country: GB
user.dir: /home/gavin
user.home: /home/gavin
user.language: en
user.name: gavin
user.timezone: Europe/London

# Arguments #
args[0] = -script
args[1] = fn:sysenv
Done ヾ(@⌒ー⌒@)ノ
Thanks for the explanation about why that command didn't work. I normally do copy and paste when they are long ones :oops: lesson learned ;) This is what it shows:

Code: Select all

gavin@Monty:/tmp$ ls -l `which filebot`
lrwxrwxrwx 1 root root 33 Nov 15 10:50 /usr/bin/filebot -> /usr/share/filebot/bin/filebot.sh
Which looking at it now I guess might be the problem..? Does that output mean root is the owner? I am not sure how to go about changing that, assuming I need to?

I deleted all of the .txt files using the command you gave me and confirmed that there weren't any there anymore.
Then I did:

Code: Select all

gavin@Monty:/$ printenv > "/tmp/log.txt"
and that wrote the log.txt file in the right place. So I deleted that.
Then I did the next step in Qbittorrent:

Code: Select all

filebot -script fn:sysenv > "/tmp/log.txt" 2>&1
which was expected to fail (I think) and it did:

Code: Select all

12/01/2024 14:07 - Failed to run external program. Torrent: "Stephen Colbert 2024 01 11 Emily Blunt 1080p WEB h264-EDITH". Command: `filebot -script fn:sysenv > "/tmp/log.txt" 2>&1`
Then I tried using Qbittorrent again to invoke the debug.sh script:

Code: Select all

12/01/2024 14:15 - Running external program. Torrent: "Stephen Colbert 2024 01 11 Emily Blunt 720p WEB h264-EDITH". Command: `/home/gavin/debug.sh`
12/01/2024 14:15 - Torrent download finished. Torrent: "Stephen Colbert 2024 01 11 Emily Blunt 720p WEB h264-EDITH"
12/01/2024 14:15 - Moved torrent successfully. Torrent: "Stephen Colbert 2024 01 11 Emily Blunt 720p WEB h264-EDITH". Destination: "/media/gavin/asgardplex/Newcontent"
12/01/2024 14:14 - Start moving torrent. Torrent: "Stephen Colbert 2024 01 11 Emily Blunt 720p WEB h264-EDITH". Destination: "/media/gavin/asgardplex/Newcontent"
12/01/2024 14:14 - Enqueued torrent move. Torrent: "Stephen Colbert 2024 01 11 Emily Blunt 720p WEB h264-EDITH". Source: "/home/gavin/BBTDownloads/temp". Destination: "/media/gavin/asgardplex/Newcontent"
12/01/2024 14:13 - Added new torrent. Torrent: "Stephen Colbert 2024 01 11 Emily Blunt 720p WEB h264-EDITH"
12/01/2024 14:10 - Added new torrent. Torrent: "Nature S42E06 720p x265-T0PAZ"
12/01/2024 14:10 - Removed torrent and deleted its content. Torrent: "Stephen Colbert 2024 01 11 Emily Blunt 1080p WEB h264-EDITH"
12/01/2024 14:10 - Options saved.
12/01/2024 14:07 - Failed to run external program. Torrent: "Stephen Colbert 2024 01 11 Emily Blunt 1080p WEB h264-EDITH". Command: `filebot -script fn:sysenv > "/tmp/log.txt" 2>&1`
As you can see it says it is running, but nothing appeared in the /tmp folder.

I appreciate your time, thank you.
User avatar
rednoah
The Source
Posts: 23000
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Qbittorrent failing to run external program Filebot AMC Script

Post by rednoah »

:idea: /usr/bin/filebot and /usr/share/filebot/bin/filebot.sh are both fine. All installed packages is always owned by root, that's why you have to do sudo to install packages, so that mere users cannot modify installed packages. Just checking the absolute path to the executable.

:!: > "/tmp/log.txt" 2>&1 is a shell thing. qBT can run commands, but cannot interpret shell scripts, IO redirection, etc.



:arrow: Well, if nothing makes sense, then we need to go back to the very very basic fundamentals. Please run the following commands and post the output:

Shell: Select all

cat /home/gavin/debug.sh

Shell: Select all

/home/gavin/debug.sh

Shell: Select all

ls -l /tmp

Shell: Select all

cat /tmp/*.txt


:arrow: You may also wish to talk to to the qBT developers. If qBT just isn't executing anything due to some newly introduced bug, then we can't do anything here either.




EDIT:

:?: How did you install qBT? It's not running in some kind of sandbox is it?
:idea: Please read the FAQ and How to Request Help.
cartman1973
Posts: 5
Joined: 12 Jan 2024, 08:38

Re: Qbittorrent failing to run external program Filebot AMC Script

Post by cartman1973 »

Thanks for explaining things, it is really helpful.

I was running version 4-something of Qbittorrent, but replaced it yesterday with the current Flatpak version (no sandbox or anything unusual AFAIK). Had no problem getting it set up otherwise, but this running an external program has never worked for me (I tried to get it working automatically a year ago but gave up) unless I invoke the script manually.

Okay, ran the commands (copied and pasted them!) and this is the output (I just did them one after another and then copied the whole text output):

Code: Select all

gavin@Monty:/$ cat /home/gavin/debug.sh
#!/bin/sh

# do things that can't possibly not work (unless you don't have /tmp write permission)
date > /tmp/date.txt
whoami > /tmp/whoami.txt
printenv > /tmp/printenv.txt

# try things that might not work
java -version > /tmp/java-version.txt 2>&1
filebot -version > /tmp/filebot-version.txt 2>&1
filebot -script fn:sysinfo > /tmp/filebot-sysinfo.txt 2>&1
filebot -script fn:sysenv "$@" > /tmp/filebot-sysenv.txt 2>&1

# TIP: use `tail /tmp/*.txt` to check log files
gavin@Monty:/$ /home/gavin/debug.sh
gavin@Monty:/$ ls -l /tmp
total 88
drwxrwxr-x 3 gavin gavin  4096 Jan 12 11:28 bamboo_model
-rw------- 1 gavin gavin     0 Jan 12 04:53 config-err-E5pGN5
-rw-rw-r-- 1 gavin gavin    29 Jan 12 16:59 date.txt
-rw-rw-r-- 1 gavin gavin 12938 Jan 12 16:59 filebot-sysenv.txt
-rw-rw-r-- 1 gavin gavin  7807 Jan 12 16:59 filebot-sysinfo.txt
-rw-rw-r-- 1 gavin gavin    61 Jan 12 16:59 filebot-version.txt
drwxr-xr-x 2 gavin gavin  4096 Jan 12 16:59 hsperfdata_gavin
-rw-rw-r-- 1 gavin gavin   199 Jan 12 16:59 java-version.txt
drwxrwxrwx 2 gavin gavin  4096 Jan 12 14:35 mintUpdate
-rw-rw-r-- 1 gavin gavin  3123 Jan 12 16:59 printenv.txt
drwx------ 2 gavin gavin  4096 Jan 12 04:53 runtime-gavin
drwx------ 3 root  root   4096 Jan 12 15:54 systemd-private-572e60f1cc054c3f9c62a21584f8d422-apache2.service-oPdOWw
drwx------ 3 root  root   4096 Jan 12 04:53 systemd-private-572e60f1cc054c3f9c62a21584f8d422-colord.service-rJMfQC
drwx------ 3 root  root   4096 Jan 12 04:51 systemd-private-572e60f1cc054c3f9c62a21584f8d422-ModemManager.service-5mwH2B
drwx------ 3 root  root   4096 Jan 12 04:51 systemd-private-572e60f1cc054c3f9c62a21584f8d422-systemd-logind.service-YRPDtQ
drwx------ 3 root  root   4096 Jan 12 04:51 systemd-private-572e60f1cc054c3f9c62a21584f8d422-systemd-resolved.service-ui6ifD
drwx------ 3 root  root   4096 Jan 12 04:51 systemd-private-572e60f1cc054c3f9c62a21584f8d422-systemd-timesyncd.service-TM9DUb
drwx------ 3 root  root   4096 Jan 12 04:51 systemd-private-572e60f1cc054c3f9c62a21584f8d422-upower.service-Apq3OP
srwxr-xr-x 1 gavin gavin     0 Jan 12 04:53 TorGuard-Service
-rw-rw-r-- 1 gavin gavin     6 Jan 12 16:59 whoami.txt
gavin@Monty:/$ cat /tmp/*.txt
Fri 12 Jan 16:59:49 GMT 2024
# Application Bundle
FileBot 5.1.2 (r10125) / Groovy 4.0.15 / OpenJDK Runtime Environment 11.0.21 / Linux 5.15.0-91-generic (amd64)
# Local Time
Fri Jan 12 16:59:51 GMT 2024
# Process Tree
└─ /usr/lib/systemd/systemd
└─ /usr/libexec/gnome-terminal-server
└─ /usr/bin/bash
└─ /usr/bin/bash
└─ /usr/bin/dash
└─ /usr/bin/dash
└─ /usr/lib/jvm/java-11-openjdk-amd64/bin/java
# Environment Variables
CINNAMON_VERSION = 5.6.8
COLORTERM = truecolor
DBUS_SESSION_BUS_ADDRESS = unix:path=/run/user/1000/bus
DESKTOP_SESSION = cinnamon
DISPLAY = :0
GDMSESSION = cinnamon
GDM_LANG = en_GB
GNOME_DESKTOP_SESSION_ID = this-is-deprecated
GNOME_TERMINAL_SCREEN = /org/gnome/Terminal/screen/5d3cb539_3a5c_45dd_8903_92552da69ce0
GNOME_TERMINAL_SERVICE = :1.106
GPG_AGENT_INFO = /run/user/1000/gnupg/S.gpg-agent:0:1
GTK3_MODULES = xapp-gtk3-module
GTK_MODULES = gail:atk-bridge
GTK_OVERLAY_SCROLLING = 1
HOME = /home/gavin
LANG = en_GB.UTF-8
LANGUAGE = en_GB:en
LESSCLOSE = /usr/bin/lesspipe %s %s
LESSOPEN = | /usr/bin/lesspipe %s
LOGNAME = gavin
LS_COLORS = rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
OLDPWD = /home/gavin/Documents/gwimages
PATH = /home/gavin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD = /
QT_ACCESSIBILITY = 1
QT_QPA_PLATFORMTHEME = qt5ct
SESSION_MANAGER = local/Monty:@/tmp/.ICE-unix/1439,unix/Monty:/tmp/.ICE-unix/1439
SHELL = /bin/bash
SHLVL = 2
SSH_AUTH_SOCK = /run/user/1000/keyring/ssh
TERM = xterm-256color
USER = gavin
VTE_VERSION = 6800
XAUTHORITY = /home/gavin/.Xauthority
XDG_CONFIG_DIRS = /etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP = X-Cinnamon
XDG_DATA_DIRS = /usr/share/cinnamon:/usr/share/gnome:/home/gavin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR = /var/lib/lightdm-data/gavin
XDG_RUNTIME_DIR = /run/user/1000
XDG_SEAT = seat0
XDG_SEAT_PATH = /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS = user
XDG_SESSION_DESKTOP = cinnamon
XDG_SESSION_ID = c2
XDG_SESSION_PATH = /org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE = x11
XDG_VTNR = 7
_ = /home/gavin/debug.sh
# Java System Properties
application.cache = /home/gavin/.filebot/cache
application.deployment = deb
application.dir = /home/gavin/.filebot
awt.toolkit = sun.awt.X11.XToolkit
awt.useSystemAAFontSettings = on
file.encoding = UTF-8
file.separator = /
grape.root = /home/gavin/.filebot/grape
http.agent = FileBot/5.1.2
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path = /usr/share/filebot/jar/filebot.jar
java.class.version = 55.0
java.home = /usr/lib/jvm/java-11-openjdk-amd64
java.io.tmpdir = /home/gavin/.filebot/tmp
java.library.path = /usr/lib/x86_64-linux-gnu/jni
java.net.useSystemProxies = false
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 11.0.21+9-post-Ubuntu-0ubuntu122.04
java.specification.maintenance.version = 2
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 11
java.vendor = Ubuntu
java.vendor.url = https://ubuntu.com/
java.vendor.url.bug = https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
java.version = 11.0.21
java.version.date = 2023-10-17
java.vm.compressedOopsMode = Zero based
java.vm.info = mixed mode, sharing
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 11
java.vm.vendor = Ubuntu
java.vm.version = 11.0.21+9-post-Ubuntu-0ubuntu122.04
jdk.debug = release
jdk.logger.packages = net.filebot.Logging
jdk.module.path = /usr/share/openjfx/lib
jna.boot.library.name = jnidispatch.system
jna.boot.library.path = /usr/lib/x86_64-linux-gnu/jni
jna.library.path = /usr/lib/x86_64-linux-gnu/jni
jna.noclasspath = true
jna.nosys = false
jna.nounpack = true
line.separator = ↲
net.filebot.archive.extractor = ShellExecutables
net.filebot.gio.GVFS = /run/user/1000/gvfs
net.filebot.logging.debug = INFO
net.filebot.web.WebRequest.v1 = true
org.apache.commons.logging.Log = org.apache.commons.logging.impl.NoOpLog
os.arch = amd64
os.name = Linux
os.version = 5.15.0-91-generic
path.separator = :
prism.order = sw
sun.arch.data.model = 64
sun.boot.library.path = /usr/lib/jvm/java-11-openjdk-amd64/lib
sun.cpu.endian = little
sun.cpu.isalist = 
sun.desktop = gnome
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = /usr/share/filebot/jar/filebot.jar -script fn:sysenv
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.net.client.defaultConnectTimeout = 10000
sun.net.client.defaultReadTimeout = 60000
sun.os.patch.level = unknown
unixfs = false
useCreationDate = false
useExtendedFileAttributes = true
useGVFS = true
user.country = GB
user.dir = /
user.home = /home/gavin
user.language = en
user.name = gavin
user.timezone = Europe/London
# Arguments
└─ -script
└─ fn:sysenv
Script Bundle: 2023-11-06 (r952)

# Local Time #
Fri Jan 12 16:59:52 GMT 2024

# Process Tree #
/usr/lib/systemd/systemd
└─ /usr/libexec/gnome-terminal-server
   └─ /usr/bin/bash
      └─ /usr/bin/bash
         └─ /usr/bin/dash
            └─ /usr/bin/dash
               └─ /usr/lib/jvm/java-11-openjdk-amd64/bin/java

# Environment Variables #
CINNAMON_VERSION: 5.6.8
COLORTERM: truecolor
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
DESKTOP_SESSION: cinnamon
DISPLAY: :0
GDMSESSION: cinnamon
GDM_LANG: en_GB
GNOME_DESKTOP_SESSION_ID: this-is-deprecated
GNOME_TERMINAL_SCREEN: /org/gnome/Terminal/screen/5d3cb539_3a5c_45dd_8903_92552da69ce0
GNOME_TERMINAL_SERVICE: :1.106
GPG_AGENT_INFO: /run/user/1000/gnupg/S.gpg-agent:0:1
GTK3_MODULES: xapp-gtk3-module
GTK_MODULES: gail:atk-bridge
GTK_OVERLAY_SCROLLING: 1
HOME: /home/gavin
LANG: en_GB.UTF-8
LANGUAGE: en_GB:en
LESSCLOSE: /usr/bin/lesspipe %s %s
LESSOPEN: | /usr/bin/lesspipe %s
LOGNAME: gavin
LS_COLORS: rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
OLDPWD: /home/gavin/Documents/gwimages
PATH: /home/gavin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD: /
QT_ACCESSIBILITY: 1
QT_QPA_PLATFORMTHEME: qt5ct
SESSION_MANAGER: local/Monty:@/tmp/.ICE-unix/1439,unix/Monty:/tmp/.ICE-unix/1439
SHELL: /bin/bash
SHLVL: 2
SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
TERM: xterm-256color
USER: gavin
VTE_VERSION: 6800
XAUTHORITY: /home/gavin/.Xauthority
XDG_CONFIG_DIRS: /etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP: X-Cinnamon
XDG_DATA_DIRS: /usr/share/cinnamon:/usr/share/gnome:/home/gavin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR: /var/lib/lightdm-data/gavin
XDG_RUNTIME_DIR: /run/user/1000
XDG_SEAT: seat0
XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS: user
XDG_SESSION_DESKTOP: cinnamon
XDG_SESSION_ID: c2
XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE: x11
XDG_VTNR: 7
_: /home/gavin/debug.sh

# Java System Properties #
application.cache: /home/gavin/.filebot/cache
application.deployment: deb
application.dir: /home/gavin/.filebot
awt.toolkit: sun.awt.X11.XToolkit
awt.useSystemAAFontSettings: on
file.encoding: UTF-8
file.separator: /
grape.root: /home/gavin/.filebot/grape
http.agent: FileBot/5.1.2
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.awt.printerjob: sun.print.PSPrinterJob
java.class.path: /usr/share/filebot/jar/filebot.jar
java.class.version: 55.0
java.home: /usr/lib/jvm/java-11-openjdk-amd64
java.io.tmpdir: /home/gavin/.filebot/tmp
java.library.path: /usr/lib/x86_64-linux-gnu/jni
java.net.useSystemProxies: false
java.runtime.name: OpenJDK Runtime Environment
java.runtime.version: 11.0.21+9-post-Ubuntu-0ubuntu122.04
java.specification.maintenance.version: 2
java.specification.name: Java Platform API Specification
java.specification.vendor: Oracle Corporation
java.specification.version: 11
java.vendor: Ubuntu
java.vendor.url: https://ubuntu.com/
java.vendor.url.bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
java.version: 11.0.21
java.version.date: 2023-10-17
java.vm.compressedOopsMode: Zero based
java.vm.info: mixed mode, sharing
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.vendor: Oracle Corporation
java.vm.specification.version: 11
java.vm.vendor: Ubuntu
java.vm.version: 11.0.21+9-post-Ubuntu-0ubuntu122.04
jdk.debug: release
jdk.logger.packages: net.filebot.Logging
jdk.module.path: /usr/share/openjfx/lib
jna.boot.library.name: jnidispatch.system
jna.boot.library.path: /usr/lib/x86_64-linux-gnu/jni
jna.library.path: /usr/lib/x86_64-linux-gnu/jni
jna.noclasspath: true
jna.nosys: false
jna.nounpack: true
line.separator: 

net.filebot.archive.extractor: ShellExecutables
net.filebot.gio.GVFS: /run/user/1000/gvfs
net.filebot.logging.debug: INFO
net.filebot.web.WebRequest.v1: true
org.apache.commons.logging.Log: org.apache.commons.logging.impl.NoOpLog
os.arch: amd64
os.name: Linux
os.version: 5.15.0-91-generic
path.separator: :
prism.order: sw
sun.arch.data.model: 64
sun.boot.library.path: /usr/lib/jvm/java-11-openjdk-amd64/lib
sun.cpu.endian: little
sun.cpu.isalist: 
sun.desktop: gnome
sun.io.unicode.encoding: UnicodeLittle
sun.java.command: /usr/share/filebot/jar/filebot.jar -script fn:sysenv
sun.java.launcher: SUN_STANDARD
sun.jnu.encoding: UTF-8
sun.management.compiler: HotSpot 64-Bit Tiered Compilers
sun.net.client.defaultConnectTimeout: 10000
sun.net.client.defaultReadTimeout: 60000
sun.os.patch.level: unknown
unixfs: false
useCreationDate: false
useExtendedFileAttributes: true
useGVFS: true
user.country: GB
user.dir: /
user.home: /home/gavin
user.language: en
user.name: gavin
user.timezone: Europe/London

# Arguments #
args[0] = -script
args[1] = fn:sysenv
Done ヾ(@⌒ー⌒@)ノ
# Application Bundle
FileBot 5.1.2 (r10125) / Groovy 4.0.15 / OpenJDK Runtime Environment 11.0.21 / Linux 5.15.0-91-generic (amd64)
# Local Time
Fri Jan 12 16:59:50 GMT 2024
# Process Tree
└─ /usr/lib/systemd/systemd
└─ /usr/libexec/gnome-terminal-server
└─ /usr/bin/bash
└─ /usr/bin/bash
└─ /usr/bin/dash
└─ /usr/bin/dash
└─ /usr/lib/jvm/java-11-openjdk-amd64/bin/java
# Environment Variables
CINNAMON_VERSION = 5.6.8
COLORTERM = truecolor
DBUS_SESSION_BUS_ADDRESS = unix:path=/run/user/1000/bus
DESKTOP_SESSION = cinnamon
DISPLAY = :0
GDMSESSION = cinnamon
GDM_LANG = en_GB
GNOME_DESKTOP_SESSION_ID = this-is-deprecated
GNOME_TERMINAL_SCREEN = /org/gnome/Terminal/screen/5d3cb539_3a5c_45dd_8903_92552da69ce0
GNOME_TERMINAL_SERVICE = :1.106
GPG_AGENT_INFO = /run/user/1000/gnupg/S.gpg-agent:0:1
GTK3_MODULES = xapp-gtk3-module
GTK_MODULES = gail:atk-bridge
GTK_OVERLAY_SCROLLING = 1
HOME = /home/gavin
LANG = en_GB.UTF-8
LANGUAGE = en_GB:en
LESSCLOSE = /usr/bin/lesspipe %s %s
LESSOPEN = | /usr/bin/lesspipe %s
LOGNAME = gavin
LS_COLORS = rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
OLDPWD = /home/gavin/Documents/gwimages
PATH = /home/gavin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD = /
QT_ACCESSIBILITY = 1
QT_QPA_PLATFORMTHEME = qt5ct
SESSION_MANAGER = local/Monty:@/tmp/.ICE-unix/1439,unix/Monty:/tmp/.ICE-unix/1439
SHELL = /bin/bash
SHLVL = 2
SSH_AUTH_SOCK = /run/user/1000/keyring/ssh
TERM = xterm-256color
USER = gavin
VTE_VERSION = 6800
XAUTHORITY = /home/gavin/.Xauthority
XDG_CONFIG_DIRS = /etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP = X-Cinnamon
XDG_DATA_DIRS = /usr/share/cinnamon:/usr/share/gnome:/home/gavin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR = /var/lib/lightdm-data/gavin
XDG_RUNTIME_DIR = /run/user/1000
XDG_SEAT = seat0
XDG_SEAT_PATH = /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS = user
XDG_SESSION_DESKTOP = cinnamon
XDG_SESSION_ID = c2
XDG_SESSION_PATH = /org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE = x11
XDG_VTNR = 7
_ = /home/gavin/debug.sh
# Java System Properties
application.cache = /home/gavin/.filebot/cache
application.deployment = deb
application.dir = /home/gavin/.filebot
awt.toolkit = sun.awt.X11.XToolkit
awt.useSystemAAFontSettings = on
file.encoding = UTF-8
file.separator = /
grape.root = /home/gavin/.filebot/grape
http.agent = FileBot/5.1.2
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path = /usr/share/filebot/jar/filebot.jar
java.class.version = 55.0
java.home = /usr/lib/jvm/java-11-openjdk-amd64
java.io.tmpdir = /home/gavin/.filebot/tmp
java.library.path = /usr/lib/x86_64-linux-gnu/jni
java.net.useSystemProxies = false
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 11.0.21+9-post-Ubuntu-0ubuntu122.04
java.specification.maintenance.version = 2
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 11
java.vendor = Ubuntu
java.vendor.url = https://ubuntu.com/
java.vendor.url.bug = https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
java.version = 11.0.21
java.version.date = 2023-10-17
java.vm.compressedOopsMode = Zero based
java.vm.info = mixed mode, sharing
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 11
java.vm.vendor = Ubuntu
java.vm.version = 11.0.21+9-post-Ubuntu-0ubuntu122.04
jdk.debug = release
jdk.logger.packages = net.filebot.Logging
jdk.module.path = /usr/share/openjfx/lib
jna.boot.library.name = jnidispatch.system
jna.boot.library.path = /usr/lib/x86_64-linux-gnu/jni
jna.library.path = /usr/lib/x86_64-linux-gnu/jni
jna.noclasspath = true
jna.nosys = false
jna.nounpack = true
line.separator = ↲
net.filebot.archive.extractor = ShellExecutables
net.filebot.gio.GVFS = /run/user/1000/gvfs
net.filebot.logging.debug = INFO
net.filebot.web.WebRequest.v1 = true
org.apache.commons.logging.Log = org.apache.commons.logging.impl.NoOpLog
os.arch = amd64
os.name = Linux
os.version = 5.15.0-91-generic
path.separator = :
prism.order = sw
sun.arch.data.model = 64
sun.boot.library.path = /usr/lib/jvm/java-11-openjdk-amd64/lib
sun.cpu.endian = little
sun.cpu.isalist = 
sun.desktop = gnome
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = /usr/share/filebot/jar/filebot.jar -script fn:sysinfo
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.net.client.defaultConnectTimeout = 10000
sun.net.client.defaultReadTimeout = 60000
sun.os.patch.level = unknown
unixfs = false
useCreationDate = false
useExtendedFileAttributes = true
useGVFS = true
user.country = GB
user.dir = /
user.home = /home/gavin
user.language = en
user.name = gavin
user.timezone = Europe/London
# Arguments
└─ -script
└─ fn:sysinfo
Script Bundle: 2023-11-06 (r952)
FileBot 5.1.2 (r10125)
JNA Native: 6.1.1
MediaInfo: 21.09
Tools: fpcalc/1.5.1 7z/16.02 unrar/6.11
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2023-11-06 (r952)
Groovy: 4.0.15
JRE: OpenJDK Runtime Environment 11.0.21
JVM: OpenJDK 64-Bit Server VM
System Property: net.filebot.logging.debug=INFO
System Property: java.net.useSystemProxies=false
CPU/MEM: 6 Core / 12 GB Max Memory / 29 MB Used Memory
OS: Linux (amd64)
HW: Linux Monty 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
CPU/MEM: : Intel(R) Core(TM) i5-9600KF CPU @ 3.70GHz / MemTotal: 50 GB / MemFree: 22 GB / MemAvailable: 46 GB / SwapCached: 1.3 MB / SwapTotal: 2.1 GB / SwapFree: 2.1 GB
STORAGE: ext4 [/] @ 727 GB | fuseblk [/media/gavin/External] @ 1.3 TB | fuseblk [/media/gavin/4k Storage] @ 2.6 TB | fuseblk [/media/gavin/Storage] @ 1.0 TB | cifs [/media/gavin/asgardplex] @ 14 TB
UID/GID: uid=1000(gavin) gid=1000(gavin) groups=1000(gavin),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),115(lpadmin),136(sambashare),999(torguard)
DATA: /home/gavin/.filebot
Package: DEB
License: FileBot License PX46053508 (Valid-Until: 2073-01-20)
Done ヾ(@⌒ー⌒@)ノ
FileBot 5.1.2 (r10125) / OpenJDK Runtime Environment 11.0.21
openjdk version "11.0.21" 2023-10-17
OpenJDK Runtime Environment (build 11.0.21+9-post-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.21+9-post-Ubuntu-0ubuntu122.04, mixed mode, sharing)
LESSOPEN=| /usr/bin/lesspipe %s
LANGUAGE=en_GB:en
USER=gavin
XDG_SEAT=seat0
XDG_SESSION_TYPE=x11
SHLVL=2
HOME=/home/gavin
OLDPWD=/home/gavin/Documents/gwimages
DESKTOP_SESSION=cinnamon
GTK_MODULES=gail:atk-bridge
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
CINNAMON_VERSION=5.6.8
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
COLORTERM=truecolor
QT_QPA_PLATFORMTHEME=qt5ct
LOGNAME=gavin
_=/home/gavin/debug.sh
XDG_SESSION_CLASS=user
TERM=xterm-256color
GTK_OVERLAY_SCROLLING=1
XDG_SESSION_ID=c2
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
PATH=/home/gavin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SESSION_MANAGER=local/Monty:@/tmp/.ICE-unix/1439,unix/Monty:/tmp/.ICE-unix/1439
GDM_LANG=en_GB
GTK3_MODULES=xapp-gtk3-module
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/5d3cb539_3a5c_45dd_8903_92552da69ce0
XDG_RUNTIME_DIR=/run/user/1000
DISPLAY=:0
LANG=en_GB.UTF-8
XDG_CURRENT_DESKTOP=X-Cinnamon
XDG_SESSION_DESKTOP=cinnamon
XAUTHORITY=/home/gavin/.Xauthority
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
GNOME_TERMINAL_SERVICE=:1.106
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/gavin
SHELL=/bin/bash
QT_ACCESSIBILITY=1
GDMSESSION=cinnamon
LESSCLOSE=/usr/bin/lesspipe %s %s
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
XDG_VTNR=7
PWD=/
XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/home/gavin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
VTE_VERSION=6800
gavin
gavin@Monty:/$ 
User avatar
rednoah
The Source
Posts: 23000
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Qbittorrent failing to run external program Filebot AMC Script

Post by rednoah »

Yep, should work, but it doesn't. I'm all out of ideas. You'll need to check with the qBT developers for debug advice. Looks like qBT is just not calling our shell script.



EDIT:

I would not be surprised if it was a Flatpack issue. Due to how Flatpack runs separate from normal applications. Flatpack does run in a sandbox by nature. That's why it works the same on different Linux platforms. You could try installing qBT via apt install instead then it should work like any normal Linux package.

You may find help with the package maintainers:
https://github.com/flathub/org.qbittorr ... ent/issues
:idea: Please read the FAQ and How to Request Help.
cartman1973
Posts: 5
Joined: 12 Jan 2024, 08:38

Re: Qbittorrent failing to run external program Filebot AMC Script

Post by cartman1973 »

I tried installing qbittorrent from terminal as you suggested but it says it is already the latest version:

Code: Select all

avin@Monty:~/Documents/gwimages$ sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
[sudo] password for gavin:           
You are about to add the following PPA:
 Packages for the stable series of qBittorrent
 More info: https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable
Press Enter to continue or Ctrl+C to cancel

gpg: key D35164147CA69FC4: public key "Launchpad PPA for qBittorrent Team" imported
gpg: Total number processed: 1
gpg:               imported: 1
gavin@Monty:~/Documents/gwimages$ sudo apt install qbittorrent
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
qbittorrent is already the newest version (1:4.5.5.99~202308312232-7899-7d7097b02~ubuntu22.04.1).
0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.
I'll contact the maintainers as you suggest - thanks again.
User avatar
rednoah
The Source
Posts: 23000
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Qbittorrent failing to run external program Filebot AMC Script

Post by rednoah »

Please report back if you figure it out. We certainly are curious too. It's a strange one.
:idea: Please read the FAQ and How to Request Help.
Post Reply