[Zope] Installing TextIndexNG3 in ZopeTestCase (long story short)

Andreas Jung lists at zopyx.com
Mon Feb 4 07:09:12 EST 2008



--On 4. Februar 2008 13:04:57 +0000 Peter Bengtsson <peter at fry-it.com> 
wrote:

> I've had a morning of annoyed frustration on trying to get TextIndexNG3
> to install properly in ZopeTestCase.
> T>
> Lessons learnt:
>
>   * Five and TextIndexNG3's importing order is very sensitive  in
>     ZopeTestCase
>
>   * Sometimes the order matters sometimes it doesn't
>
>   * TextIndexNG3 is a brilliant product with excellent features but a
>     large heap of external connections that are hard to debug
>
>   * Five & ZCML is very hard to debug since there's bucket loads full of
>     "magic" or whatever you want to call it that makes it damn hard
>     to put in conventional print and raise statements to look through
>     tracebacks.
>
>   * Don't give up
>
>

You might check the unittest for TXNG 3 :-) They contain tests using ZTC
and PTC....and all tests are supposed to work :-)

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20080204/54b508e0/attachment.bin


More information about the Zope mailing list