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 #10

Closed
fanshu-520 opened this issue Jun 4, 2022 · 2 comments
Closed

AssertionError: Missing string id : editBox #10

fanshu-520 opened this issue Jun 4, 2022 · 2 comments

Comments

@fanshu-520
Copy link

(yolo) C:\Users\z249\Desktop\labelGo-Yolov5AutoLabelImg-master>python labelGo.py
Traceback (most recent call last):
File "labelGo.py", line 1744, in
sys.exit(main())
File "labelGo.py", line 1738, in main
app, _win = get_main_app(sys.argv)
File "labelGo.py", line 1729, in get_main_app
win = MainWindow(args.image_dir,
File "labelGo.py", line 281, in init
edit_mode = action(get_str('editBox'), self.set_edit_mode,
File "labelGo.py", line 97, in
get_str = lambda str_id: self.string_bundle.get_string(str_id)
File "C:\Users\z249\Desktop\labelGo-Yolov5AutoLabelImg-master\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

@ake020675
Copy link

Caused by strings-zh-CN in stringBundle.py. No problem with default config(English)

@darrenzhang1007
Copy link

darrenzhang1007 commented Jun 9, 2022

It`s worked, Thanks

Caused by strings-zh-CN in stringBundle.py. No problem with default config(English)

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

3 participants