Skip to content

[Environment] OpenCV NULL guiReceiver error during pre-commit testing . #230

@Drita-ai

Description

@Drita-ai

Describe the bug
While running pre-commit hooks and pytest for my application, I'm encountering an OpenCV error related to GUI functions.

To Reproduce
Steps to reproduce the behavior:

  1. Make any changes in code.
  2. Run commands git add and pre-commit run -a (make sure pre-commit is installed).
  3. Commit changes by running git commit -m "commit message"

Screenshots
Screenshot from 2024-10-03 20-23-30

Desktop (please complete the following information):

  • OS: Ubuntu 24.04.1 LTS
  • Python version - 3.12.3
  • OpenCV version - 4.10.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions