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

'ImageData' object has no attribute 'texture' #113

Open
BhavayJ opened this issue Nov 6, 2020 · 11 comments
Open

'ImageData' object has no attribute 'texture' #113

BhavayJ opened this issue Nov 6, 2020 · 11 comments

Comments

@BhavayJ
Copy link

BhavayJ commented Nov 6, 2020

when I run the file main.py it says that 'ImageData' object has no attribute 'texture' so what I should do please tell

@HenriWahl
Copy link

Same problem here. 😢

@ajh123
Copy link

ajh123 commented Dec 13, 2020

Just look through the code and replace .texture with get_texture()

@shad0wm1ch
Copy link

@ajh123 It seemed to helped however now I am getting green bars across the screen? I should probably say that I used 2to3 to move everything over to python 3. Any idea what could be the reason?

@ajh123
Copy link

ajh123 commented Dec 28, 2020

You didn't need to use 2to3, it works. and just change any print "...". to. print("...")

@r58Playz
Copy link

r58Playz commented Dec 30, 2020 via email

@shad0wm1ch
Copy link

shad0wm1ch commented Jan 3, 2021

image
@ajh123 Sorry that was my bad, I don't know why I didn't notice it was already in python 3. Once I change the textures to get_texture thats the program I get. Graphics drivers are up to date, same with python and all the python libraries.

Any idea?

@ajh123
Copy link

ajh123 commented Jan 3, 2021

Don’t know what’s gone on there, my solution works for me. Maybe the texture files got corrupted?

@shad0wm1ch
Copy link

It must be fault on my end then, thanks anyway!

@HeyItsAnushtubh
Copy link

HeyItsAnushtubh commented Jul 28, 2021

Just look through the code and replace .texture with get_texture()

Ummm, where is it? @ajh123

@ajh123
Copy link

ajh123 commented Jul 28, 2021

Everywhere

@d3cryptofc
Copy link

same problem here

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

7 participants