FarmersMarketFinderTutorial
FarmersMarketFinderTutorial copied to clipboard
No module MDInputDialog
I'm trying to learn Python/Kivy and love all your vids. This one has me stumped as there does not seem to be a KivyMD module MDInputDialog. Is this a custom class you created and I missed a reference too in prior vids?
It's very possible that newer version of kivymd removed MDInputDialog. I really made a mistake when making these tutorial by not using a requirements.txt
file, where I could have specified the exact version of kivymd I was using. However, it looks like I did include the entire kivymd folder in this repo. Here's a link to the code for MDInputDialog.
(It'll still help you understand python/kivy/kivymd, but you will technically be learning and using a deprecated piece of kivymd. So just keep that in mind ;) )
Thanks for getting back to me. I figured out how to do it using the latest version. I had to set the MDDialog type='custom' and then use a Custom(BoxLayout) class. This helped: https://kivymd.readthedocs.io/en/latest/components/dialog/#kivymd.uix.dialog.dialog.MDDialog.content_cls
I really appreciate your tutorial videos. They have helped me a lot to get my head around Python and Kivy.
On Fri, 13 Aug 2021 at 14:01, Erik Sandberg @.***> wrote:
It's very possible that newer version of kivymd removed MDInputDialog. I really made a mistake when making these tutorial by not using a requirements.txt file, where I could have specified the exact version of kivymd I was using. However, it looks like I did include the entire kivymd folder in this repo. Here's a link to the code for MDInputDialog https://github.com/Dirk-Sandberg/FarmersMarketFinderTutorial/blob/30295797691bf6a88bfebee077a4f14b5785dcf2/part2/kivymd/uix/dialog.py#L292 .
(It'll still help you understand python/kivy/kivymd, but you will technically be learning and using a deprecated piece of kivymd. So just keep that in mind ;) )
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dirk-Sandberg/FarmersMarketFinderTutorial/issues/4#issuecomment-898174361, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDJYEGXKNG4XLMB3D3U7ZDT4SKJ3ANCNFSM5CCWWP5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
Hi Erik, I found an easier way to get lat long for the search function. No sign up, no cost using Open Street Maps. See here: https://geocoder.readthedocs.io/providers/OpenStreetMap.html