Opened 12 years ago

Last modified 6 years ago

#36107 assigned defect

py27-lxml broken with — at Version 3

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

Description (last modified by mf2k (Frank Schima))

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 (3)

comment:1 Changed 12 years ago by plinss (Peter Linss)

Cc: peter.linss@… added

Cc Me!

comment:2 Changed 12 years ago by plinss (Peter Linss)

(don't know why the title got truncated... )

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Cc: dbraband@… added; peter.linss@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to akitada@…

In the future, please use WikiFormatting, and Cc the port maintainer(s). The reporter is automatically Cc'ed.

FYI it works fine for me.

Note: See TracTickets for help on using tickets.