Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 40734: /trunk/tools/ /trunk/tools/:
From: Guy Harris <[email protected]>
Date: Thu, 26 Jan 2012 13:13:27 -0800
On Jan 26, 2012, at 11:38 AM, [email protected] wrote:

> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=40734
> 
> User: gerald
> Date: 2012/01/26 11:38 AM
> 
> Log:
> Apply changes from the "2to3" conversion utility. Print cache information.

Unfortunately, Python 2.x doesn't appear to like it any more:

> Making plugin.c (using python)
> 
> Traceback (most recent call last):
>   File "../../tools/make-dissector-reg.py", line 126, in <module>
>     print(("Registering %d files, %d cached" % (len(filenames), len(list(cache.keys()))-1)))
> AttributeError: 'NoneType' object has no attribute 'keys'
> NMAKE : fatal error U1077: 'C:\Python27\python.exe' : return code '0x1'

and the same complaints is showing up on the Ubuntu buildbot.