Opened 12 years ago
Closed 12 years ago
#35791 closed defect (fixed)
Inkscape 0.48.3.1 textext extension does not work
Reported by: | yuriskr@… | Owned by: | jjstickel (Jonathan Stickel) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | dbevans (David B. Evans) | |
Port: | inkscape-textext |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I installed MacPoprts-2.1.2-10.8 on Mountain Lion (Xquartz-2.7.2 and the last version of both Xcode and Command line for Xcode were installed before) to install Inkscape with latex capability. Then the following ports were installed: inkscape (with the variant python27) and inkscape-textext. When I tried to execute the textext extension the following message showed up:
Traceback (most recent call last): File "textext.py", line 306, in <module> raise RuntimeError("Neither pygtk nor Tkinter is available!") RuntimeError: Neither pygtk nor Tkinter is available!
What should I do to resolve this problem. Thank you.
Attachments (1)
Change History (7)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
Port: | inkscape added |
comment:2 Changed 12 years ago by jmroot (Joshua Root)
comment:3 Changed 12 years ago by jmroot (Joshua Root)
Cc: | devans@… added |
---|---|
Owner: | changed from devans@… to jjstickel@… |
Port: | inkscape-textext added; inkscape removed |
Oh, I see inkscape-textext is a separate port, and Ryan set the port field wrong. So that's what needs the dependency (possibly with variants to choose).
comment:4 Changed 12 years ago by jjstickel (Jonathan Stickel)
I can confirm that either py*-tkinter OR py*-gtk is needed (python version to match that of inkscape variant). I'll attach a patch for the Portfile that does NOT work, yet. I am having trouble setting python variants that can subsequently be used to select the version in the variants for py-tkinter and py-gtk. Any suggestions?
comment:5 Changed 12 years ago by jjstickel (Jonathan Stickel)
OK, the attached Portfile diff works now. I also incremented the revision.
Changed 12 years ago by jjstickel (Jonathan Stickel)
Attachment: | inkscape-textext_Portfile.diff added |
---|
comment:6 Changed 12 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
From the message it looks like it would work if either py27-tkinter or py27-gtk were installed. So perhaps inkscape needs a dependency on one of those.