• My Errors
  • Login
  • Search
Search again

Error #70118

tmp/zopyx/txng3/stemmer.so:undefined symbol: PyUnicodeUCS2_AsEncodedString

ERROR Zope Couldn't install TextIndexNG3

User's solution

This works!
+0 Vote Up

First of all, check whether the Python that comes with your Linux distribution uses UCS2 or UCS4:

python -c "import sys; print (sys.maxunicode < 66000) and 'UCS2' or 'UCS4'"

Apr 16, 2008

Comments

You are probably using a textindexng3 egg, compiled against a UCS2 Python. You can't use the egg, but have to compile from sources, so that your version of textindexng3 is compatible with the UCS4 Python used on your machine.

user9163 Apr 16, 2008