Page 1 of 1

[OpenSubtitles] Your login details are incorrect. (after sh: <password>: invalid format)

Posted: 09 Mar 2025, 16:47
by kboogie222
Created an opensubtitles.com account and updated docker config with username and password, but FileBot docker app is failing to start now. Here is an excerpt of the log with what looked like a password that I redacted [abc123redacted]. Any thoughts on what is going on here? Is the current service pointing to an old API endpoint?

Console Output: Select all

[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 55-filebot-beta.sh: executing...
[cont-init   ] 55-filebot-beta.sh: usage of FileBot beta version is not enabled.
[cont-init   ] 55-filebot-beta.sh: terminated successfully.
[cont-init   ] 55-filebot.sh: executing...
[cont-init   ] 55-filebot.sh: sh: abc123redacted: invalid format
[cont-init   ] 55-filebot.sh: Enter OpenSubtitles username: Enter OpenSubtitles password: Store user preferences to [User Preferences: /config/prefs.properties at /config/prefs.properties]
[cont-init   ] 55-filebot.sh: Set OpenSubtitles login details
[cont-init   ] 55-filebot.sh: Checking... Your login details are incorrect. Please go to www.opensubtitles.com (REST API; not www.opensubtitles.org) to check your login details and reset your password if necessary.
[cont-init   ] 55-filebot.sh: https://api.opensubtitles.com/api/v1/login [401 Unauthorized Request]
[cont-init   ] 55-filebot.sh: Abort (×_×)
[cont-init   ] 55-filebot.sh: terminated with error 4.

Re: open subtitle authentication error

Posted: 09 Mar 2025, 17:52
by rednoah
:!: Context: You are using the jlesage/filebot 3rd party container. We are neither the creator nor the maintainer. See Installing FileBot on unRAID for details.

Code: Select all

sh: abc123redacted: invalid format
This looks like an error message from a shell script, and not filebot. Your password contains a character sequence, likely a % character, that is interpreted by printf at 55-filebot.sh L48 and so the value that is passed on as your password gets passed on in a mangled form.

e.g.

Console Output: Select all

$ printf 'XYZ%ABC'
printf: %A: invalid directive
XYZ
$ printf 'XYZ%ABC' 2> /dev/null
XYZ

:arrow: Please report the issue to the jlesage/filebot maintainer so that they can fix their code.


:arrow: The easy solution for you is to just use a different password that doesn't contain any special characters.

Re: [OpenSubtitles] Your login details are incorrect. (after sh: <password>: invalid format)

Posted: 10 Mar 2025, 14:58
by kboogie222
Thank you, updating the password resolved it.

Didn't realize it was not the official docker. Is there a benefit to the filebot-xpra or filebot-node templates?

Re: [OpenSubtitles] Your login details are incorrect. (after sh: <password>: invalid format)

Posted: 10 Mar 2025, 15:37
by rednoah
kboogie222 wrote: 10 Mar 2025, 14:58 Didn't realize it was not the official docker. Is there a benefit to the filebot-xpra or filebot-node templates?
You can compare the options at Installing FileBot on unRAID. The main difference is that the jlesage/filebot mashes everything into one container. The official containers are more clean, different containers for different use cases, but possibly also less easy to use if you're new to unRAID / Linux / docker.