Re: [documancer] ANN: new Documancer release
Vaclav Slavik <[email protected]> Sun, 20 Feb 2005 00:18:00 +0100
| Newsgroups | gmane.text.documancer.user |
|---|---|
| Message-ID | <[email protected]> |
--nextPart8971961.sbtnfHznsU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, Arnd Baecker wrote: > Do you think that it is possible that documancer > reacts a bit more "helpful" when one has the wrong > locale settings? It should just work, but it doesn't, thanks to wxPython :-/ See here: http://aspn.activestate.com/ASPN/Mail/Message/wxpython-users/631186 It messes up the locales. Worse, differently in different versions, so=20 a fix that works for wxPy 2.5 doesn't work for 2.4 (which works=20 fine). Finally, fixing the Java version of indexer is out of reach... Here, with cs_CZ locale (which should behave in same way as yours), it=20 works fine with wxPy 2.4 and PyLucene (but not Java!) backend and=20 works with wxPy 2.5 and PyLucene if I add this to pylucene_srv.py: import locale locale.setlocale(locale.LC_ALL, '') Any ideas how to fix the mess? Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ --nextPart8971961.sbtnfHznsU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCF8kqxDYa/UZSZMkRAjPOAJoC/lk4ruGwq2inUbaXHsgMUz3v6gCgjPPO kS+6N+e7g4k4EfD1UcuvfgM= =Tx2T -----END PGP SIGNATURE----- --nextPart8971961.sbtnfHznsU-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click