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

fix bug #63

Merged
merged 2 commits into from
Sep 5, 2024
Merged

fix bug #63

merged 2 commits into from
Sep 5, 2024

Conversation

GreatV
Copy link
Collaborator

@GreatV GreatV commented Sep 5, 2024

Close #60 #61 #62

@GreatV GreatV mentioned this pull request Sep 5, 2024
@GreatV GreatV merged commit f39dff4 into PFCCLab:main Sep 5, 2024
1 check passed
@GreatV GreatV deleted the fix_bug branch September 5, 2024 06:28
@Andyszl
Copy link

Andyszl commented Sep 5, 2024

下载最新文件后报错:
File "C:\Users\Administrator\PPOCRLabel-main\PPOCRLabel.py", line 3504, in
sys.exit(main())
^^^^^^
File "C:\Users\Administrator\PPOCRLabel-main\PPOCRLabel.py", line 3499, in main
app, _win = get_main_app(sys.argv)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\PPOCRLabel-main\PPOCRLabel.py", line 3487, in get_main_app
win = MainWindow(
^^^^^^^^^^^
File "C:\Users\Administrator\PPOCRLabel-main\PPOCRLabel.py", line 161, in init
self.key_dialog_tip = getStr("keyDialogTip")
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\PPOCRLabel-main\PPOCRLabel.py", line 155, in getStr
return self.stringBundle.getString(strId)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\PPOCRLabel-main\libs\stringBundle.py", line 63, in getString
assert stringId in self.idToMessage, "Missing string id : " + stringId
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Missing string id : keyDialogTip

@GreatV
Copy link
Collaborator Author

GreatV commented Sep 5, 2024

@Andyszl 可以试试加一句 import libs.resources

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