Opened 10 years ago

Closed 10 years ago

#44301 closed defect (fixed)

Inkscape textext cannot find lxml

Reported by: andr.girard5@… Owned by: jjstickel (Jonathan Stickel)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: dbevans (David B. Evans)
Port: inkscape-textext

Description (last modified by mf2k (Frank Schima))

System 10.9.4 macports at 2.3.1 All ports upgraded

port installed 
  inkscape @0.48.5_0+python27+x11
  inkscape @0.48.5_1+python27+x11 (active)
  inkscape-app @0.48_0 (active)
  inkscape-textext @0.4.4_2+pygtk+python27 (active)
  py27-lxml @3.3.5_0 (active)

Active python is Python 2.7.8 (default, Jul 3 2014, 06:13:58) When trying to use the textext extension, a message appears to the effect that the lxml class cannot be found.

Attachments (1)

inkscape-textext_Portfile.diff (658 bytes) - added by jjstickel (Jonathan Stickel) 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: devans@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to jjstickel@…
Port: inkscape-textext added

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers inkscape-textext).

comment:2 Changed 10 years ago by jjstickel (Jonathan Stickel)

I suspect you are running inkscape from inkscape-app. Try executing inkscape from a terminal.

Changed 10 years ago by jjstickel (Jonathan Stickel)

comment:3 Changed 10 years ago by jjstickel (Jonathan Stickel)

Email communication with the reporter confirmed that the error resulted from using inkscape-app. I add a note to the Portfile in the attached patch that tells users to use inkscape and not inkscape-app. I also correct the implementation of the default variant. This patch should effectively close the ticket.

comment:4 Changed 10 years ago by seanfarley (Sean Farley)

Hmm, this should work with inkscape-app which is just a fancy wrapper to call ${prefix}/bin/inkscape. I can try to reproduce this and see if there's a way to make it work.

comment:5 Changed 10 years ago by seanfarley (Sean Farley)

Ok, I found a way to fix this by making the inkscape app a script so that PATH can be adjusted.

comment:6 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Fixed in r124348.

Note: See TracTickets for help on using tickets.