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

Crashes on Ubuntu 24.04 #191

Open
roboticsbrian opened this issue Oct 18, 2024 · 0 comments
Open

Crashes on Ubuntu 24.04 #191

roboticsbrian opened this issue Oct 18, 2024 · 0 comments

Comments

@roboticsbrian
Copy link

Anylabeling-Linux crashes with the following:

Traceback (most recent call last):
  File "views/labeling/widgets/canvas.py", line 867, in paintEvent
TypeError: arguments did not match any overloaded call:
  fillRect(self, a0: QRectF, a1: Union[QBrush, Union[QColor, Qt.GlobalColor], QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, a0: QRect, a1: Union[QBrush, Union[QColor, Qt.GlobalColor], QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, x: int, y: int, w: int, h: int, b: Union[QBrush, Union[QColor, Qt.GlobalColor], QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, a0: QRectF, color: Union[QColor, Qt.GlobalColor]): argument 1 has unexpected type 'float'
  fillRect(self, a0: QRect, color: Union[QColor, Qt.GlobalColor]): argument 1 has unexpected type 'float'
  fillRect(self, x: int, y: int, w: int, h: int, b: Union[QColor, Qt.GlobalColor]): argument 1 has unexpected type 'float'
  fillRect(self, x: int, y: int, w: int, h: int, c: Qt.GlobalColor): argument 1 has unexpected type 'float'
  fillRect(self, r: QRect, c: Qt.GlobalColor): argument 1 has unexpected type 'float'
  fillRect(self, r: QRectF, c: Qt.GlobalColor): argument 1 has unexpected type 'float'
  fillRect(self, x: int, y: int, w: int, h: int, style: Qt.BrushStyle): argument 1 has unexpected type 'float'
  fillRect(self, r: QRect, style: Qt.BrushStyle): argument 1 has unexpected type 'float'
  fillRect(self, r: QRectF, style: Qt.BrushStyle): argument 1 has unexpected type 'float'
  fillRect(self, x: int, y: int, w: int, h: int, preset: QGradient.Preset): argument 1 has unexpected type 'float'
  fillRect(self, r: QRect, preset: QGradient.Preset): argument 1 has unexpected type 'float'
  fillRect(self, r: QRectF, preset: QGradient.Preset): argument 1 has unexpected type 'float'
Aborted (core dumped)

Anylabeling-Linux-GPU crashes with the following:

Traceback (most recent call last):
  File "views/labeling/widgets/canvas.py", line 867, in paintEvent
TypeError: arguments did not match any overloaded call:
  fillRect(self, a0: QRectF, a1: Union[QBrush, Union[QColor, Qt.GlobalColor], QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, a0: QRect, a1: Union[QBrush, Union[QColor, Qt.GlobalColor], QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, x: int, y: int, w: int, h: int, b: Union[QBrush, Union[QColor, Qt.GlobalColor], QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, a0: QRectF, color: Union[QColor, Qt.GlobalColor]): argument 1 has unexpected type 'float'
  fillRect(self, a0: QRect, color: Union[QColor, Qt.GlobalColor]): argument 1 has unexpected type 'float'
  fillRect(self, x: int, y: int, w: int, h: int, b: Union[QColor, Qt.GlobalColor]): argument 1 has unexpected type 'float'
  fillRect(self, x: int, y: int, w: int, h: int, c: Qt.GlobalColor): argument 1 has unexpected type 'float'
  fillRect(self, r: QRect, c: Qt.GlobalColor): argument 1 has unexpected type 'float'
  fillRect(self, r: QRectF, c: Qt.GlobalColor): argument 1 has unexpected type 'float'
  fillRect(self, x: int, y: int, w: int, h: int, style: Qt.BrushStyle): argument 1 has unexpected type 'float'
  fillRect(self, r: QRect, style: Qt.BrushStyle): argument 1 has unexpected type 'float'
  fillRect(self, r: QRectF, style: Qt.BrushStyle): argument 1 has unexpected type 'float'
  fillRect(self, x: int, y: int, w: int, h: int, preset: QGradient.Preset): argument 1 has unexpected type 'float'
  fillRect(self, r: QRect, preset: QGradient.Preset): argument 1 has unexpected type 'float'
  fillRect(self, r: QRectF, preset: QGradient.Preset): argument 1 has unexpected type 'float'
Aborted (core dumped)

anylabeling installed via pip crashes with:

Traceback (most recent call last):
  File "/home/brian/miniforge3/envs/anylabeling/lib/python3.11/site-packages/anylabeling/views/labeling/widgets/canvas.py", line 867, in paintEvent
    p.fillRect(
TypeError: arguments did not match any overloaded call:
  fillRect(self, QRectF, Union[QBrush, QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, QRect, Union[QBrush, QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, int, int, int, int, Union[QBrush, QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, QRectF, Union[QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, QRect, Union[QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, int, int, int, int, Union[QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'float'
  fillRect(self, int, int, int, int, Qt.GlobalColor): argument 1 has unexpected type 'float'
  fillRect(self, QRect, Qt.GlobalColor): argument 1 has unexpected type 'float'
  fillRect(self, QRectF, Qt.GlobalColor): argument 1 has unexpected type 'float'
  fillRect(self, int, int, int, int, Qt.BrushStyle): argument 1 has unexpected type 'float'
  fillRect(self, QRect, Qt.BrushStyle): argument 1 has unexpected type 'float'
  fillRect(self, QRectF, Qt.BrushStyle): argument 1 has unexpected type 'float'
  fillRect(self, int, int, int, int, QGradient.Preset): argument 1 has unexpected type 'float'
  fillRect(self, QRect, QGradient.Preset): argument 1 has unexpected type 'float'
  fillRect(self, QRectF, QGradient.Preset): argument 1 has unexpected type 'float'
Aborted (core dumped)
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