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

PythonVideoAnnotator crashes when left-clicking the color selection button of any given event. #55

Open
miguelgaspar24 opened this issue Jan 28, 2022 · 0 comments

Comments

@miguelgaspar24
Copy link

Bug description
PythonVideoAnnotator crashes when left-clicking the color selection button of any given event.

To Reproduce

  1. Double-click any created timeline event.

bug5 1_event_double_click_annot

  1. On the now opened event properties window, left-click the color selection button.

bug5 2_event_color_annot

Output error trace:

Traceback (most recent call last):
  File "c:\users\miguel gaspar\desktop\my_virtual_environments\video_annotator\lib\site-packages\pyforms_gui\controls\control_event_timeline\events\win_event.py", line 68, in __pick_color_evt
    options = conf.PYFORMS_COLORDIALOGS_OPTIONS
TypeError: getColor(initial: Union[QColor, Qt.GlobalColor, QGradient] = Qt.white, parent: QWidget = None, title: str = '', options: Union[QColorDialog.ColorDialogOptions, QColorDialog.ColorDialogOption] = QColorDialog.ColorDialogOptions()): argument 'options' has unexpected type 'NoneType'

Expected behavior
The expectation would be for the program to open the color selecting menu, as it usually happens in the "Properties" window accessed by right-clicking events.

Desktop and Versioning Details

OS: Microsoft Windows 10 Pro x64

Virtual Environment Python: 3.6.2

Python Video Annotator and Modules:

Python-video-annotator                                 3.306
Python-video-annotator-models                          0.8.82
Python-video-annotator-models-gui                      0.7.63
Python-video-annotator-module-background-finder        0.5.21
Python-video-annotator-module-contours-images          0.5.28
Python-video-annotator-module-create-paths             0.5.15
Python-video-annotator-module-deeplab                  0.902.21
Python-video-annotator-module-distances                0.5.18
Python-video-annotator-module-eventstats               0.5.15
Python-video-annotator-module-find-orientation         0.5.18
Python-video-annotator-module-import-export            0.5.23
Python-video-annotator-module-motion-counter           0.5.26
Python-video-annotator-module-path-editor              0.5.28
Python-video-annotator-module-path-map                 0.6.16
Python-video-annotator-module-regions-filter           0.5.18
Python-video-annotator-module-smooth-paths             0.5.19
Python-video-annotator-module-timeline                 0.6.26
Python-video-annotator-module-tracking                 0.6.38
Python-video-annotator-module-virtual-object-generator 0.6.26
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

1 participant