Changes between Initial Version and Version 1 of Ticket #40179
- Timestamp:
- Aug 18, 2013, 11:41:32 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #40179
- Property Keywords gi.repository removed
- Property Cc cal@… added
-
Ticket #40179 – Description
initial v1 1 1 After failing to get gtk3 to work, as a hail mark pass, I completely uninstalled MacPorts per section 2.5 of the guide, then reinstalled MacPorts from the source tarball. After that, I only port installed two ports: python27 and gtk3 +x11. That worked without any reported problems. I then coded this simple program which ran okay, but note that it does not use the new gobject-introspection Way of doing things with gtk3: 2 2 3 {{{ 3 4 import gobject 4 5 from gobject import GObject … … 13 14 inst.connect("notify", cb) 14 15 inst.prop = 42 16 }}} 15 17 16 18 Next, I coded the following program which does use the gobject-introspection Way. But it fails indicating an import error for the 'from gi.repository import GObject' statement. Why does installing the gtk3 port on my mac end up with python not being able to find gi.repository? 17 19 20 {{{ 18 21 from gi.repository import GObject 19 22 … … 30 33 inst.connect("notify", cb) 31 34 inst.prop = 42 35 }}}