Skip to content

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

@IzhanVarsky

Description

@IzhanVarsky
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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions