[MacPorts] #61699: gdk-pixbuf2 @2.42.0 breaks py-gobject3
MacPorts
noreply at macports.org
Thu Jan 7 22:04:29 UTC 2021
#61699: gdk-pixbuf2 @2.42.0 breaks py-gobject3
--------------------------+----------------------
Reporter: fhgwright | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: gdk-pixbuf2 |
--------------------------+----------------------
Comment (by Bachsau):
I've been following all the instructions in this thread and still get the
error on macOS 10.14.6 when trying to launch a PyGObject based application
I wrote.
{{{
** (__main__.py:49979): WARNING **: 22:59:34.817: Failed to load shared
library 'libatk-1.0.0.dylib' referenced by the typelib:
dlopen(libatk-1.0.0.dylib, 9): image not found
Traceback (most recent call last):
File "/Users/Sven/Cloud/Projekte/Mixtool/Application/src/__main__.py",
line 49, in <module>
from gi.repository import GLib, GObject, Gio, Pango, GdkPixbuf, Gdk,
Gtk
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in
_find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in
_load_backward_compatible
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/gi/importer.py", line 145, in load_module
dynamic_module = load_overrides(introspection_module)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/gi/overrides/__init__.py", line 118, in load_overrides
override_mod = importlib.import_module(override_package_name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py",
line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/gi/overrides/Gtk.py", line 131, in <module>
class Widget(Gtk.Widget):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/gi/module.py", line 168, in __getattr__
interfaces = tuple(interface for interface in
get_interfaces_for_object(info)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/gi/module.py", line 94, in get_interfaces_for_object
interfaces.append(getattr(module, name))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/gi/module.py", line 207, in __getattr__
wrapper = metaclass(name, bases, dict_)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/gi/types.py", line 247, in __init__
register_interface_info(cls.__info__.get_g_type())
TypeError: must be an interface}}}
--
Ticket URL: <https://trac.macports.org/ticket/61699#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list