Bug 503485

Summary: Unknown error pop up
Product: [Applications] krita Reporter: zerra2345
Component: Color SelectorsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: penguinflyer2222
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: unspecified   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description zerra2345 2025-04-28 17:38:28 UTC
SUMMARY
Krita opens a error tab


Traceback (most recent call last):

  File "C:\Users\grenl\AppData\Roaming\krita\pykrita\lab_colour_picker\colour_selector_main.py", line 64, in timerEvent
    self.current_view.updateToForeGroundColour()

  File "C:\Users\grenl\AppData\Roaming\krita\pykrita\lab_colour_picker\lightness_selector.py", line 143, in updateToForeGroundColour
    self.display.updateToForeGroundColour()

  File "C:\Users\grenl\AppData\Roaming\krita\pykrita\lab_colour_picker\lightness_selector.py", line 104, in updateToForeGroundColour
    lab = self.foregroundColorToLab()

  File "C:\Users\grenl\AppData\Roaming\krita\pykrita\lab_colour_picker\selector_common.py", line 155, in foregroundColorToLab
    comp = fg.components()

AttributeError: 'NoneType' object has no attribute 'components'


SOFTWARE/OS VERSIONS 5.3.0- prealpha (git 8c9bd0a)
Windows: Windows 11 Home
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version:
Comment 1 Freya Lupen 2025-04-28 18:58:29 UTC
This is not a bug in Krita, but an error from a third-party Python plugin "OKLab/OKCLh Perceptual Colour Selector". I've made a link to this report in the plugin's thread on the Krita-Artists forum: https://krita-artists.org/t/oklab-okclh-perceptual-colour-selector/117869/22