FreeGPT-WebUI 多语言翻译编译:运行命令和常见报错解决

在运行 FreeGPT-WebUI 时,需要编译多语言翻译文件,以下命令展示了编译过程:

root@yf:/home/yf/freegpt-webui# python3 run.py
compiling catalog translations/el_GR/LC_MESSAGES/messages.po to translations/el_GR/LC_MESSAGES/messages.mo
compiling catalog translations/id_ID/LC_MESSAGES/messages.po to translations/id_ID/LC_MESSAGES/messages.mo
compiling catalog translations/de_DE/LC_MESSAGES/messages.po to translations/de_DE/LC_MESSAGES/messages.mo
compiling catalog translations/cs_CZ/LC_MESSAGES/messages.po to translations/cs_CZ/LC_MESSAGES/messages.mo
compiling catalog translations/ru_RU/LC_MESSAGES/messages.po to translations/ru_RU/LC_MESSAGES/messages.mo
compiling catalog translations/nl_NL/LC_MESSAGES/messages.po to translations/nl_NL/LC_MESSAGES/messages.mo
compiling catalog translations/es_ES/LC_MESSAGES/messages.po to translations/es_ES/LC_MESSAGES/messages.mo
compiling catalog translations/fi_FI/LC_MESSAGES/messages.po to translations/fi_FI/LC_MESSAGES/messages.mo
compiling catalog translations/he_IL/LC_MESSAGES/messages.po to translations/he_IL/LC_MESSAGES/messages.mo
compiling catalog translations/hu_HU/LC_MESSAGES/messages.po to translations/hu_HU/LC_MESSAGES/messages.mo
compiling catalog translations/ar_SA/LC_MESSAGES/messages.po to translations/ar_SA/LC_MESSAGES/messages.mo
compiling catalog translations/zh_Hant_TW/LC_MESSAGES/messages.po to translations/zh_Hant_TW/LC_MESSAGES/messages.mo
compiling catalog translations/uk_UA/LC_MESSAGES/messages.po to translations/uk_UA/LC_MESSAGES/messages.mo
compiling catalog translations/pl_PL/LC_MESSAGES/messages.po to translations/pl_PL/LC_MESSAGES/messages.mo
compiling catalog translations/it_IT/LC_MESSAGES/messages.po to translations/it_IT/LC_MESSAGES/messages.mo
compiling catalog translations/vi_VN/LC_MESSAGES/messages.po to translations/vi_VN/LC_MESSAGES/messages.mo
compiling catalog translations/ro_RO/LC_MESSAGES/messages.po to translations/ro_RO/LC_MESSAGES/messages.mo
compiling catalog translations/fr_FR/LC_MESSAGES/messages.po to translations/fr_FR/LC_MESSAGES/messages.mo
compiling catalog translations/th_TH/LC_MESSAGES/messages.po to translations/th_TH/LC_MESSAGES/messages.mo
compiling catalog translations/sk_SK/LC_MESSAGES/messages.po to translations/sk_SK/LC_MESSAGES/messages.mo
compiling catalog translations/ko_KR/LC_MESSAGES/messages.po to translations/ko_KR/LC_MESSAGES/messages.mo
compiling catalog translations/ja_JP/LC_MESSAGES/messages.po to translations/ja_JP/LC_MESSAGES/messages.mo
compiling catalog translations/pt_BR/LC_MESSAGES/messages.po to translations/pt_BR/LC_MESSAGES/messages.mo
compiling catalog translations/da_DK/LC_MESSAGES/messages.po to translations/da_DK/LC_MESSAGES/messages.mo
compiling catalog translations/es_MX/LC_MESSAGES/messages.po to translations/es_MX/LC_MESSAGES/messages.mo
compiling catalog translations/tr_TR/LC_MESSAGES/messages.po to translations/tr_TR/LC_MESSAGES/messages.mo
compiling catalog translations/sv_SE/LC_MESSAGES/messages.po to translations/sv_SE/LC_MESSAGES/messages.mo
compiling catalog translations/nb_NO/LC_MESSAGES/messages.po to translations/nb_NO/LC_MESSAGES/messages.mo
compiling catalog translations/en_US/LC_MESSAGES/messages.po to translations/en_US/LC_MESSAGES/messages.mo
compiling catalog translations/zh_Hans_CN/LC_MESSAGES/messages.po to translations/zh_Hans_CN/LC_MESSAGES/messages.mo
compiling catalog translations/hi_IN/LC_MESSAGES/messages.po to translations/hi_IN/LC_MESSAGES/messages.mo
Translations compiled successfully
Running on 1338
 * Serving Flask app 'run'
 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:1338
 * Running on http://192.168.0.88:1338
Press CTRL+C to quit

### 报错解决内容:

在运行过程中,可能出现以下报错:

```bash
Press CTRL+C to quit

报错解决办法:

这个报错是因为在运行时按下了 CTRL+C 键,用于中断程序运行。如果不想中断程序运行,可以忽略这个报错信息即可。如果想退出程序,可以按下 CTRL+C 键结束程序运行。

FreeGPT-WebUI 多语言翻译编译:运行命令和常见报错解决

原文地址: https://www.cveoy.top/t/topic/pzUZ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录