Skip to content
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

Getting KeyError while using this #1

Open
Prince2347X opened this issue Jun 8, 2021 · 0 comments
Open

Getting KeyError while using this #1

Prince2347X opened this issue Jun 8, 2021 · 0 comments

Comments

@Prince2347X
Copy link

Hey, this is my code:

import os


from kivymd.app import MDApp
from kaki.app import App
from kivy.factory import Factory




# main app class for kaki app with kivymd modules
class LiveApp(MDApp, App):
    """ Hi Windows users """

    DEBUG = 1 # set this to 0 make live app not working

    # *.kv files to watch
    KV_FILES = {
        os.path.join(os.getcwd(), "login_screen.kv"),
    }

    # class to watch from *.py files
    CLASSES = {
        "Airlines": "main",
        "LoginScreen": "login_screen",
    }

    # auto reload path
    AUTORELOADER_PATHS = [
        (".", {"recursive": True}),
    ]


    def build_app(self):
        return Factory.Airlines()




# finally, run the app
if __name__ == "__main__":
    LiveApp().run()

and i'm getting this error and being stuck at the white screen...
image

here is the file structure..:
image

@prsfx Help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant