[MacPorts] #36107: py27-lxml broken with
#36107: py27-lxml broken with ---------------------------+-------------------------------- Reporter: peter.linss@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: py27-lxml ---------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/36107> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36107: py27-lxml broken with ----------------------------+-------------------------------- Reporter: peter.linss@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lxml | ----------------------------+-------------------------------- Comment (by peter.linss@…): (don't know why the title got truncated... ) -- Ticket URL: <https://trac.macports.org/ticket/36107#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36107: py27-lxml broken with ----------------------------+----------------------- Reporter: peter.linss@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lxml | ----------------------------+----------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => akitada@… * cc: peter.linss@… (removed) * cc: dbraband@… (added) Old 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
New 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 -- Comment: In the future, please use WikiFormatting, and Cc the port maintainer(s). The reporter is automatically Cc'ed. FYI it works fine for me. -- Ticket URL: <https://trac.macports.org/ticket/36107#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36107: py27-lxml broken with ----------------------------+----------------------- Reporter: peter.linss@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lxml | ----------------------------+----------------------- Comment (by macsforever2000@…): Apologies and nevermind my WFM comment. I do not have the ucs4 variant installed for python27. Note that there is no ucs2 variant however. -- Ticket URL: <https://trac.macports.org/ticket/36107#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36107: py27-lxml broken with python27 +ucs4 ----------------------------+----------------------- Reporter: peter.linss@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lxml | ----------------------------+----------------------- -- Ticket URL: <https://trac.macports.org/ticket/36107#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36107: py27-lxml broken with python27 +ucs4 ----------------------------+----------------------- Reporter: peter.linss@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lxml | ----------------------------+----------------------- Comment (by peter.linss@…): Note this is still an issue with python27 @2.7.5_0+ucs4 and py27-lxml @3.2.1_0 -- Ticket URL: <https://trac.macports.org/ticket/36107#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#36107: py27-lxml broken with python27 +ucs4 ----------------------------+----------------------- Reporter: peter.linss@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lxml | ----------------------------+----------------------- Comment (by peter.linss@…): See: http://lxml.de/FAQ.html#why-do-i-get-errors-about-missing-ucs4 -symbols-when-installing-lxml -- Ticket URL: <https://trac.macports.org/ticket/36107#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#36107: py27-lxml broken with python27 +ucs4 ----------------------------+------------------------ Reporter: peter.linss@… | Owner: dbraband@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-lxml | ----------------------------+------------------------ Changes (by mf2k@…): * cc: dbraband@… (removed) * owner: akitada@… => dbraband@… * port: py27-lxml => py-lxml Comment: Assigning to new maintainer. See #43692. -- Ticket URL: <https://trac.macports.org/ticket/36107#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts