Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@miguelgaspar24

Description

@miguelgaspar24
Issue body actions

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
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.