odoo12 pycharm 可以正常run 但无法Debug启动
作者:互联网
odoo12 pycharm 可以正常run 但无法Debug启动:
Process finished with exit code -1073740940 (0xC0000374)
解决方式:
修改/odoo/tools/translate.py
def resetlocale():
# locale.resetlocale is bugged with some locales.
for ln in get_locales():
try:
ln = ln[0:ln.index('.')] #加上这个一行
return locale.setlocale(locale.LC_ALL, ln)
except locale.Error:
continue
标签:run,locale,odoo12,ln,Debug,locales 来源: https://www.cnblogs.com/brucexl/p/14115553.html