Hello Sir, I write exactly the same code which you have written, but in my .kv file while using "MDTextFieldRound", giving this error - kivy.factory.FactoryException: Unknown class . I am new to kivy programming so not able to figure it out. if I use "MDTextFieldRect" it works fine. Is this the Python version Issue ? Or I have not included any class ? Please HELP. Thanks
HI kivy has changed since, to get a round textbox you must identify it as '' MDTextField: mode: "round" '' This will create round text box, hope this helps!
elevation (shadow) is not working even if I copy paste your code. In IDE a Warning Message Show every time I run the code (If you see this error, this means that either youre using `CommonElevationBehavio`r directly or your 'shader' dont have a `_draw_shadow` instruction, remember to overwrite this functionto draw over the image context. Тhe figure you would like. Or your class MDCard is not inherited from any of the classes ('CommonElevationBehavior', 'RectangularElevationBehavior', 'CircularElevationBehavior', 'RoundedRectangularElevationBehavior', 'ObservableShadow', 'FakeRectangularElevationBehavior', 'FakeCircularElevationBehavior')
Starting from the KivyMD 1.0.0 library version, it is necessary to manually inherit the card class from one of the Elevation classes from kivymd/uix/behaviors/elevation.py module to draw the card shadow. Must add to python file: from kivymd.uix.behaviors import RoundedRectangularElevationBehavior from kivymd.uix.card import MDCard class MD3Card(MDCard, RoundedRectangularElevationBehavior): '''Implements a material design v3 card.''' And replace in login.kv MDCard to MD3Card
got an error when writing MDTextFieldRound saying this raise FactoryException('Unknown class ' % name) kivy.factory.FactoryException: Unknown class please help me how to fix this
John Can you tell me how to change the text color of the kv file please? I searched on google but I didn't not find answer. It's look wired with the plain text.
@@Codemycom I'm waiting for my smart card and I will get it soon,, hopefully this time work with your conditions ,so I be able to enroll with your courses.
Hi, I just want to know if you have a video where you are on the login page in python kivy and if you click sign up then the sign up page will appear on the screen made in python kivy. Please help cant find any resource to do that or any other video. Other videos are telling me how to gather data from text boxs when user clicks the submit button but what I need is if I click signup on the login page it should take me to an exsisting sign up page I have created using python kivy. Thanks
can u pls tell me how can i access data from a text field when there are multiple screens , it's urgent i have a deadline and i m stuck here it made the function in the class of the screen but it says that it doesn't have an attribute root but putting the function in the main app class wouldn't work either
hey men, i really like your videos, but i have a quiestion: What if i want to call a function () in de kivy file......but not with a button just call the function from la LABEL or a Widget , that function is in my PY File. Best regards
Hello sir! I have done python programming in jupyter notebook for crop prediction using random forest algorithm technique. Can I build an app using Kivy by uploading the same code. Please do tell me.
Great video .... John ... Can u make aa video 1hr of making app with kivymd with backend with django. If yes then it's great.... Btw love ur hardwork .... Keep it up
for some reason the line - self.root.ids.welcome_label.text = f'Sup {self.root.ids.user.text}!' - doesn't work, and it says raise BuilderException(rule.ctx, rule.line. do any of you have any idea why? thanks!
When I use a kv file with only login page codes it works like a charm but when I use it as one of the screens of my app with screen manager an error is raised
Btw sir we have been given a group assignment from our school to develop an app, we chose kivy as the framework and your lectures have been a huge help for us! :)
Im having this error anyone help me? thanks TypeError: Cannot convert kivy.properties.NumericPropertyStorage to kivy.properties.BoundedNumericPropertyStorage
Some Annoying girl: Hey who's your favorite youtuber? Me: John Elder Annoying Girl: Who's that? Me: "You are accused of treason and anti-soviet behavior. The court finds you guilty and sentences you to be shot"
Hello Sir, I write exactly the same code which you have written, but in my .kv file while using "MDTextFieldRound", giving this error - kivy.factory.FactoryException: Unknown class . I am new to kivy programming so not able to figure it out. if I use "MDTextFieldRect" it works fine. Is this the Python version Issue ? Or I have not included any class ?
Please HELP. Thanks
HI kivy has changed since, to get a round textbox you must identify it as
''
MDTextField:
mode: "round"
''
This will create round text box, hope this helps!
thanks @@nitronjoe6233. this help me to solve my problem
@@nitronjoe6233 Thanks a lot, your answer really help me
@@nitronjoe6233 Thanks for that comment , i was having the same issue
Can you do one with logging in with Google or with using biometrics for more security? Thanks.
John. Please make a video about the navigation drawer in kivy. I think the navigation drawer is useful. Thank you so much!
elevation (shadow) is not working even if I copy paste your code. In IDE a Warning Message Show every time I run the code (If you see this error, this means that either youre using `CommonElevationBehavio`r directly or your 'shader' dont have a `_draw_shadow` instruction, remember to overwrite this functionto draw over the image context. Тhe figure you would like. Or your class MDCard is not inherited from any of the classes ('CommonElevationBehavior', 'RectangularElevationBehavior', 'CircularElevationBehavior', 'RoundedRectangularElevationBehavior', 'ObservableShadow', 'FakeRectangularElevationBehavior', 'FakeCircularElevationBehavior')
Starting from the KivyMD 1.0.0 library version, it is necessary to manually inherit the card class from one of the Elevation classes from kivymd/uix/behaviors/elevation.py module to draw the card shadow.
Must add to python file:
from kivymd.uix.behaviors import RoundedRectangularElevationBehavior
from kivymd.uix.card import MDCard
class MD3Card(MDCard, RoundedRectangularElevationBehavior):
'''Implements a material design v3 card.'''
And replace in login.kv MDCard to MD3Card
@@СБИСБЕЗВОДЫ pls I really need ur help
U said implement are material design I did it but is not working
got an error when writing MDTextFieldRound saying this raise FactoryException('Unknown class ' % name)
kivy.factory.FactoryException: Unknown class please help me how to fix this
It does not exist anymore. Add to MDTextField: mode: "round"
Love the video. Keep up the good work John!
Thanks for watching!
John Can you tell me how to change the text color of the kv file please? I searched on google but I didn't not find answer. It's look wired with the plain text.
Update Sublime Text With This:
packagecontrol.io/packages/Kivy%20Language
@@Codemycom Thank you so much😊
Although you explain quickly, the explanation is interesting, so I understand everything even though I am not a programmer. Thank you
Glad to hear
@@Codemycom I'm waiting for my smart card and I will get it soon,, hopefully this time work with your conditions ,so I be able to enroll with your courses.
@@hossienhassanhamow3489 Awesome
Hi, I just want to know if you have a video where you are on the login page in python kivy and if you click sign up then the sign up page will appear on the screen made in python kivy. Please help cant find any resource to do that or any other video. Other videos are telling me how to gather data from text boxs when user clicks the submit button but what I need is if I click signup on the login page it should take me to an exsisting sign up page I have created using python kivy. Thanks
can u pls tell me how can i access data from a text field when there are multiple screens , it's urgent i have a deadline and i m stuck here
it made the function in the class of the screen but it says that it doesn't have an attribute root but putting the function in the main app class wouldn't work either
how to we improve password textfield input? how can we make appear password when clicked right icon?
Could you make a tutorial on actually installing an app on iPhone/Android
thanks for your great tutorial, can we make an app half in tkinter half in kivy, i mean can we mix kivy and tkinter?
hi. Where i can get the code? in the video you talk about a pin comment but i dont see it anymore? Thanks!
Sir, can you create a Login screen with Kivy only and not KivyMD? I love to create login screen that logs only when verified in mysql database.
Tell me if you get this working?
How to change the top window border dark,Mine stays white all the time.My system dark mode is turned on.But it doesn't change anything.
If you would make a app using kivy and kivy md with database and would you use maps in that app
Yes I'll do database stuff one of these days
After login and going to another screen(another class) how can I get the username and password, which the user entered?
how can we add additional features to apk files(like android supports etc) beyond what buildozer provides.
I have a question how to add on press function with for loop
In the exact same way...just when you write your function, write whatever for loop you want..
i tried combining the multiple windows and this password screen but it is giving me an error. it would be awesome if you could make a video on that
same for me, did you get any solutions?
Is there a way to make a gradient color on a label or something?
I'll appreciate a video on changing screen via button press
Hi John! Getting an error about ids and that it defaults to an empty dict? Any help, please? :)
How you add multiple teminal
I'm having an error message if i put MDRoundFlatButton, but if i only put button it works. Do you have any solution John?
You're probably misspelling MDRoundFlatButton or something
Thanks, keep up with the good work, you're awesome
Thanks! And thanks for watching!
It showing me an error
Is says kivy.factory. factoryExpection: unknown class
John how do you get syntax completion in Sublime Text?
It works by default...there's nothing you have to do. Just save your file so it knows what language you're working with...
how can we archive performance like flutter in python kivy and how can we improve UI in kivy
I don't use flutter
I copied all your code but it has error " kivy.factory.FactoryException: Unknown class ". How can i fix it?
You didn't copy the code correctly. Compare it to the video and discover what you did wrong.
Please response.I have big trouble ASAP!!! I need your help to install Kivy in Linux Mint 20.1 Ulyssa.I've tried many times,and I still stuck.
Did you follow the instructions on the kivy website?
hey men, i really like your videos, but i have a quiestion: What if i want to call a function () in de kivy file......but not with a button just call the function from la LABEL or a Widget , that function is in my PY File. Best regards
Is it good to learn from the Kivy documentation?
It's good to learn any way you can
Very good! Is there any way to delay password masking ??
I don't know what delay password masking is lol
How to toggle password visibility,
I love the videos you are making. how did you setup sublime to autocomplete *.kv files
packagecontrol.io/packages/Kivy%20Language
Hello sir! I have done python programming in jupyter notebook for crop prediction using random forest algorithm technique. Can I build an app using Kivy by uploading the same code. Please do tell me.
Not the exact code, you'll have to modify it slightly to fit with kivy
Yes sir...!! It showing error like no module named 'pandas' in Kivy when I'm running it.. but I have installed pandas in Kivy
It's a humble request please do help me sir
@@sivanandkaranam4515 You don't install pandas in kivy, you install it in your virtual environment.
@@Codemycom yes sir but I installed pandas in venv only..!!
But is it Monday Morning?
Great Job! Many Thx!. Can you make a movie about how to make graphs or matplot lib???
maybe some day
Great video .... John ... Can u make aa video 1hr of making app with kivymd with backend with django. If yes then it's great.... Btw love ur hardwork .... Keep it up
Django is a web framework...it doesn't really go with kivy in any way...
@@Codemycom any other backend which work with KivyMd
@@TWFSHOW For what? Any database will work to save data
Hey great video man. I enjoy every bit of your tutorials. can you please also make video for dropdown menu using kivyMD?
Sure
how to lock potrait screen for android in kivy?
for some reason the line - self.root.ids.welcome_label.text = f'Sup {self.root.ids.user.text}!' - doesn't work, and it says raise BuilderException(rule.ctx, rule.line. do any of you have any idea why? thanks!
Apparently that changed in most recent kivymd versions, I have the same problem, if you find a solution please let me know
did you find the solution
Will you do a video on Kivy mvc pattern
Not explicitly...
Thanks so good for project but also can you show some tutorials to use kivy with MySQL
Sure
For some reason the welcome label is black. Why though?
What did you do differently?
@@Codemycom Nothing else. I just followed your code. Now I'm starting to think that it's something with the KivyMD versions
@@pranavkrishna.s1127 No, you have a typo somewhere
mdtext field deosn't accept any input
are you using vscode?
No, sublime text and git bash
very nice, thanks , like so much ...
Happy to hear it!
Why am I getting this error ?
AttributeError: 'super' object has no attribute '__getattr__'
You have an error in your code somewhere. Rewatch the video and check your code.
Is there something to do with the screen manager and 3 screens in the kv file I'm using for my app?
When I use a kv file with only login page codes it works like a charm but when I use it as one of the screens of my app with screen manager an error is raised
Sir I'm the same person, I couldn't comment with that account anymore absolutely have no idea why.
I got the solution for it
Btw sir we have been given a group assignment from our school to develop an app, we chose kivy as the framework and your lectures have been a huge help for us! :)
Seem like MDTextFieldRound is removed from KivyMD
Alternative:
MDTextField:
mode: "round"
id: user
hint_text: "Username"
Im having this error anyone help me? thanks
TypeError: Cannot convert kivy.properties.NumericPropertyStorage to kivy.properties.BoundedNumericPropertyStorage
Bro kivy md is additional module
yeah, so?
Very cool login screen!
Thanks!
how to make "eye on" function?
sorry I don't know what you mean
how to give function an kivymd "EYE OFF" icon?
@@codinglibrary6456 Sorry, I don't understand. Functions are functions...they don't have icons...they're code.
Would be awesome if you could show us how to interact with a browser through kivy
noted
self.root.ids.welcome_Label.text = f'Sup {self.root.ids.user.text}!' it dosent work how can I solve this problem
What error are you getting?
you know that you are saving me, aren't ya ?
Happy to hear it!
Bro please how we make login page in pycharm
pycharm sux...and the code doesn't change depending on your IDE.
Teacher n ° 1 😊
Thanks!
i have f-string issue :/
self.root.ids.welcome_Label.text = f 'Sup {self.root.ids.user.text}!'
What issue?
not welcome_Label but with lower case welcome_label
Thank you sir
Thank you so much!!!!!!!!
Welcome!
Sir, how to convert kivy project to apk.file and install it on mobile🙄 🙄🙄
will get to that one of these days
Que coisa mais lindaaaaaaaaaaaaaaaa
kivymd lindo de mais tooooop
I think enough tkinter and upload for kivy instead
No thanks :-) Kivy every Monday, Tkinter every Tuesday.
Thank you!
Some Annoying girl: Hey who's your favorite youtuber?
Me: John Elder
Annoying Girl: Who's that?
Me: "You are accused of treason and anti-soviet behavior. The court finds you guilty and sentences you to be shot"
Ha! Nice
tell a friend to come and watch....
For sure
thumbs up
thanks
Nice re!
Thanks!
attention, this won't work in android! Don't waste your time.
lol of course it will work in android lol
100th view
Nice!