Opened 12 years ago

Last modified 5 years ago

#36107 assigned defect

py27-lxml broken with — at Initial Version

Reported by: plinss (Peter Linss) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: py-lxml

Description

Using python27 @2.7.3_0+ucs4 and py27-lxml @2.3.2_0, unable to import etree from lxml.

from lxml import etree

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lxml/etree.so, 2): Symbol not found: _PyUnicodeUCS2_AsASCIIString

Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lxml/etree.so Expected in: flat namespace

in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lxml/etree.so

This works using python27 @2.7.3_0+ucs2, or using python27 @2.7.3_0+ucs4 and py27-lxml @2.3.0

Change History (0)

Note: See TracTickets for help on using tickets.