Cadence
Cadence copied to clipboard
setMinimumSize : unexpected type 'float'
Hi. With the last versions of Claudia and Ubuntu 22 TLS, I get this error when lauching Claudia :
anas@Zeus:~$ claudia
Using Tray Engine 'Qt'
Traceback (most recent call last):
File "/usr/share/cadence/src/claudia.py", line 2768, in <module>
gui = ClaudiaMainW()
File "/usr/share/cadence/src/claudia.py", line 786, in __init__
self.ui.miniCanvasPreview.init(self.scene, DEFAULT_CANVAS_WIDTH, DEFAULT_CANVAS_HEIGHT)
File "/usr/share/cadence/src/canvaspreviewframe.py", line 76, in init
self.setMinimumSize(self.fFakeWidth+padding, self.fFakeHeight+padding)
TypeError: arguments did not match any overloaded call:
setMinimumSize(self, int, int): argument 1 has unexpected type 'float'
setMinimumSize(self, QSize): argument 1 has unexpected type 'float'
Having the same issue
Me too.. this is the terminal output
~$ claudia
Using Tray Engine 'Qt'
Traceback (most recent call last):
File "/usr/share/cadence/src/claudia.py", line 2768, in
After patching /usr/share/cadence/src/canvaspreviewframe.py with [(https://github.com/falkTX/Cadence/commit/56b078f660fd0b98afc9181aa7bb261e82db4be4)]
I got this
~$ claudia Using Tray Engine 'Qt' Traceback (most recent call last): File "/usr/share/cadence/src/patchcanvas.py", line 2483, in paint painter.drawRect(0, 0, self.p_width, self.p_height) TypeError: arguments did not match any overloaded call: drawRect(self, QRectF): argument 1 has unexpected type 'int' drawRect(self, int, int, int, int): argument 4 has unexpected type 'float' drawRect(self, QRect): argument 1 has unexpected type 'int' QPainter::end: Painter ended with 2 saved states Traceback (most recent call last): File "/usr/share/cadence/src/patchcanvas.py", line 2483, in paint painter.drawRect(0, 0, self.p_width, self.p_height) TypeError: arguments did not match any overloaded call: drawRect(self, QRectF): argument 1 has unexpected type 'int' drawRect(self, int, int, int, int): argument 4 has unexpected type 'float' drawRect(self, QRect): argument 1 has unexpected type 'int' QPainter::end: Painter ended with 2 saved states Traceback (most recent call last): File "/usr/share/cadence/src/patchcanvas.py", line 2483, in paint painter.drawRect(0, 0, self.p_width, self.p_height) TypeError: arguments did not match any overloaded call: drawRect(self, QRectF): argument 1 has unexpected type 'int' drawRect(self, int, int, int, int): argument 4 has unexpected type 'float' drawRect(self, QRect): argument 1 has unexpected type 'int' QPainter::end: Painter ended with 2 saved states Traceback (most recent call last): File "/usr/share/cadence/src/patchcanvas.py", line 2483, in paint painter.drawRect(0, 0, self.p_width, self.p_height) TypeError: arguments did not match any overloaded call: drawRect(self, QRectF): argument 1 has unexpected type 'int' drawRect(self, int, int, int, int): argument 4 has unexpected type 'float' drawRect(self, QRect): argument 1 has unexpected type 'int' QPainter::end: Painter ended with 2 saved states Traceback (most recent call last): File "/usr/share/cadence/src/patchcanvas.py", line 2483, in paint painter.drawRect(0, 0, self.p_width, self.p_height) TypeError: arguments did not match any overloaded call: drawRect(self, QRectF): argument 1 has unexpected type 'int' drawRect(self, int, int, int, int): argument 4 has unexpected type 'float' drawRect(self, QRect): argument 1 has unexpected type 'int' QPainter::end: Painter ended with 2 saved states Traceback (most recent call last): File "/usr/share/cadence/src/patchcanvas.py", line 2483, in paint painter.drawRect(0, 0, self.p_width, self.p_height) TypeError: arguments did not match any overloaded call: drawRect(self, QRectF): argument 1 has unexpected type 'int' drawRect(self, int, int, int, int): argument 4 has unexpected type 'float' drawRect(self, QRect): argument 1 has unexpected type 'int' QPainter::end: Painter ended with 2 saved states 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? Traceback (most recent call last): File "/usr/share/cadence/src/patchcanvas.py", line 2483, in paint painter.drawRect(0, 0, self.p_width, self.p_height) TypeError: arguments did not match any overloaded call: drawRect(self, QRectF): argument 1 has unexpected type 'int' drawRect(self, int, int, int, int): argument 4 has unexpected type 'float' drawRect(self, QRect): argument 1 has unexpected type 'int' QPainter::end: Painter ended with 2 saved states Speicherzugriffsfehler (Speicherabzug geschrieben)
Claudia GUI is opening after patching again, but only a right-click on a room end up with previous message.
I need to do a new release for this, but I need to be able to reproduce the issue which is not something that happens on 20.04, only 22.04 and up. So it is time to get an extra SSD to install 22.04 on it, while keeping the old things for work.. Let's see if we get this next week.
Thanks falkTX!
Reproduced on latest Obarun (Arch-Based) Linux from cadence-claudia AUR package, with freshly-built dependencies.
However, updating the package to 0.9.2 makes it work!
However, updating the package to 0.9.2 makes it work!
how can i update it !