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
ImportError pygtkcompat #547
Comments
I use Ubuntu 12.04 LTS. I have similar error message I think :
Thanks. |
@erdemoncel That message is unrelated to this issue, and we don't support Ubuntu 12.04 here any more: its GTK is too old http://packages.ubuntu.com/search?keywords=libgtk-3-0 vs. https://github.com/mypaint/mypaint/blob/dc79f2564ed08e3e36d9e951fc9a5f22efb86582/README.md#getting-started. Please upgrade your Ubuntu to at least 14.04. The instructions are here: https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes#Upgrading_from_Ubuntu_12.04_LTS_or_Ubuntu_13.10. |
@bayuiravvan It's part of the python-gi package on Debian Unstable, but I don't know about RPM-based systems. Maybe it's python-gobject or python-gobject2 in SUSE? It's been a standard part of Python GObject-Introspection for ages. The fact that gui/gtk2compat.py line 77 executed at all means that MyPaint tried the newest way of importing the compatibility layer and failed before you saw that message. I'm pretty certain you have a broken install. Please can you let me know what exact version of MyPaint you tried to install, and what exact version of the Python GObject-Introspection module you have installed too. |
@bayuiravvan if you're still reading this, sorry for the delayed response and thanks for reporting. For some reason this issue didn't appear on my screen till it got piggybacked. No excuse, but I've seen weirdnesses like this before from github recently. I hope it's not just me. Anyway, the MyPaint issue tracker is not really intended for user support or installation woes. If you get no further fixing up your installation, let's continue this conversation in the MyPaint community forum. Of course, if you think our docs are lacking and you've the skills to improve them, let me know and I'll turn this issue into a documentation issue instead and assign it to you 😀 TRIAGE: original report looks like a broken install. Close this report after a week if no further feedback is forthcoming. Piggyback report is unrelated, and the Ubuntu version in it is unsupported for anything other than building for Travis. |
@achadwick no problem, I got my profile restored after github bot flagged me non-human, maybe that caused this issue not posted correctly. Anyway, I checked my python-gi installation in /usr/lib64/python2.7/site-packages/gi/. For some strange reason all modules has source .py file, except pygtkcompat.py. It has only pygtkcompat.pyc and pygtkcompat.pyo. I have MyPaint straight from cloning git source repo. Build process ran without any problem. I couldn't find Python GObject-Introspection package on suse, however the gi module I mentioned above was installed by Thanks for your response, I'll let you know when the issue fixed. And btw, the build/install instruction is good, I followed through without problem. |
@bayuiravvan Oh nasty. It looks like this should be reported to the upstream python-gobject maintainers here: https://build.opensuse.org/package/requests/devel:languages:python/python-gobject
Anyway, I'll close this issue as an upstream problem. We have #393 already open for removing the old PyGTK syntax that pygtkcompat supports, so just in case other distros get this kind of funny idea, I've bumped implementing that issue forwards to the 1st phase of 1.2.0 development. |
(Well, really a downstream problem. But you get the idea.) |
Hi, I successfully built mypaint on opensuse Leap 42.1, but mypaint doesn't run due to some ImportError exception. Here's the output from the console:
Any suggestion? Thanks
The text was updated successfully, but these errors were encountered: