-
Notifications
You must be signed in to change notification settings - Fork 10
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
It crash the plugin when you change the harmony #23
Comments
Now i am testing in Krita 5.2.6 and i get this UnboundLocalError A problem occurred in a Python script. Here is the sequence of C:\Users\Ramon\AppData\Roaming\krita\pykrita\pigment_o\pigment_o_docker.py in Harmony_Rule(self=<pigment_o.pigment_o_docker.PigmentO_Docker object>, harmony_rule='Triadic') C:\Users\Ramon\AppData\Roaming\krita\pykrita\pigment_o\pigment_o_docker.py in Pigmento_RELEASE(self=<pigment_o.pigment_o_docker.PigmentO_Docker object>) C:\Users\Ramon\AppData\Roaming\krita\pykrita\pigment_o\pigment_o_docker.py in Sync_Elements(self=<pigment_o.pigment_o_docker.PigmentO_Docker object>, p2k=True, color_active=True, color_previous=True) C:\Users\Ramon\AppData\Roaming\krita\pykrita\pigment_o\pigment_o_docker.py in Harmony_Header(self=<pigment_o.pigment_o_docker.PigmentO_Docker object>, har_01={'aaa_1': 0.5685780617028473, 'aaa_d1': 0, 'active': True, 'ard_1': 0.15857605267535324, 'ard_2': 0.5583333436244474, 'ard_3': 0.470638292007904, 'cmy_1': 0.38823527097702026, 'cmy_2': 0.40784311294555675, 'cmy_3': 0.7921568602323532, 'cmyk_1': 0.0, ...}, har_02={'aaa_1': 0.5685780617028473, 'aaa_d1': 0, 'active': True, 'ard_1': 0.15857605267535324, 'ard_2': 0.5583333436244474, 'ard_3': 0.470638292007904, 'cmy_1': 0.38823527097702026, 'cmy_2': 0.40784311294555675, 'cmy_3': 0.7921568602323532, 'cmyk_1': 0.0, ...}, har_03={'aaa_1': 0.5685780617028473, 'aaa_d1': 0, 'active': True, 'ard_1': 0.15857605267535324, 'ard_2': 0.5583333436244474, 'ard_3': 0.470638292007904, 'cmy_1': 0.38823527097702026, 'cmy_2': 0.40784311294555675, 'cmy_3': 0.7921568602323532, 'cmyk_1': 0.0, ...}, har_04={'aaa_1': 0.5685780617028473, 'aaa_d1': 0, 'active': True, 'ard_1': 0.15857605267535324, 'ard_2': 0.5583333436244474, 'ard_3': 0.470638292007904, 'cmy_1': 0.38823527097702026, 'cmy_2': 0.40784311294555675, 'cmy_3': 0.7921568602323532, 'cmyk_1': 0.0, ...}, har_05={'aaa_1': 0.5685780617028473, 'aaa_d1': 0, 'active': True, 'ard_1': 0.15857605267535324, 'ard_2': 0.5583333436244474, 'ard_3': 0.470638292007904, 'cmy_1': 0.38823527097702026, 'cmy_2': 0.40784311294555675, 'cmy_3': 0.7921568602323532, 'cmyk_1': 0.0, ...}) C:\Users\Ramon\AppData\Roaming\krita\pykrita\pigment_o\pigment_o_docker.py in Color_Harmony(self=<pigment_o.pigment_o_docker.PigmentO_Docker object>, span=0.7302325581395349, hue_1={'aaa_1': 0.5685780617028473, 'aaa_d1': 0, 'active': True, 'ard_1': 0.15857605267535324, 'ard_2': 0.5583333436244474, 'ard_3': 0.470638292007904, 'cmy_1': 0.38823527097702026, 'cmy_2': 0.40784311294555675, 'cmy_3': 0.7921568602323532, 'cmyk_1': 0.0, ...}, hue_2={'aaa_1': 0.5685780617028473, 'aaa_d1': 0, 'active': True, 'ard_1': 0.15857605267535324, 'ard_2': 0.5583333436244474, 'ard_3': 0.470638292007904, 'cmy_1': 0.38823527097702026, 'cmy_2': 0.40784311294555675, 'cmy_3': 0.7921568602323532, 'cmyk_1': 0.0, ...}, hue_3={'aaa_1': 0.5685780617028473, 'aaa_d1': 0, 'active': True, 'ard_1': 0.15857605267535324, 'ard_2': 0.5583333436244474, 'ard_3': 0.470638292007904, 'cmy_1': 0.38823527097702026, 'cmy_2': 0.40784311294555675, 'cmy_3': 0.7921568602323532, 'cmyk_1': 0.0, ...}, hue_4={'aaa_1': 0.5685780617028473, 'aaa_d1': 0, 'active': True, 'ard_1': 0.15857605267535324, 'ard_2': 0.5583333436244474, 'ard_3': 0.470638292007904, 'cmy_1': 0.38823527097702026, 'cmy_2': 0.40784311294555675, 'cmy_3': 0.7921568602323532, 'cmyk_1': 0.0, ...}, hue_5={'aaa_1': 0.5685780617028473, 'aaa_d1': 0, 'active': True, 'ard_1': 0.15857605267535324, 'ard_2': 0.5583333436244474, 'ard_3': 0.470638292007904, 'cmy_1': 0.38823527097702026, 'cmy_2': 0.40784311294555675, 'cmy_3': 0.7921568602323532, 'cmyk_1': 0.0, ...}) The above is a description of an error in a Python program. Here is Traceback (most recent call last): |
This error does not seem normal. I am not able to trigger it on my end. I have tripled checked now this section of code on the reported section and all looks sound. conversion is also not breaking in isolation. I will require more information to better trigger this or analyze it running on your machine to pin point the issue (it would require boring testing). |
No problem, after I release the video about templates i will record a video for you . I hope this helps |
It happens when i change the harmony from Analogus to complementary. Maybe the photo helps? The fail, makes Krita not usable and the user needs to restart.
Now i need to put the text complete here isn't it?
The text was updated successfully, but these errors were encountered: