[MacPorts] #61792: py-gobject3, py-graph-tool error: Failed to load shared library 'libgdk_pixbuf-2.0.0.dylib'

MacPorts noreply at macports.org
Thu Dec 10 15:19:22 UTC 2020


#61792: py-gobject3, py-graph-tool error: Failed to load shared library
'libgdk_pixbuf-2.0.0.dylib'
----------------------------------------+----------------------
  Reporter:  essandess                  |      Owner:  dbevans
      Type:  defect                     |     Status:  assigned
  Priority:  Normal                     |  Milestone:
 Component:  ports                      |    Version:  2.6.4
Resolution:                             |   Keywords:
      Port:  py-gobject3 py-graph-tool  |
----------------------------------------+----------------------

Comment (by essandess):

 Thank you, but still seeing this related issue after a reinstall of
 {{{gdk-pixbuf2}}}:

 {{{
 python3 -c 'import graph_tool.all as gt'

 ** (process:25790): WARNING **: 10:16:52.987: Failed to load shared
 library 'libgdk_pixbuf-2.0.0.dylib' referenced by the typelib:
 dlopen(libgdk_pixbuf-2.0.0.dylib, 9): image not found
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/graph_tool/all.py", line 34, in <module>
     from graph_tool.draw import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/graph_tool/draw/__init__.py", line 874, in <module>
     from . cairo_draw import graph_draw, cairo_draw, \
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/graph_tool/draw/cairo_draw.py", line 1456, in <module>
     from gi.repository import Gtk, Gdk, GdkPixbuf
   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 144, in load_module
     importlib.import_module('gi.repository.' + dep.split("-")[0])
   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 "<frozen importlib._bootstrap>", line 1006, in _gcd_import
   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 144, in load_module
     importlib.import_module('gi.repository.' + dep.split("-")[0])
   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 "<frozen importlib._bootstrap>", line 1006, in _gcd_import
   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/GdkPixbuf.py", line 32, in <module>
     class Pixbuf(GdkPixbuf.Pixbuf):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gi/overrides/__init__.py", line 195, in override
     assert g_type != TYPE_NONE
 AssertionError
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61792#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list