Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Loading Image #664

Closed
NicFolk opened this issue Dec 3, 2021 · 3 comments
Closed

Error Loading Image #664

NicFolk opened this issue Dec 3, 2021 · 3 comments

Comments

@NicFolk
Copy link

NicFolk commented Dec 3, 2021

I recently created a Kivy app and after some difficulties, I managed to get in running (partially) in an Xcode simulator. The main issue I have is that I want to attach an image to my app, but when I run my app in the Xcode simulator, it returns "[ERROR ] [Image ] Error loading <Images/opening_image.webp>". Inside the "YourApp" folder in my project-ios, there is a folder labeled Images and an image inside that folder labeled "opening_image.webp", so I think the path is correct. Does anyone know how to fix this and do you need more information?
Screen Shot 2021-12-02 at 7 15 06 PM

@NicFolk
Copy link
Author

NicFolk commented Dec 6, 2021

OK, so I believe I have narrowed the issue down to [INFO ] [Image ] Providers: img_imageio, img_tex (img_dds, img_sdl2, img_ffpyplayer, img_pil ignored). Does anyone know how to get the code not to ignore these providers.

@misl6
Copy link
Member

misl6 commented Dec 9, 2021

Hi @NicFolk,
Into your main.m file, you should have, around line 39 a putenv("KIVY_IMAGE=imageio,tex,gif");, here you can change your default options.

PS: Maybe you could be interested to: #656

I'm closing this issue cause it looks like a support request, but feel free to re-open if needed.

@misl6 misl6 closed this as completed Dec 9, 2021
@NicFolk
Copy link
Author

NicFolk commented Dec 10, 2021

Thank you, that fixed the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants