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

'NoneType' has no attribute 'tell' #30

Open
Poikilos opened this issue Mar 13, 2022 · 0 comments
Open

'NoneType' has no attribute 'tell' #30

Poikilos opened this issue Mar 13, 2022 · 0 comments

Comments

@Poikilos
Copy link

Poikilos commented Mar 13, 2022

I added some debugging code on my end (See the related kivy issue linked below for that code) and this seems to be due to the fact that empty.png is not getting added to the site-packages/kivy3/loaders directory (filename becomes None due to resource_find, but the code after resource_find doesn't check for None).

empty.png is missing, but it is not the only file missing.

Adding non-py files to setup.py explicitly seems necessary, since the following files don't get installed via pip install https://github.com/kivy/kivy3/archive/refs/heads/master.zip:

  • kivy_env/lib/python3.9/site-packages/kivy3/loaders/empty.png
  • kivy_env/lib/python3.9/site-packages/kivy3/default.glsl
  • others?

The error was difficult to diagnose due to this kivy 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

1 participant