rpi after upgrade from 4.9.1 to 4.9.6 filenames with umlaute not recognized

Support for Ubuntu and other Desktop Linux distributions
Post Reply
bataIllic
Posts: 5
Joined: 05 Feb 2019, 08:33

rpi after upgrade from 4.9.1 to 4.9.6 filenames with umlaute not recognized

Post by bataIllic »

Hi, Ive been using filebot portable jdk8 version on an rpi.

sysinfo says that everything is fine (identical to 491 sysinfo)

Code: Select all

~/filebot -script fn:sysinfo
FileBot 4.9.6 (r9125) JDK8 (headless)
JNA Native: 6.1.2
MediaInfo: 19.04
7-Zip-JBinding: 9.20
Tools: fpcalc/1.1.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-03-04 (r810)
Groovy: 3.0.9
JRE: Java(TM) SE Runtime Environment 1.8.0_241
JVM: 32-Bit Java HotSpot(TM) Server VM
CPU/MEM: 4 Core / 954 MB Max Memory / 26 MB Used Memory
OS: Linux (arm)
HW: Linux rPi2 5.10.52 #1 SMP Wed Aug 11 14:10:51 CEST 2021 aarch64 GNU/Linux
CPU/MEM: BCM2835 [MemTotal: 3.7 GB | MemFree: 1.6 GB | MemAvailable: 2.9 GB]
STORAGE: vfat [/flash] @ 388 MB | ext4 [/storage] @ 23 GB | nfs [/storage/diskstation] @ 9 TB
USER: root
DATA: /storage/filebot/data
Package: TAR
License: FileBot License XXXX
Done ヾ(@⌒ー⌒@)ノ
But when running AMC script, filenames having umlaute are not considered

Code: Select all

~/filebot -script fn:amc -non-strict --log-file $LogFile --conflict skip --lang de --def minFileSize=0 minLengthMS=0
--def clean=y skipExtract=y reportError=n storeReport=n artwork=n unsorted=n "$SeriesFormat" "$MovieFormat" "$AnimeFormat" "$ExtractFolder"
--output /storage/diskstation --def storeReport=/storage/filebot/data/logs --def pushover=XXXXXXXXX --def xbmc=127.0.0.1

Running Filebot AMC ...
Run script [fn:amc] at [Wed Mar 09 13:29:58 CET 2022]
Parameter: minFileSize = 0
Parameter: minLengthMS = 0
Parameter: clean = y
Parameter: skipExtract = y
Parameter: reportError = n
Parameter: storeReport = /storage/filebot/data/logs
Parameter: artwork = n
Parameter: unsorted = n
Parameter: seriesFormat = /storage/diskstation/Serien/{n}/{n} - Staffel {s}/{n} {s00e00} - {t}
Parameter: movieFormat = /storage/diskstation/Filme/{genres[0]}/{n} ({y}) {vf}
Parameter: animeFormat = /storage/diskstation/Anime/Serien/{n}/{n} {s00e00} - {t}
Parameter: pushover = *****
Parameter: xbmc = 127.0.0.1
Argument[0]: /storage/diskstation/Downloads
Ignore video extra: /storage/diskstation/Downloads/Micky.Maus.Funhouse.S01E04.GERMAN.DL.1080P.WEB.H264-WAYNE/Sample/micky.maus.funhouse.s01e04.german.dl.1080p.web.h264-wayne-sample.mkv
File does not exist: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F18 Minnie Als Rotk��ppchen.mkv
File does not exist: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F3 Goofy Und Das V��gelchen.mkv
File does not exist: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F19 Minnie Als Dornr��schen.mkv
File does not exist: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F23 Daisy Als ��rztin.mkv
File does not exist: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F8 Donald Der Froschk��nig.mkv
File does not exist: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F26 Donalds Verlorener L��we.mkv
File does not exist: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F5 Donalds Gro��es Ballon-wettfliegen.mkv
File does not exist: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F2 Eine ��berraschung F��r Minnie.mkv
File does not exist: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F22 Goofys Gro��e Zaubershow!.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F1 Daisys Schafe.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F10 Micky Spielt Verstecken.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F11 Daisys Tanz.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F12 Plutos Ball.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F13 Micky Auf Schatzsuche.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F14 Pluto Als Hunde-babysitter.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F15 Daisy Und Die Luftballons.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F16 Pluto Gibt Sein Bestes.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F17 Micky Und Die Halloweenparty.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F20 Micky Rettet Den Weihnachtsmann.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F21 Mickys Farbenabenteuer.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F25 Goofys Streichelzoo.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F27 Donalds Schluckauf.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F4 Micky Geht Angeln.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F6 Donald Und Die Kletterbohne.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F7 Minnies Geburtstag.mkv
Input: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F9 Goofys Reise Zum Mars.mkv
....
sysenv on the directory gives the following output

Code: Select all


# Local Time #
Wed Mar 09 13:53:24 CET 2022

# Process Tree #
groovy.lang.MissingPropertyException: No such property: ProcessHandle for class: Script1

# Environment Variables #
EDITOR: nano
HISTFILESIZE: 200
HOME: /storage
HOSTNAME: rPi2
LANG: en_GB.UTF-8
LD_LIBRARY_PATH: /usr/lib:/storage/.kodi/addons/script.cu.lrclyrics/lib:/storage/.kodi/addons/script.favourites/lib:/storage/.kodi/addons/script.globalsearch/lib:/storage/.kodi/addons/script.image.resource.select/lib:/storage/.kodi/addons/script.module.addon.signals/lib:/storage/.kodi/addons/script.module.amazon.database/lib:/storage/.kodi/addons/script.module.arrow/lib:/storage/.kodi/addons/script.module.autocompletion/lib:/storage/.kodi/addons/script.module.backports.functools_lru_cache/lib:/storage/.kodi/addons/script.module.beautifulsoup/lib:/storage/.kodi/addons/script.module.beautifulsoup4/lib:/storage/.kodi/addons/script.module.certifi/lib:/storage/.kodi/addons/script.module.chardet/lib:/storage/.kodi/addons/script.module.dateutil/lib:/storage/.kodi/addons/script.module.elementtree/lib:/storage/.kodi/addons/script.module.future/lib:/storage/.kodi/addons/script.module.html5lib/lib:/storage/.kodi/addons/script.module.idna/lib:/storage/.kodi/addons/script.module.mechanize/lib:/storage/.kodi/addons/script.module.metadatautils/lib:/storage/.kodi/addons/script.module.musicbrainz/lib:/storage/.kodi/addons/script.module.mutagen/lib:/storage/.kodi/addons/script.module.myconnpy/lib:/storage/.kodi/addons/script.module.oauth.helper/lib:/storage/.kodi/addons/script.module.pydes/lib:/storage/.kodi/addons/script.module.pyxbmct/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/script.module.routing/lib:/storage/.kodi/addons/script.module.simplecache/lib:/storage/.kodi/addons/script.module.simpleeval/lib:/storage/.kodi/addons/script.module.simplejson/lib:/storage/.kodi/addons/script.module.six/lib:/storage/.kodi/addons/script.module.soupsieve/lib:/storage/.kodi/addons/script.module.thetvdb/lib:/storage/.kodi/addons/script.module.trakt/lib:/storage/.kodi/addons/script.module.typing_extensions/lib:/storage/.kodi/addons/script.module.unidecode/lib:/storage/.kodi/addons/script.module.urllib3/lib:/storage/.kodi/addons/script.module.webencodings/lib:/storage/.kodi/addons/script.module.xbmcswift2/lib:/storage/.kodi/addons/script.openweathermap.maps/lib:/storage/.kodi/addons/script.playalbum/lib:/storage/.kodi/addons/service.system.docker/lib:/storage/.kodi/addons/virtual.system-tools/lib:/storage/.kodi/addons/weather.multi/lib:/usr/lib/pulseaudio
LOCPATH: /storage/.kodi/addons/service.locale/locpath
LOGNAME: root
MAIL: /var/mail/root
OLDPWD: /storage
PATH: /bin:/sbin:/usr/bin:/usr/sbin:/storage/.kodi/addons/service.system.docker/bin:/storage/java/jdk1.8.0_241/bin:/storage/.kodi/addons/virtual.system-tools/bin
PS1: \[\e[1;32m\]\h\[\e[1;32m\]:\[\e[1;34m\]\w \[\e[0m\]\$ 
PWD: /storage/filebot/data
SHELL: /bin/sh
SHLVL: 2
SSH_CLIENT: 192.168.2.110 54773 22
SSH_CONNECTION: 192.168.2.110 54773 192.168.2.106 22
SSH_TTY: /dev/pts/0
SYSTEMD_COLORS: 0
TERM: xterm
USER: root

# Java System Properties #
application.deployment: tar
application.dir: /storage/filebot/data
awt.toolkit: sun.awt.X11.XToolkit
file.encoding: UTF-8
file.encoding.pkg: sun.io
file.separator: /
grape.root: /storage/filebot/data/grape
groovy.antlr4: false
http.agent: FileBot/4.9.6
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.awt.printerjob: sun.print.PSPrinterJob
java.class.path: /storage/filebot/jar/filebot.jar
java.class.version: 52.0
java.endorsed.dirs: /storage/java/jdk1.8.0_241/jre/lib/endorsed
java.ext.dirs: /storage/java/jdk1.8.0_241/jre/lib/ext:/usr/java/packages/lib/ext
java.home: /storage/java/jdk1.8.0_241/jre
java.io.tmpdir: /storage/filebot/data/temp
java.library.path: /storage/filebot
java.net.useSystemProxies: true
java.runtime.name: Java(TM) SE Runtime Environment
java.runtime.version: 1.8.0_241-b07
java.specification.name: Java Platform API Specification
java.specification.vendor: Oracle Corporation
java.specification.version: 1.8
java.vendor: Oracle Corporation
java.vendor.url: http://java.oracle.com/
java.vendor.url.bug: http://bugreport.sun.com/bugreport/
java.version: 1.8.0_241
java.vm.info: mixed mode
java.vm.name: Java HotSpot(TM) Server VM
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.vendor: Oracle Corporation
java.vm.specification.version: 1.8
java.vm.vendor: Oracle Corporation
java.vm.version: 25.241-b07
jdk.logger.packages: net.filebot.Log
jna.library.path: /storage/filebot
jna.nosys: false
jna.nounpack: true
line.separator: 

net.filebot.AcoustID.fpcalc: /storage/filebot/fpcalc
net.filebot.xattr.store: /storage/filebot/data/.xattr
org.apache.commons.logging.Log: org.apache.commons.logging.impl.NoOpLog
os.arch: arm
os.name: Linux
os.version: 5.10.52
path.separator: :
sun.arch.abi: gnueabihf
sun.arch.data.model: 32
sun.boot.class.path: /storage/java/jdk1.8.0_241/jre/lib/resources.jar:/storage/java/jdk1.8.0_241/jre/lib/rt.jar:/storage/java/jdk1.8.0_241/jre/lib/sunrsasign.jar:/storage/java/jdk1.8.0_241/jre/lib/jsse.jar:/storage/java/jdk1.8.0_241/jre/lib/jce.jar:/storage/java/jdk1.8.0_241/jre/lib/charsets.jar:/storage/java/jdk1.8.0_241/jre/lib/jfr.jar:/storage/java/jdk1.8.0_241/jre/classes
sun.boot.library.path: /storage/java/jdk1.8.0_241/jre/lib/arm
sun.cpu.endian: little
sun.cpu.isalist: 
sun.io.unicode.encoding: UnicodeLittle
sun.java.command: /storage/filebot/jar/filebot.jar -script fn:sysenv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F1 Daisys Schafe.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F10 Micky Spielt Verstecken.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F11 Daisys Tanz.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F12 Plutos Ball.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F13 Micky Auf Schatzsuche.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F14 Pluto Als Hunde-babysitter.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F15 Daisy Und Die Luftballons.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F16 Pluto Gibt Sein Bestes.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F17 Micky Und Die Halloweenparty.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F18 Minnie Als Rotk��ppchen.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F19 Minnie Als Dornr��schen.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F2 Eine ��berraschung F��r Minnie.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F20 Micky Rettet Den Weihnachtsmann.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F21 Mickys Farbenabenteuer.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F22 Goofys Gro��e Zaubershow!.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F23 Daisy Als ��rztin.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F25 Goofys Streichelzoo.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F26 Donalds Verlorener L��we.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F27 Donalds Schluckauf.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F3 Goofy Und Das V��gelchen.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F4 Micky Geht Angeln.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F5 Donalds Gro��es Ballon-wettfliegen.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F6 Donald Und Die Kletterbohne.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F7 Minnies Geburtstag.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F8 Donald Der Froschk��nig.mkv /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F9 Goofys Reise Zum Mars.mkv
sun.java.launcher: SUN_STANDARD
sun.jnu.encoding: UTF-8
sun.management.compiler: HotSpot Server Compiler
sun.net.client.defaultConnectTimeout: 10000
sun.net.client.defaultReadTimeout: 60000
sun.os.patch.level: unknown
swing.crossplatformlaf: javax.swing.plaf.nimbus.NimbusLookAndFeel
unixfs: false
useCreationDate: false
useExtendedFileAttributes: true
user.country: US
user.dir: /storage/filebot/data
user.home: /storage/filebot/data
user.language: en
user.name: root
user.timezone: Europe/Berlin

# Arguments #
args[0] = -script
args[1] = fn:sysenv
args[2] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F1 Daisys Schafe.mkv
args[3] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F10 Micky Spielt Verstecken.mkv
args[4] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F11 Daisys Tanz.mkv
args[5] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F12 Plutos Ball.mkv
args[6] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F13 Micky Auf Schatzsuche.mkv
args[7] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F14 Pluto Als Hunde-babysitter.mkv
args[8] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F15 Daisy Und Die Luftballons.mkv
args[9] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F16 Pluto Gibt Sein Bestes.mkv
args[10] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F17 Micky Und Die Halloweenparty.mkv
args[11] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F18 Minnie Als Rotkäppchen.mkv
args[12] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F19 Minnie Als Dornröschen.mkv
args[13] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F2 Eine Überraschung Für Minnie.mkv
args[14] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F20 Micky Rettet Den Weihnachtsmann.mkv
args[15] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F21 Mickys Farbenabenteuer.mkv
args[16] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F22 Goofys Große Zaubershow!.mkv
args[17] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F23 Daisy Als Ärztin.mkv
args[18] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F25 Goofys Streichelzoo.mkv
args[19] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F26 Donalds Verlorener Löwe.mkv
args[20] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F27 Donalds Schluckauf.mkv
args[21] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F3 Goofy Und Das Vögelchen.mkv
args[22] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F4 Micky Geht Angeln.mkv
args[23] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F5 Donalds Großes Ballon-wettfliegen.mkv
args[24] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F6 Donald Und Die Kletterbohne.mkv
args[25] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F7 Minnies Geburtstag.mkv
args[26] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F8 Donald Der Froschkönig.mkv
args[27] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F9 Goofys Reise Zum Mars.mkv
Done ヾ(@⌒ー⌒@)ノ
UTF-8 and extended attributes are set, but sun.java.command is messed up.

Any help is appreciated!
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: rpi after upgrade from 4.9.1 to 4.9.6 filenames with umlaute not recognized

Post by rednoah »

Looks like a runtime issue to me. Most likely unrelated to any particular version of FileBot.


:arrow: I'd start by upgrading to a aarch64 build of Java 17 because you seem to be using a armv7 build of Java 8. You'll want to upgrade sooner or later.


There definitely seems to be some kind of encoding issue. Notably, the filebot / amc script call in your Running Filebot AMC ... custom shell script seem to not be able to interpret input arguments correctly:

Code: Select all

File does not exist: /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F18 Minnie Als Rotk��ppchen.mkv
Even though the filebot / sysenv script call does seem to repeat input arguments correctly:

Code: Select all

args[11] = /storage/diskstation/Downloads/Micky Maus Wunderhaus/Micky Maus Wunderhaus S1 F18 Minnie Als Rotkäppchen.mkv
This could be a clue. Perhaps the locale environment variables are different in each case. Note that you're dealing with potentially multiple unknowns, most notably (1) file system character encoding (2) console character encoding (3) log file character encoding.




EDIT:

Another notable peculiarity is that filebot.sh explicitly forces the locale and file system encoding to en_US.UTF-8 regardless of your environment:

Code: Select all

# force JVM language and encoding settings
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
However, your sysenv output doesn't match that, with LANG being different, and LC_ALL being missing altogether, which suggests that you aren't using the filebot.sh launcher that ships with the TAR package:

Code: Select all

LANG: en_GB.UTF-8

:?: Can you paste all the custom scripts you are using? You seem to have created a custom shell script named filebot in your $HOME folder that you're calling with the absolute path ~/filebot so all bets are off there, because you're not actually running filebot and instead are running some custom code which could be doing anything:

Code: Select all

cat ~/filebot

:?: What OS are you using? If you're using a Debian-based OS then you'll want to use apt to install FileBot.
:idea: Please read the FAQ and How to Request Help.
bataIllic
Posts: 5
Joined: 05 Feb 2019, 08:33

Re: rpi after upgrade from 4.9.1 to 4.9.6 filenames with umlaute not recognized

Post by bataIllic »

Thanks for the quick response.

Indeed, the lack of recognition of filenames having umlaute was caused by a messed up locale installation. Although locale was working flawlessly in the past, due to a system update the locale package must have been corrupted. New installation of locale proceeded without errors, but did not result in a working locale environment. I had to create the characterset manually using localedef. Now, everything works fine... until the next update :roll:

I followed your advise to install aarch64 build of Java 17, which prompted me instantly that there is an issue of bad system encoding. Unfortunately, there is no way to teach java to use an encoding other than the system's default (-Dfile.encoding=UTF8 and similar are ignored), so locale must be set up properly (as already pointed out above) for running filebot.

As you have noted correctly, I am not using the filebot.sh script as it did not work in the past. And please correct me if I am wrong, but I remember that this script was not available in previous versions (<<4.8) where the filebot file was written as FileBot.jar. Anyway, as the locale installation was messed up,

Code: Select all

# force JVM language and encoding settings
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
could not not solve the issue.
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: rpi after upgrade from 4.9.1 to 4.9.6 filenames with umlaute not recognized

Post by rednoah »

filebot.sh has always been the recommended way of running FileBot. The filebot command is typically a symlink in /usr/local/bin/filebot that then links to the filebot.sh shell script, which then takes care of system-specific configuration executing the platform-independent code.
:idea: Please read the FAQ and How to Request Help.
Post Reply