You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
I have tried to use labelImg in Ubuntu 22.04 LTS. I installed it with pip3 as specified on the page, i.e. . I specify and load an image with , the image loads but when I click on the software crashes with the following message in the terminal :
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/home/tha/.local/lib/python3.10/site-packages/libs/canvas.py", line 530, in paintEvent
p.drawLine(self.prev_point.x(), 0, self.prev_point.x(), self.pixmap.height())
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
QPainter::begin: Painter already active
Segmentation fault (core dumped)
Note when I installed labelImg with pip3 it seemed okay, the terminal said :
Defaulting to user installation because normal site-packages is not writeable
Collecting labelImg
Using cached labelImg-1.8.6-py2.py3-none-any.whl
Requirement already satisfied: pyqt5 in /usr/lib/python3/dist-packages (from labelImg) (5.15.6)
Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (from labelImg) (4.8.0)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in /usr/lib/python3/dist-packages (from pyqt5->labelImg) (12.9.1)
Installing collected packages: labelImg
Successfully installed labelImg-1.8.6
Any idea ?
The text was updated successfully, but these errors were encountered:
Hi
I have tried to use labelImg in Ubuntu 22.04 LTS. I installed it with pip3 as specified on the page, i.e. . I specify and load an image with , the image loads but when I click on the software crashes with the following message in the terminal :
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/home/tha/.local/lib/python3.10/site-packages/libs/canvas.py", line 530, in paintEvent
p.drawLine(self.prev_point.x(), 0, self.prev_point.x(), self.pixmap.height())
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
QPainter::begin: Painter already active
Segmentation fault (core dumped)
Note when I installed labelImg with pip3 it seemed okay, the terminal said :
Defaulting to user installation because normal site-packages is not writeable
Collecting labelImg
Using cached labelImg-1.8.6-py2.py3-none-any.whl
Requirement already satisfied: pyqt5 in /usr/lib/python3/dist-packages (from labelImg) (5.15.6)
Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (from labelImg) (4.8.0)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in /usr/lib/python3/dist-packages (from pyqt5->labelImg) (12.9.1)
Installing collected packages: labelImg
Successfully installed labelImg-1.8.6
Any idea ?
The text was updated successfully, but these errors were encountered: