@EyeOdin Could you please post a how to use video on YT? I even couldn’t change the color of that sphere? (in the mask mode, how can I change the main color of the ball? Is the ball supoosed to be only yellow?) And when I click on color selection, the circle icon with intermittent lines, Krita crashes on me for a while. And the dot mode doesn’t update the color tones in the middle when I choose a new color?
And it gives a script error when choosing some gamuts in the gamut mode. And selection boxes disappeared then. I added the pic. Needs more testing. And eventhough I tried to uninstall and reinstall the plug-in, the problem persists.
Here is the message:
TypeError
Python 3.10.7: D:\SteamLibrary2\steamapps\common\Krita\krita\bin\krita.exe
Tue Oct 24 13:47:12 2023
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
C:\Users\Deniz\AppData\Roaming\krita\pykrita\pigment_o\pigment_o_modulo.py in paintEvent(self=<pigment_o.pigment_o_modulo.Panel_Gamut object>, event=<PyQt5.QtGui.QPaintEvent object>)
2395 if self.gamut_mask == “Circle”:
2396 # Profile Points
2397 path, P0, P1, P2, P3, P4 = self.Render_Circle( gdx, gdy, gds, self.gamut_1cir )
2398
2399 # Polygon
path undefined
P0 undefined
P1 undefined
P2 undefined
P3 undefined
P4 undefined
self = <pigment_o.pigment_o_modulo.Panel_Gamut object>
self.Render_Circle = <bound method Panel_Gamut.Render_Circle of <pigment_o.pigment_o_modulo.Panel_Gamut object>>
gdx = 68.168
gdy = 13.668000000000001
gds = 173.664
self.gamut_1cir = [(0.5, 0.5), (0.5, 0.1), (0.9, 0.5), (0.5, 0.9), (0.1, 0.5)]
C:\Users\Deniz\AppData\Roaming\krita\pykrita\pigment_o\pigment_o_modulo.py in Render_Circle(self=<pigment_o.pigment_o_modulo.Panel_Gamut object>, px=68.168, py=13.668000000000001, side=173.664, points=[(0.5, 0.5), (0.5, 0.1), (0.9, 0.5), (0.5, 0.9), (0.1, 0.5)])
2606 path.moveTo( A1[0], A1[1] )
2607 path.cubicTo(
2608 QPoint( self.geometry.Lerp_1D( a, A1[0], P12[0] ), self.geometry.Lerp_1D( a, A1[1], P12[1] ) ),
2609 QPoint( self.geometry.Lerp_1D( b, P12[0], A2[0] ), self.geometry.Lerp_1D( b, P12[1], A2[1] ) ),
2610 QPoint( A2[0], A2[1] ) )
global QPoint = <class ‘PyQt5.QtCore.QPoint’>
self = <pigment_o.pigment_o_modulo.Panel_Gamut object>
self.geometry = <pigment_o.pigment_o_calculations.Geometry object>
self.geometry.Lerp_1D = <bound method Geometry.Lerp_1D of <pigment_o.pigment_o_calculations.Geometry object>>
a = 0.551915024494
A1 = [85.5344, 100.5]
P12 = [85.5344, 31.034400000000005]
TypeError: arguments did not match any overloaded call:
QPoint(): too many arguments
QPoint(int, int): argument 1 has unexpected type ‘float’
QPoint(QPoint): argument 1 has unexpected type ‘float’
cause = None
class = <class ‘TypeError’>
context = None
delattr = <method-wrapper ‘delattr’ of TypeError object>
dict = {}
dir =
doc = ‘Inappropriate argument type.’
eq = <method-wrapper ‘eq’ of TypeError object>
format =
ge = <method-wrapper ‘ge’ of TypeError object>
getattribute = <method-wrapper ‘getattribute’ of TypeError object>
gt = <method-wrapper ‘gt’ of TypeError object>
hash = <method-wrapper ‘hash’ of TypeError object>
init = <method-wrapper ‘init’ of TypeError object>
init_subclass =
le = <method-wrapper ‘le’ of TypeError object>
lt = <method-wrapper ‘lt’ of TypeError object>
ne = <method-wrapper ‘ne’ of TypeError object>
new =
reduce =
reduce_ex =
repr = <method-wrapper ‘repr’ of TypeError object>
setattr = <method-wrapper ‘setattr’ of TypeError object>
setstate =
sizeof =
str = <method-wrapper ‘str’ of TypeError object>
subclasshook =
suppress_context = False
traceback =
args = (“arguments did not match any overloaded call:\n Q…t(QPoint): argument 1 has unexpected type ‘float’”,)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File “C:\Users\Deniz\AppData\Roaming\krita\pykrita\pigment_o\pigment_o_modulo.py”, line 2397, in paintEvent
path, P0, P1, P2, P3, P4 = self.Render_Circle( gdx, gdy, gds, self.gamut_1cir )
File “C:\Users\Deniz\AppData\Roaming\krita\pykrita\pigment_o\pigment_o_modulo.py”, line 2608, in Render_Circle
QPoint( self.geometry.Lerp_1D( a, A1[0], P12[0] ), self.geometry.Lerp_1D( a, A1[1], P12[1] ) ),
TypeError: arguments did not match any overloaded call:
QPoint(): too many arguments
QPoint(int, int): argument 1 has unexpected type ‘float’
QPoint(QPoint): argument 1 has unexpected type ‘float’