kivy3
kivy3 copied to clipboard
OBJLoader 'map' not subscriptable / setup.py not catching dependencies ?
Hi.
Although my issue seems local to my system (and therefore, maybe not a kivy3 bug), Kivy3's 'setup.py' should (imho ;) ) be made to catch such issue, so the eager and frustrated beginner can run the included examples, or be told why not - hence a submitted issue on Kivy3's 'setup.py'.
I first had an issue with: 'FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.6/site-packages/kivy3/default.glsl', so I had to try a copy from another source & a renamed simple.glsl. It didn't seem to make a difference which one, but it brought me a step closer, and i'm not really sure what i'm doing.
The following problem are consistent for all 3 exampleX.py files, over several pip/pacman re-install of Python 3.6, kivy 1.9.1 + 1.10, and this branch of kivy3. Python & kivy itself works. example1.py: (short code to reproduce issue)
import kivy3 from kivy.app import App from kivy3.loaders import OBJLoader from kivy.uix.floatlayout import FloatLayout class MainApp(App): def build(self): root = FloatLayout() loader = OBJLoader() obj = loader.load("./testnurbs.obj") # obj_path) return root if name == 'main': MainApp().run()
Traceback (most recent call last):
File "/home/sims/Code/TAT/kivy3-master/examples/example1.py", line 12, in
If it's an obvious dependency flaw, then perhaps a quick check for it in setup.py could trigger a warning, or something, and if it's a rare dependency flaw, then what's missing ? Thanks..
PS. looking forward to work with this library of fun-ness..
This repository is python2 only.