Hey everyone--

I've been trying to run Xapian alongside my Django app for lo, many  
moons now.

Here's the problem I run into:  Xapian is compiled to work w/a Python  
that's been configured for ucs4 support (this is a manner of handling  
unicode).  Won't work w/ucs2, far as I can tell.

When I try recompiling my Python to work w/Xapian, it breaks my  
psycopg2, which was compiled for ucs2 support.

Okay, no problem, I blitz every instance/egg of psycopg2 & install it  
fresh on top of my new ucs4-compliant Python.

Which lends some bizarre results-- in my best-case scenario (after  
several days of trial & error), I could get the psycopg2 module to  
load fine from IDLE, but it nonetheless still yielded non-stop  
"undefined symbol: PyUnicodeUCS4_[whatever]" errors when I tried to  
access my Django setup.

The only place I can find these PyUnicodeUCS[2/4] modules/whatevers  
(?) is in Jython, so I clean installed that for the heck of it.  No  
dice.

Anyone run across anything like this?  After some hairiness I've  
successfully returned to a working Python ucs2 configuration.  And  
I've asked on Xapian-discuss if a usc2-build exists, which would  
solve the problem nicely.  And wouldn't it be nice if Python just  
handled both ucs2 & ucs4, depending on what was required?  Yeah, I  
know, dream on....

Any help much appreciated, and I actually know a lot more about this  
stuff than I'd prefer to now, so if this sounds comparable to a  
problem you've been having feel free to hit me backchannel & I can  
share what I know....

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to