-
Notifications
You must be signed in to change notification settings - Fork 33
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
PictureFrame2020.py: ValueError: operands could not be broadcast together with shapes (200,3) (0,) #67
Comments
I know this is a bit ago, but I just ran into this same issue. The problem is that the shape of normals and tex_coords is 200,3 and the shape of an array is (0,) so this comparison fails. It looks like it's just checking if the array is empty, which could be fixed by switching the code to: |
Hi, sorry this has languished. I will look at it now. @joshstir, did you try altering the line as you suggest and did it work? Paddy |
Thanks for the solution. I solved it a few months ago by downgrading to a older Ubuntu distribution which is not that elegant but it was the only option to make it work. I will try your fix when installing a new system. Walter |
Hi, I've just change the source to I will push a new version up to github and pypi later today so you should be able to PS I spoke too soon. PYPI has become almost impossible to upload to unless the developer is doing it on a frequent basis. I have to log onto my account to get a code to allow me to log onto my account!! I probably had an app installed on my phone last time I did this... but I've got a different phone now. When I lodged a request to unfreeze my account I ticked a checkbox to the effect that it might take the administrators a very long time to sort it out (presumably there a lot of accounts on PYPI that are currently unmaintainable) |
Sorry for my late reply, that did fix it, but you've already got it fixed. 😃. Thanks for taking a look at this! |
Hi,
Im installing a new Ubuntu system for using as a photoframe. I have 3 old systems with no problems.
When im run PictureFrame2020.py i get a following error.
The text was updated successfully, but these errors were encountered: