anylabeling icon indicating copy to clipboard operation
anylabeling copied to clipboard

crashing after using "edit label" (ctrl+e) on windows

Open IzhanVarsky opened this issue 11 months ago • 1 comments

image_height does not match with image_data or image_path, so getting image_height from actual image.
image_width does not match with image_data or image_path, so getting image_width from actual image.
Traceback (most recent call last):
  File "C:\***\data\anylabelingvenv\Lib\site-packages\anylabeling\views\labeling\label_widget.py", line 1419, in edit_label
    text, flags, group_id = self.label_dialog.pop_up(
                            ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\***\data\anylabelingvenv\Lib\site-packages\anylabeling\views\labeling\widgets\label_dialog.py", line 223, in pop_up
    self.set_flags(flags)
  File "C:\***\data\anylabelingvenv\Lib\site-packages\anylabeling\views\labeling\widgets\label_dialog.py", line 193, in set_flags
    item.setChecked(flags[key])
TypeError: setChecked(self, bool): argument 1 has unexpected type 'float'

Crashes on any program version (exe old/latest/manually build/run as python) on windows after using ctrl+e (edit label). Labelme also crashes. Log is from py version

IzhanVarsky avatar Apr 20 '25 21:04 IzhanVarsky

Hi @IzhanVarsky Could you share the version of AnyLabeling and output when running pip list?

vietanhdev avatar Apr 29 '25 16:04 vietanhdev