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

运行api.exe出现JSONDecodeError #650

Open
gsessylu opened this issue Dec 1, 2024 · 0 comments
Open

运行api.exe出现JSONDecodeError #650

gsessylu opened this issue Dec 1, 2024 · 0 comments

Comments

@gsessylu
Copy link

gsessylu commented Dec 1, 2024

出错信息
出错时软件界面完整截图,以及提示框或控制台报错信息。

C:\Code\pyvideotrans>api.exe
API ...
2024-12-02 00:49:58,797 - VideoTrans - ERROR - Uncaught exception
Traceback (most recent call last):
File "api.py", line 17, in
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "videotrans\task_dubbing.py", line 10, in
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "videotrans\task_base.py", line 7, in
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "videotrans\configure_base.py", line 3, in
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "videotrans\util\tools.py", line 18, in
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "requests_init_.py", line 45, in
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "requests\exceptions.py", line 9, in
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "requests\compat.py", line 55, in
ImportError: cannot import name 'JSONDecodeError' from 'simplejson' (unknown location)
[20556] Failed to execute script 'api' due to unhandled exception!

复现步骤

  1. 使用的哪个功能
    预打包版运行api.exe

操作系统

  • Windows/Linux/MacOS
  • Win11

软件左上角版本号数字
v3.28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant