Re: Exception TypeError: "'NoneType' object is not callable" with Python 2.6.1+

Vaclav Slavik <[email protected]> Tue, 17 Mar 2009 06:45:46 +0100
Newsgroups gmane.comp.sysutils.bakefile.devel
Message-ID <1237268746.5132.9.camel@localhost>
Hi,

On Mon, 2009-03-16 at 17:37 +0100, Francesco Montorsi wrote:
> so it looks like it's something in the while line (432) ?

That's obviously impossible, so one can reasonably assume there's
something wrong with the analysis. Such as:

> Running bakefile separately (but without --xml-cache doesn't trigger the 
> exception). 

That it works without --xml-cache doesn't imply that it works *with*
--xml-cache and the bug must be in bakefile_gen. What it does suggest is
that the bug is either in bakefile_gen *or* in bakefile's --xml-cache
handling. And indeed, it was:

   http://www.bakefile.org/changeset/1296

To be fair, I had a great advantage: there used to be a similar bug with
Python 2.5 and I half-remembered that it was related to dbhash module
and the message was printed during Python shutdown.

Thanks!
Vaclav

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

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

iEYEABECAAYFAkm/OQoACgkQxDYa/UZSZMme5wCeJwEi5ZHpNUkW0F3cnUJYOicg
Vg0AnjVeh7ejjX7EfBKUMdYcMBI4CNKt
=z+2n
-----END PGP SIGNATURE-----