[MacPorts] #21193: problems importing gtk in textext python extension in Inkscape

MacPorts noreply at macports.org
Mon Sep 7 17:13:43 PDT 2009


#21193: problems importing gtk in textext python extension in Inkscape
--------------------------------+-------------------------------------------
 Reporter:  jeffrey@…           |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.0                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------
 I am running Inkscape version 0.47-Pre1-2, installed using the dmg file
 for Leopard.  I compiled pstoedit using Macports, and installed the
 textext python files in the appropriate directory.  When I attempt to
 activate the extension, I get the following error:

 Traceback (most recent call last):
   File "Contents/Resources/extensions/textext.py", line 307, in <module>
     raise RuntimeError("Neither pygtk nor Tkinter is available!")
 RuntimeError: Neither pygtk nor Tkinter is available!

 It seems that this is an error with the python build rather than a problem
 with Inkscape or textext.  I have python24, python25 and python 26
 installed, as well as py26-gtk and py25-gtk.  All three python versions
 are active, while only py26-gtk is active of the gtk versions.  Python26
 is selected via python_select.  Should all three python versions be
 active?

 I am guessing that I am missing a path or symbolic link somewhere, but I
 am not sure where.  If my question is not appropriate for this forum,
 please indicate that.  Thanks!

-- 
Ticket URL: <http://trac.macports.org/ticket/21193>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list