Skip to content

Crash in plotting method #22

@djsperka

Description

@djsperka

Crash while running. Msg below. Somehow the draw_rect is None?

[03-Nov-2025 11:15:49.544981] acquire (I) starting acquisition
Traceback (most recent call last):
File "C:\Users\User.conda\envs\vortex\Lib\site-packages\vortex_tools\ui\display.py", line 164, in paintEvent
super().paintEvent(e)
File "C:\Users\User.conda\envs\vortex\Lib\site-packages\vortex_tools\ui\backend\qt.py", line 121, in paintEvent
self._draw_image(painter)
File "C:\Users\User.conda\envs\vortex\Lib\site-packages\vortex_tools\ui\backend\qt.py", line 202, in _draw_image
painter.drawPixmap(self.__pixmap_draw_rect, self.pixmap, QRectF(self.pixmap.rect()))
TypeError: arguments did not match any overloaded call:
drawPixmap(self, targetRect: QRectF, pixmap: QPixmap, sourceRect: QRectF): argument 1 has unexpected type 'NoneType'
drawPixmap(self, targetRect: QRect, pixmap: QPixmap, sourceRect: QRect): argument 1 has unexpected type 'NoneType'
drawPixmap(self, p: Union[QPointF, QPoint], pm: QPixmap): argument 1 has unexpected type 'NoneType'
drawPixmap(self, p: QPoint, pm: QPixmap): argument 1 has unexpected type 'NoneType'
drawPixmap(self, r: QRect, pm: QPixmap): argument 1 has unexpected type 'NoneType'
drawPixmap(self, x: int, y: int, pm: QPixmap): argument 1 has unexpected type 'NoneType'
drawPixmap(self, x: int, y: int, w: int, h: int, pm: QPixmap): argument 1 has unexpected type 'NoneType'
drawPixmap(self, x: int, y: int, w: int, h: int, pm: QPixmap, sx: int, sy: int, sw: int, sh: int): argument 1 has unexpected type 'NoneType'
drawPixmap(self, x: int, y: int, pm: QPixmap, sx: int, sy: int, sw: int, sh: int): argument 1 has unexpected type 'NoneType'
drawPixmap(self, p: Union[QPointF, QPoint], pm: QPixmap, sr: QRectF): argument 1 has unexpected type 'NoneType'
drawPixmap(self, p: QPoint, pm: QPixmap, sr: QRect): argument 1 has unexpected type 'NoneType'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions