Skip to content

Run on linux gives error LC_ALL is not supported #60

@sgghostrider

Description

@sgghostrider

Guidelines

Description

I'm compiling the source code for Arch linux (CachyOS) but when i run it, it always throws back an error during the locale setup, i don't know if it's something specific to my distro, but i think there is an error somewhere.

I don't program on python, but reading the code, checking online and trying to use some common sense i figured out maybe on the line where you get the locale instead of:
locale_info = locale.getlocale(locale.LC_ALL)

you actually meant:
locale_info = locale.getlocale(locale.LC_CTYPE)

Because "LC_ALL" as far as i know is meant to be empty by default...

Steps to Reproduce

  1. Clone repo
  2. Compile in linux for linux briefcase build linux -u
  3. Run the build briefcase run linux

Expected Behavior

It gives an error on startup when trying to get the users system language from LC_ALL which is the wrong system variable.

Actual Behavior

It should get the user's system language from LC_CTYPE instead of LC_ALL.

Operating System

Linux

Python Version

3.14.2

KemonoDownloader Version

5.8.0

Screenshots or Logs

===========================================================================
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/run/media/{username}/{diskname}/Kemono-Linux/KemonoDownloader/build/kemonodownloader/cachyos/rolling/kemonodownloader-5.8.0/usr/lib/kemonodownloader/app/kemonodownloader/__main__.py", line 2, in <module>
    from kemonodownloader.app import main
  File "/run/media/{username}/{diskname}/Kemono-Linux/KemonoDownloader/build/kemonodownloader/cachyos/rolling/kemonodownloader-5.8.0/usr/lib/kemonodownloader/app/kemonodownloader/app.py", line 26, in <module>
    from kemonodownloader.creator_downloader import CreatorDownloaderTab
  File "/run/media/{username}/{diskname}/Kemono-Linux/KemonoDownloader/build/kemonodownloader/cachyos/rolling/kemonodownloader-5.8.0/usr/lib/kemonodownloader/app/kemonodownloader/creator_downloader.py", line 74, in <module>
    locale_info = locale.getlocale(locale.LC_ALL)
  File "/usr/lib/python3.14/locale.py", line 602, in getlocale
    raise TypeError('category LC_ALL is not supported')
TypeError: category LC_ALL is not supported
---------------------------------------------------------------------------
Application quit abnormally!

Problem running app kemonodownloader.

Log saved to /run/media/{username}/{diskname}/Kemono-Linux/KemonoDownloader/logs/briefcase.2026_02_03-11_29_09.run.log```

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions