[Ns-developers] waf error switching back and forth between debug and optimized mode
mazo at iitp.ru
Fri Apr 23 04:58:57 PDT 2010
On Fri, 23 Apr 2010 15:45:36 +0400, Gustavo Carneiro <gjcarneiro at gmail.com> wrote:
> Some people may have seen this error switching back and forth between debug
> and optimized mode:
> line 125, in find_or_declare
> line 322, in rescan
> if node.id in dct:
> TypeError: argument of type 'int' is not iterable
This is bug 855 .
> This appears to be fixed in the latest waf, 1.5.16.
> I know it's late in the release process, but I have tested locally waf
> 1.5.16 (you need to drop the new waf and also apply the attached patch), and
> it seems to work fine and fix the problem. Therefore, I would like to
> upgrade waf before ns 3.8. Is it ok?
The attached patch isn't required with the latest revision of waf.
If you're anyway going to apply a workaround, it's also possible to make it one-liner:
- sys.path.insert(0, os.path.abspath('waf-tools'))
More information about the Ns-developers