Hi,
Please don't drop the mailing list.
> There is an error in my code. It works fine. Thanks.
OK, I'm glad to hear that.
thanks,
On 2016年02月19日 10:50, yu hsiang Huang wrote:
> Hi Minoru,
>
> There is an error in my code. It works fine. Thanks.
>
> *
> *
> */Best Regards,/*
> */
> /*
> *
Hi,
> buf += struct.pack(fmt, *args)
>
> error: ubyte format requires 0 <= number <= 255
I think you don't need upgrade the python version.
Because above error appears when you input invalid arg to struct.pack.
Example is as follows.
$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[
Hi
I'v tested the code in Traffic Monitor Chapter having error: ubyte format
requires 0 <= number <= 255. Looks like it is caused by fmt in
pack_utils.py. I have checked the internet that it should be fixed by
upgrading the python version. I am running SDN Hub Tutorial VM with python
2.7.6, it sh