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

TypeError: Properties ['text'] passed to __init__ may not be existing property names. Valid property names are ... #1

Open
hari4742 opened this issue Feb 16, 2024 · 0 comments

Comments

@hari4742
Copy link

After setting up the project per instructions, When we drop the image the widow closes immediately with the terminal showing the following error:

err_kivymd

The error originated from the Snackbar component where we were passing the text key to it. This is because kivymd module have some changes from version 1.1.1 to 1.2.0 as shown here

The module versions are:
kivy: 2.3.0
kivymd: 1.2.0

Suggested Fix:

Update replace of instances for Snackbar component as per the latest version i.e. 1.2.0 in the main-GUI.py file

Existing Code:

Snackbar(text="...").open()

Code to fix the issue:

MDSnackbar(MDLabel(text="...")).open()
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