You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I'm running with the latest git version of kivy which was built when I submitted this bug report. I will try your suggestion and if it works I'll see about putting together a pull request with the fix.
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
The text was updated successfully, but these errors were encountered: