-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
I just tried to run the touchtracer demo and got this error. In the .kv file the padding is specified as '10dp'. I'm not sure what the fix should be...
Traceback (most recent call last):
File "main.py", line 102, in
TouchtracerApp().run()
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/app.py", line 464, in run
root = self.build()
File "main.py", line 96, in build
return Touchtracer()
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/uix/floatlayout.py", line 50, in init
super(FloatLayout, self).init(**kwargs)
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/uix/layout.py", line 55, in init
super(Layout, self).init(**kwargs)
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/uix/widget.py", line 114, in init
Builder.apply(self)
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/lang.py", line 1168, in apply
self._apply_rule(widget, rule, rule)
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/lang.py", line 1282, in _apply_rule
setattr(widget_set, key, value)
File "properties.pyx", line 137, in kivy.properties.Property.set (kivy/properties.c:2153)
File "properties.pyx", line 155, in kivy.properties.Property.set (kivy/properties.c:2408)
File "properties.pyx", line 235, in kivy.properties.NumericProperty.check (kivy/properties.c:3145)
ValueError: BoxLayout.padding accept only int/float