![即使安装了 oauth2client,overGrive 也会在 Ubuntu 18.04 上崩溃](https://linux22.com/image/903391/%E5%8D%B3%E4%BD%BF%E5%AE%89%E8%A3%85%E4%BA%86%20oauth2client%EF%BC%8CoverGrive%20%E4%B9%9F%E4%BC%9A%E5%9C%A8%20Ubuntu%2018.04%20%E4%B8%8A%E5%B4%A9%E6%BA%83.png)
overGrive 在 Ubuntu 18.04 上崩溃,可能是因为它是 en_IL 版本。这是回溯:
[INFO] Linux-4.15.0-32-generic-x86_64-with-Ubuntu-18.04-bionic
[INFO] Desktop : ubuntu
[CONFIG] Loading User Settings GUI mode
[CONFIG] Auto Sync : True
[CONFIG] Convert Google Docs : False
Traceback (most recent call last):
File "overgrive.py", line 5591, in <module>
File "/usr/lib/python2.7/locale.py", line 545, in getdefaultlocale
return _parse_localename(localename)
File "/usr/lib/python2.7/locale.py", line 477, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: en_IL
任何有关如何处理此问题的想法都将受到欢迎。
答案1
过去,解决类似错误的一个方法是添加
unset LC_CTYPE
在底部.profile
,然后source .profile
应用更改。试试看。