Re: Call for Testers! Cheetah v2.2.0rc1

"R. Tyler Ballance" <[email protected]>
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
On Fri, May 15, 2009 at 06:32:02PM +0200, Jean-Baptiste Quenot wrote:
> 2009/5/15 R. Tyler Ballance <[email protected]>:
> > On Wed, May 13, 2009 at 11:13:35AM -0700, R. Tyler Ballance wrote:
> >
> > So far with testing internally at Slide.com, v2.2.0rc1 looks pretty
> > good, but I added a change to DummyTransaction (a faux-WebWare class
> > that's used in the generation of the actual output from Cheetah) to help
> > highlight issues when a UnicodeDecodeError is raised [1]
> 
> Hey!  That's great!  We keep getting UnicodeDecodeErrors as well here,
> and it often involves manual compiling and inspection, and sometimes
> also dirty "print foo" magic directly added in the installed cheetah
> modules with sudo :-) :-) :-)
> 
> I just installed the rc2 on our dev servers and tested the new error
> handling, it's way more useful.

We had a couple as well, and the printing has helped us find out a
number of cases where we were encoding strings (to cope with previous
broken behavior) and all I needed to do was remove the encoding madness.

Sidenote: If you use the EncodeUnicode filter from the old wiki, it
*will* break things under v2.2.0 (removing it corrects things however)


> Apart from the fact that Unicode errors (and NameMapper errors) are
> hard to debug, everything's fine for us with this release.  It is used
> in production with success and happily serves half a million of
> requests everyday.  I still have a random python segfault sometimes,
> but couldn't find out where it comes from yet.  Hope it does not come
> from the name mapper shared object :-)  It might also be caused by any
> of the other third-party Python modules I'm using.


Interesting, I've not experienced core dumps with Cheetah in quite a
long time, if you could get a backtrace from gdb on one of those core
dumps it'd be quite useful to see where it's coming from. 

In case you're not gdb-savvy, just:
	% gdb /usr/bin/python corefile
	(gdb) bt

Then pasting the printout (or if it contains sensitive info, you can
email me offlist) and we can analyze it.


Cheers
-- 
-R. Tyler Ballance
Slide, Inc.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects

_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkoNmrIACgkQFCbH3D9R4W+4AwCffkhdog32jWyHvBlbu2y6Q5WU
z8cAn0u4y3VSFdybyc2OgC6n0GMha6qf
=yV5Z
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.