- Posts: 270
- Thank you received: 0
[fixed] TypeError: arguments did not match any overloaded call:
3 years 2 months ago #277534
by ikkuh
TypeError: arguments did not match any overloaded call: was created by ikkuh
Code:
qtDragon_hd
[QTvcp][CRITICAL] Retry from Error Dialog
Qtvcp encountered an error. The following information may be useful in troubleshooting:
LinuxCNC Version : 2.9.0~pre1+git20230208.f1270d6ed7
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtvcp/widgets/simple_widgets.py", line 649, in paintEvent
self.paintIndicator()
File "/usr/lib/python3/dist-packages/qtvcp/widgets/simple_widgets.py", line 707, in paintIndicator
p.drawRoundedRect(topLeft.x()+(self.width()*((1-self._w_fraction)/2)) + self._top_edge_offset,
TypeError: arguments did not match any overloaded call:
drawRoundedRect(self, rect: QRectF, xRadius: float, yRadius: float, mode: Qt.SizeMode = Qt.AbsoluteSize): argument 1 has unexpected type 'float'
drawRoundedRect(self, x: int, y: int, w: int, h: int, xRadius: float, yRadius: float, mode: Qt.SizeMode = Qt.AbsoluteSize): argument 1 has unexpected type 'float'
drawRoundedRect(self, rect: QRect, xRadius: float, yRadius: float, mode: Qt.SizeMode = Qt.AbsoluteSize): argument 1 has unexpected type 'float'
(qtvcp:468)
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 29733, resource id: 24169718, major code: 40 (TranslateCoords), minor code: 0
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?
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?
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?
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?
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
[QTvcp][CRITICAL] Aborted from Error Dialog
Qtvcp encountered an error. The following information may be useful in troubleshooting:
LinuxCNC Version : 2.9.0~pre1+git20230208.f1270d6ed7
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtvcp/widgets/simple_widgets.py", line 649, in paintEvent
self.paintIndicator()
File "/usr/lib/python3/dist-packages/qtvcp/widgets/simple_widgets.py", line 707, in paintIndicator
p.drawRoundedRect(topLeft.x()+(self.width()*((1-self._w_fraction)/2)) + self._top_edge_offset,
TypeError: arguments did not match any overloaded call:
drawRoundedRect(self, rect: QRectF, xRadius: float, yRadius: float, mode: Qt.SizeMode = Qt.AbsoluteSize): argument 1 has unexpected type 'float'
drawRoundedRect(self, x: int, y: int, w: int, h: int, xRadius: float, yRadius: float, mode: Qt.SizeMode = Qt.AbsoluteSize): argument 1 has unexpected type 'float'
drawRoundedRect(self, rect: QRect, xRadius: float, yRadius: float, mode: Qt.SizeMode = Qt.AbsoluteSize): argument 1 has unexpected type 'float'
(qtvcp:464)
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?
/usr/bin/linuxcnc: line 974: 24292 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 8777 cycles, min=0.000010, max=0.016525, avg=0.010052, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2_eth: in hm2_eth_reset
After this error I can only choose 'abort' in the dialogbo onscreen and then LinuxCNC quits.
LinuxCNC Version : 2.9.0~pre1+git20230208.f1270d6ed7
Debian 12, fresh APT install.
Please Log in to join the conversation.
3 years 2 months ago #277541
by cmorley
Replied by cmorley on topic TypeError: arguments did not match any overloaded call:
If I understand correctly, that is linuxcnc from an official Debian package?
Those bugs have been fixed but, i understand that we can't update the Debian package.
But you can use a linuxcnc buildbot deb and get newer bug fixes.
Those bugs have been fixed but, i understand that we can't update the Debian package.
But you can use a linuxcnc buildbot deb and get newer bug fixes.
Please Log in to join the conversation.
3 years 2 months ago #277546
by ikkuh
That's not nice to hear. I formatted the machine and used Debian 12 especially because LinuxCNC is onboard.
I hoped to avoid another rabbit hole when using 2.10 (buildbot version nowadays). So I hoped the 2.9 apt package would be usable and up-to-date.
Thanks for all your hard en great work! LinuxCNC is so much nicer with all the enhancements you intergrated!
Replied by ikkuh on topic TypeError: arguments did not match any overloaded call:
If I understand correctly, that is linuxcnc from an official Debian package?
Those bugs have been fixed but, i understand that we can't update the Debian package.
That's not nice to hear. I formatted the machine and used Debian 12 especially because LinuxCNC is onboard.
I hoped to avoid another rabbit hole when using 2.10 (buildbot version nowadays). So I hoped the 2.9 apt package would be usable and up-to-date.
I hope I can pin the 2.9 version there.But you can use a linuxcnc buildbot deb and get newer bug fixes.
Thanks for all your hard en great work! LinuxCNC is so much nicer with all the enhancements you intergrated!
Please Log in to join the conversation.
3 years 2 months ago #277566
by rodw
Replied by rodw on topic TypeError: arguments did not match any overloaded call:
Whilst the Debian version is fixed due to their policies, you can follow these steps to use the Linuxcnc buildbot2 to get updated sources by the normal apt update process.
linuxcnc.org/docs/2.9/html/getting-start...an_bookworm_x86_only
Once this is done, its only 2 commands to update to the latest version at any time via apt upgrade.
linuxcnc.org/docs/2.9/html/getting-start...an_bookworm_x86_only
Once this is done, its only 2 commands to update to the latest version at any time via apt upgrade.
Please Log in to join the conversation.
3 years 2 months ago #277604
by ikkuh
It really works. LinuxCNC is neatly pinned at the 2.9 version. I sleep better now. Thanks once again to you both!
Replied by ikkuh on topic [fixed] TypeError: arguments did not match any overloaded call:
Whilst the Debian version is fixed due to their policies, you can follow these steps to use the Linuxcnc buildbot2 to get updated sources by the normal apt update process.
Wow, thanks. I searched for a solution but never saw that page. I will use the information to get my machine going again.
Thanks!
It really works. LinuxCNC is neatly pinned at the 2.9 version. I sleep better now. Thanks once again to you both!
Please Log in to join the conversation.
Time to create page: 0.114 seconds
