Open bela127 opened 4 months ago
I am getting the same issue Used the same logger enabled script that bela127 created. Final commands
atlas = Atlas(atlas_path)
Logger.warning("Atlas loaded")
Logger.warning(atlas.textures.keys())
On loading the first atlas png file
[DEBUG ] [Atlas ] Load
The kernel died, restarting...
Software Versions
Describe the bug Kivy crashs (without showing any error) when loading a "kivy.atlas.Atlas". (The Bug is probably not Atlas related but a general bug with Image loading)
I tracked down the source of the Bug quite far, it originates in the Texture loading process when "Texture.create_from_data" is called in "ImageLoaderBase.populate()" .
[Texture == kivy.graphics.texture.Texture] Sadly i could not debug Texture because it is cython code, so you have to find the bug in there ;)
Expected behavior No crash.
To Reproduce
Logs