On Fri, 16 Sep 2005 10:42:47 -0500 Stuart Johnston <[EMAIL PROTECTED]> wrote:
Having rarely used patch, could someone give an example of how to > > apply the pyzor patches please? > > I'm assuming that the first "scanning of mailboxes" patch is not the > one that fixes this error so I only applied the other two. > > Having downloaded the patches, find your pyzor installation. Usually > something like: > > cd /usr/lib/python2.2/site-packages/pyzor/ > > Then apply the patches like: > > patch client.py < ~/patch-pyzor-handle_unknown_encodings > patch client.py < ~/patch-pyzor-unknowntype > > Order is important with these two. I actually had to copy these to the pyzor source. Heading one of the patches reveals : [09:59:56 [EMAIL PROTECTED]:~/src/pyzor-0.4.0$] head patch-pyzor-handle_unknown_encodings --- lib/pyzor/client.py Sun Sep 8 22:37:15 2002 +++ lib/pyzor/client.py Wed Aug 3 10:58:03 2005 So I copied both to source, patched then just copied the pyzor-0.4.0/lib/pyzor/client.ph to /usr/lib/python2.*/site-packages/pyzor/ Hope this helps! James