Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS locale环境变量问题 #84

Closed
CharlotteFallices opened this issue Feb 16, 2020 · 1 comment
Closed

macOS locale环境变量问题 #84

CharlotteFallices opened this issue Feb 16, 2020 · 1 comment

Comments

@CharlotteFallices
Copy link

Alpha分支Autosub在使用过程中出现问题

系统信息

  • OS:macOS Catalina 10.15.4 Beta(19E224g)
  • Python Version:python2.7
  • Autosub Version:The newest in the Alpha branch

Terminal log

 File "/usr/local/bin/autosub", line 5, in <module>
    from autosub import main
  File "/Library/Python/2.7/site-packages/autosub/__init__.py", line 15, in <module>
    from autosub import ffmpeg_utils
  File "/Library/Python/2.7/site-packages/autosub/ffmpeg_utils.py", line 19, in <module>
    from autosub import constants
  File "/Library/Python/2.7/site-packages/autosub/constants.py", line 50, in <module>
    CURRENT_LOCALE = locale.getdefaultlocale()[0]
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 545, in getdefaultlocale
    return _parse_localename(localename)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 477, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
@BingLingGroup
Copy link
Owner

BingLingGroup commented Feb 17, 2020

@BingLingGroup BingLingGroup changed the title Alpha分支Autosub在使用过程中出现问题 macOS locale环境变量问题 Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants