X-AnyLabeling icon indicating copy to clipboard operation
X-AnyLabeling copied to clipboard

win-cpu bulid after open exe failture

Open topjzk opened this issue 8 months ago • 1 comments

Search before asking

  • [x] I have searched the X-AnyLabeling issues and found no similar bug report.

X-AnyLabeling Component

No response

Bug

win-cpu bulid after open exe failture

Information

Traceback (most recent call last): File "app.py", line 235, in File "app.py", line 215, in main File "views\mainwindow.py", line 30, in init File "views\labeling\label_wrapper.py", line 24, in init File "views\labeling\label_widget.py", line 1575, in init File "views\labeling\widgets\auto_labeling\auto_labeling.py", line 106, in init File "views\labeling\widgets\searchable_model_dropdown.py", line 303, in init File "views\labeling\widgets\searchable_model_dropdown.py", line 349, in setup_model_list File "views\labeling\widgets\searchable_model_dropdown.py", line 84, in init UnboundLocalError: local variable 'icon_path' referenced before assignment

Link to a Reproducible Demonstration Video

Image

Execution Mode

Source Code

Additional

No response

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

topjzk avatar Apr 23 '25 09:04 topjzk

Hi @topjzk,

Thanks for reporting this bug and providing the detailed traceback!

We believe we've addressed the UnboundLocalError: local variable 'icon_path' referenced before assignment that you encountered.

Could you please try updating to the latest version and let us know if this resolves the issue for you?

We'll keep this issue open awaiting your feedback. Thanks!

CVHub520 avatar Apr 23 '25 15:04 CVHub520

Fixed in latest commit.

CVHub520 avatar Apr 30 '25 13:04 CVHub520