[ovs-dev] [PATCH] bugtool: Fix for Python3

William Tu u9012063 at gmail.com
Wed Mar 18 21:25:43 UTC 2020

On Wed, Mar 18, 2020 at 8:23 AM Timothy Redaelli <tredaelli at redhat.com> wrote:
> Currently ovs-bugtool tool doesn't start on Python3.
> This commit fixes ovs-bugtool to make it works on Python.3
> Reported-at: https://bugzilla.redhat.com/1809241
> Reported-by: Flavio Leitner <fbl at sysclose.org>
> Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
> ---

Thanks for the patch. I tried to fix it before but haven't get it done yet.
I run your patch and got this error, can you take a look?

ovs# ./utilities/bugtool/ovs-bugtool -y -s --output=tar.gz
Traceback (most recent call last):
  File "./utilities/bugtool/ovs-bugtool", line 1405, in <module>
  File "./utilities/bugtool/ovs-bugtool", line 717, in main
  File "./utilities/bugtool/ovs-bugtool", line 366, in collect_data
  File "./utilities/bugtool/ovs-bugtool", line 1344, in run_procs
  File "./utilities/bugtool/ovs-bugtool", line 1313, in read_line
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcb in position
67: invalid continuation byte


More information about the dev mailing list