kpiorno / kivy3dgui

Pure Kivy library to display and interact with Kivy widgets in a 3D mesh.
MIT License
129 stars 29 forks source link

editor3d does not statt #10

Open zevix opened 5 years ago

zevix commented 5 years ago

Note: all other demos run properly

[INFO ] [CutBuffer ] cut buffer support enabled Traceback (most recent call last): File "editor3d.py", line 445, in Minimal3dApp().run() File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 829, in run root = self.build() File "editor3d.py", line 238, in build self.space_editor = SpaceEditor(layout3d, self, self.editor_manager) File "/tmp/kivy3dgui/editor/space_editor.py", line 37, in init node = Builder.load_string(dedent(axis.format(e, colors[i]))) File "/usr/lib/python2.7/dist-packages/kivy/lang/builder.py", line 405, in load_string rule_children=rule_children) File "/usr/lib/python2.7/dist-packages/kivy/lang/builder.py", line 707, in _apply_rule e), cause=tb) kivy.lang.builder.BuilderException: Parser: File "", line 9: ... 7: always_on_top: True 8: receive_shadows: False

9: meshes: ("./editor/meshes/x-rot-axis.obj",) 10: Button: 11: id: c_button ... AttributeError: 'NoneType' object has no attribute 'add_node' File "/usr/lib/python2.7/dist-packages/kivy/lang/builder.py", line 700, in _apply_rule setattr(widget_set, key, value) File "kivy/weakproxy.pyx", line 35, in kivy.weakproxy.WeakProxy.setattr File "kivy/properties.pyx", line 497, in kivy.properties.Property.set File "kivy/properties.pyx", line 839, in kivy.properties.ListProperty.set File "kivy/properties.pyx", line 544, in kivy.properties.Property.set File "kivy/properties.pyx", line 599, in kivy.properties.Property.dispatch File "kivy/_event.pyx", line 1214, in kivy._event.EventObservers.dispatch File "kivy/_event.pyx", line 1120, in kivy._event.EventObservers._dispatch File "/tmp/kivy3dgui/kivy3dgui/node.py", line 303, in on_meshes self.parent.add_node(self)

kpiorno commented 5 years ago

Which Kivy version are you using?

stengergilles commented 4 years ago

Hello, Same issue here. Trying with PyDroid3 on android ( Kivy 1.11.1 /Python 3.8 ) Regards. Gilles

kpiorno commented 4 years ago

Ok, I'll check on that ASAP.

kpiorno commented 4 years ago

Hello, Same issue here. Trying with PyDroid3 on android ( Kivy 1.11.1 /Python 3.8 ) Regards. Gilles

Hi Giller, did you test another example using these specs on Android?

stengergilles commented 4 years ago

Hello Sorry for the late reply I'm on holiday.:-) checkers.py give me the same error example.py/example2.py/tour3d exit with no logs (last message is "Starting application main loop")

kpiorno commented 4 years ago

Don't worry Gilles :).I will take a look at that.

kmcasi commented 1 year ago

Same error on editor3d and checkers like on the opened issue.

Kivy: 2.2.0.dev0 Python: 3.11.0 OS: Windows 10 Pro N, 21H2

I installed Kivy by github link, was the only option what worked on my laptop.