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

AssertionError: Missing string id : editBox #30

Open
kuisec opened this issue Feb 14, 2023 · 3 comments
Open

AssertionError: Missing string id : editBox #30

kuisec opened this issue Feb 14, 2023 · 3 comments

Comments

@kuisec
Copy link

kuisec commented Feb 14, 2023

英文版界面运行正常,修改变量后出现问题,报错内容如下:
File "D:\Projects\Python\Yolov5AutoLabelImg\libs\stringBundle.py", line 47, in get_string
assert(string_id in self.id_to_message), "Missing string id : " + string_id
AssertionError: Missing string id : editBox

@seraph02
Copy link

libs\stringBundle.py这里面有写
在libs目录下 运行 pyrcc5 ../resources.qrc -o resources.py

@kiitio
Copy link

kiitio commented Apr 23, 2023

@seraph02 To be honest, I think this step should also be added to the official documentation, the description in libs\stringBundle.py is really not easy to see

@hdltzd
Copy link

hdltzd commented Apr 21, 2024

我也报这个错误,但是英文版可以运行,一换成中文版就报错,这是怎么回事

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

4 participants