Hello
Using KivyMD 2.0.1.dev0 on IOS (simulation or actual device) I get the run-time error:-
<module>
from .celebi import QuantizeCelebi
File "<string>", line 49, in load_module
File "/Users/rdcb/venv_test2/dist/root/python3/lib/python3.11/imp.py", line 343, in load_dynamic
ImportError: dynamic module does not define module export function (PyInit_celebi)
Application quit abnormally!
In the same simple applications KivyMD v1.2 works ok.
From this it seems that v 2.0.1.dev0 is not yet ready for full use in released applications.
I note that there was an announcent in Feb that a stable KivyMD v 2.0.0 was available. However I have been unable to find it. The github page that describes v 2.0.0 actually downloads the development v. 2.0.1.dev0
ie
downloads the same code as
Is there a v 2.0.0 available somewhere ? or promised soon ?
Thanks
PS minimalist test app giving runtime error ..PyInit_celeb()...
from kivymd.app import MDApp
from kivy.lang.builder import Builder
from kivy.uix.screenmanager import ScreenManager, Screen
class ScMn(ScreenManager):
pass
class LoginScreen(Screen):
pass
class VaultScreen(Screen):
pass
class App(MDApp):
def build(self):
screen = Builder.load_file('main.kv')
return screen
def verify(self):
# this is where I want to get the text
master = self.root.get_screen('login').ids.master_password.text
pass
App().run()
ScreenManager:
LoginScreen:
VaultScreen:
<LoginScreen>:
id: login
name: 'login'
MDTextField:
id: master_password
hint_text: "Master Password"
size_hint_x: None
width: 200
font_size: 18
pos_hint: {"center_x": 0.5, "center_y": 0.5}
# password: True
MDRectangleFlatButton:
text: "Unlock"
font_size: 12
pos_hint: {"center_x": 0.5, "center_y": 0.4}
on_release: app.verify()
<VaultScreen>:
name: 'vault'
MDLabel:
text: 'Vault'
halign: 'center'
MDRectangleFlatButton:
text: 'Back'
pos_hint: {'center_x': 0.5, 'center_y': 0.1}
on_press: root.manager.current = 'login'