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

Call a python function reported an error UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 128: illegal multibyte sequence #524

Open
wangminglyx opened this issue Mar 29, 2024 · 1 comment

Comments

@wangminglyx
Copy link

wangminglyx commented Mar 29, 2024

Describe the problem
I had run this demo for several months, but two days ago, i upgraded my python algorithm and run it again, it reported an error like this
Weixin Image_20240329140520
according to debugging , it fails in this part:
synchronized(this) {
this.thread.start();
try {
this.wait();
} catch (InterruptedException var4) {
if (this.error != null) {
this.error = var4;
}
}
}
how to fix this problem please?

Environment (please complete the following information):

  • OS Platform, Distribution, and Version: windows 10 professional ,22H2
  • Python Distribution and Version: 3.11.5
  • Java Distribution and Version: jdk17
  • Jep Version: 4.2.0
  • Python packages used (e.g. numpy, pandas, tensorflow): pytorch, numpy
@wangminglyx wangminglyx changed the title Call a python function reported an error Call a python function reported an error UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 128: illegal multibyte sequence Mar 29, 2024
@wangminglyx
Copy link
Author

when I changed windows language setting to utf-8, the error became this:
企业微信截图_17121286891510

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