You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm not sure if it's just me but I consistently get a 'TypeError: cannot unpack non-iterable NoneType object' whenever I try to run the official Loading Images example code from readthedocs.io documentation.
I'm using Visual Studio and haven't come across any issues before. In the terminal it tells me the code has stalled on the:
width, height, channels, data = dpg.load_image("/graphics/my_pic.png")
I've looked around online at non-iterable object issues but to no solution. Has anyone come across this before and fixed it? Am I missing something obvious?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I'm not sure if it's just me but I consistently get a 'TypeError: cannot unpack non-iterable NoneType object' whenever I try to run the official Loading Images example code from readthedocs.io documentation.
I'm using Visual Studio and haven't come across any issues before. In the terminal it tells me the code has stalled on the:
width, height, channels, data = dpg.load_image("/graphics/my_pic.png")
I've looked around online at non-iterable object issues but to no solution. Has anyone come across this before and fixed it? Am I missing something obvious?
Many thanks for any advice! :)
Beta Was this translation helpful? Give feedback.
All reactions