KivyMD: error in opening MDColorPicker using usage example in kivymd.uix.pickers.colorpicker.py

Description of the Bug

I have tried running usage example of kivymd.uix.pickers.colorpicker.py but on click “OPEN PICKER” button it kills on raising error. The error ends at “KeyError: ‘theme_text_color’”

Code and Logs

from kivy.app import App
from kivy.lang import Builder

kv = """
Screen:
    # KV-Code
"""


class MainApp(App):
    def build(self):
        self.root = Builder.load_string(kv)


if __name__ == '__main__':
    MainApp().run()

Versions

  • OS: macOS Big Sur version 11.13.1
  • Python: v3.8.2 (v3.8.2:7b3ab5921f, Feb 24 2020, 17:52:18)
  • Kivy: v2.0.0rc4, git-d74461b, 20201015
  • KivyMD: 1.0.0.dev0, git-Unknown, 2022-01-11 kivymd_issue_colorpicker.txt

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 35 (13 by maintainers)

Most upvoted comments

I got the same issue and I am using kivymd version 1.0.0.dev0