-
Notifications
You must be signed in to change notification settings - Fork 506
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
Kivy crash error TypeError: 'NoneType' object is not subscriptable #944
Comments
"help fast" 😂 |
Oh sorry, i am new to python and kivy so I dont know much about them.I dont know if thats a buildozer error or something but I made that app using buildozer and kivy so I thought there might be something with my buildozer.There is my main.py
I have not done anything different on my main.py so there is also my .kv file
I just trying to test buildozer first, make sure it works perfect and then I start to improve my app so I added only 3 buttons and nothing. |
Looks like a parsing error of the kv file, but it's not too clear what's wrong to me. |
Sorry like I said, I dont know much about python .kivy or buildozer so how to simplify a max. Sorry if this is a stupid question. |
The idea is to simplify the code as much as possible until you see or don't see the error |
I am suffering from the same error. |
Try naming your main class something different, not Trink(App), try Example(App). Because kivy loads the kv file with the same name as your main class, and you load it again with the Builder.load_file("trink.kv"). If you have your kv file name different than your class name, then it loads the kv file with Builder. I dont know if this will fix the error, but sure you dont want to do it like this. Full Docs here https://kivy.org/doc/stable/guide/lang.html |
👋 @AhmetTarikulu, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project. |
I make a simple kivy android app using buildozer, I make a .apk file and run it on my phone but it crashes on startup so I debugged it ,logs are :
It gives error TypeError: 'NoneType' object is not subscriptable
please help fast
The text was updated successfully, but these errors were encountered: