Skip to content

Locale error during work #73

@sneakyjoeru

Description

@sneakyjoeru

Hi. Macos Tahoe, installed through pipx. Tried running on syslog to see how it goes.

❯ pipx install toolong
'toolong' already seems to be installed. Not modifying existing installation in
'/Users/mturusov/.local/pipx/venvs/toolong'. Pass '--force' to force installation.

❯ pipx ensurepath
/Users/mturusov/.local/bin is already in PATH.

⚠️  All pipx binary directories have been appended to PATH. If you are sure you want to
proceed, try again with the '--force' flag.

Otherwise pipx is ready to go! ✨ 🌟 ✨

❯ tl /var/log/syslog
Traceback (most recent call last):
  File "/Users/mturusov/.local/bin/tl", line 3, in <module>
    from toolong.cli import run
  File "/Users/mturusov/.local/pipx/venvs/toolong/lib/python3.14/site-packages/toolong/cli.py", line 9, in <module>
    from toolong.ui import UI
  File "/Users/mturusov/.local/pipx/venvs/toolong/lib/python3.14/site-packages/toolong/ui.py", line 19, in <module>
    locale.setlocale(locale.LC_ALL, "")
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.14.0_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/locale.py", line 620, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions