Opened 12 years ago

Last modified 6 years ago

#36107 assigned defect

py27-lxml broken with python27 +ucs4

Reported by: plinss (Peter Linss) Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
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 (10)

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.

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

Apologies and nevermind my WFM comment. I do not have the ucs4 variant installed for python27. Note that there is no ucs2 variant however.

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Summary: py27-lxml broken withpy27-lxml broken with python27 +ucs4

comment:6 Changed 11 years ago by plinss (Peter Linss)

Note this is still an issue with python27 @2.7.5_0+ucs4 and py27-lxml @3.2.1_0

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

Cc: dbraband@… removed
Owner: changed from akitada@… to dbraband@…
Port: py-lxml added; py27-lxml removed

Assigning to new maintainer. See #43692.

comment:9 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from dbraband@… to macports-tickets@…

comment:10 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)

Owner: changed from macports-tickets@… to petrrr
Status: newassigned
Note: See TracTickets for help on using tickets.