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
TypeError: 'StructMeta' object is not iterable #1087
Comments
I'm not sure, but this might be a "module not found" error in disguise. The problem is that it fails to load the bindings for Gdk, but I'm not sure why. First make sure that I think most of these would be part of the same package. |
Are these the ones?
|
Yes, so they are installed. If you can run this:
and only get the warning about the version being unspecified, there may be something we need to fix in our code. If you get the same error as before, try running:
If that works, I think it would suggest a configuration issue in macports. |
Thanks for the suggestion. Both of those still generate the same errors. |
I have been using python3.8 because it is the latest. If I use python3.7 instead, then your above tests succeed. I can try building MyPaint with python3.7 instead. |
And MyPaint is working with python3.7. So that's fantastic! Of course it would be nice to figure out why python3.8 is being different. |
Nice, maybe pygobject was not updated to the latest version (don't know if that should be necessary)? Seems this is a known problem: https://gitlab.gnome.org/GNOME/pygobject/-/issues/375 |
Good find! I see MacPorts also has a bug report for this at https://trac.macports.org/ticket/60413. I will see if I can get in touch with our py-gobject3 maintainer about updating the port and I'll stick with python3.7 for MyPaint for now. Thanks for your help tracking this down. |
No problem, and thank you for helping mac users use MyPaint. I'll close this since it's an upstream issue we can't really work around on our end. |
We updated py-gobject3 from 3.28.3 to 3.36.1 and I can't reproduce this problem now. |
Description of the problem
Hi, I'm the maintainer of MyPaint in MacPorts, finally updating our port to version 2.
I've spent all day figuring out everything that has changed in the build system and getting MyPaint's new set of dependencies up and running while making sure I don't break GIMP's use of libmypaint and mypaint-brushes in the process.
I've finally got everything building but MyPaint does not launch:
I'm afraid Python and its error messages baffle me so I don't know what to do.
Basic system details
MyPaint version: 2.0.1
Operating system: macOS 10.13.6
Desktop environment: X11
Steps to reproduce
The text was updated successfully, but these errors were encountered: