From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0404.ocn.ad.jp (mogw0404.ocn.ad.jp [118.23.109.32]) by dpdk.org (Postfix) with ESMTP id 9A1D01E96E for ; Tue, 12 Jun 2018 09:03:22 +0200 (CEST) Received: from mf-smf-ucb028c3 (mf-smf-ucb028c3.ocn.ad.jp [153.153.66.174]) by mogw0404.ocn.ad.jp (Postfix) with ESMTP id EB8852E02F5; Tue, 12 Jun 2018 16:03:19 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb027 ([153.149.142.101]) by mf-smf-ucb028c3 with ESMTP id SdKof8gW4XhLXSdKpf9JWF; Tue, 12 Jun 2018 16:03:19 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.166]) by ntt.pod01.mv-mta-ucb027 with id xj3K1x00U3c2f7501j3KMF; Tue, 12 Jun 2018 07:03:19 +0000 Received: from localhost.localdomain (p5164-ipngn8501marunouchi.tokyo.ocn.ne.jp [153.214.228.164]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Tue, 12 Jun 2018 16:03:19 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org Cc: Yasufumi Ogawa Date: Tue, 12 Jun 2018 16:03:14 +0900 Message-Id: <20180612070316.5261-1-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.17.1 Subject: [spp] [PATCH 0/2] Python 3 support for topo command X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 07:03:23 -0000 From: Yasufumi Ogawa Hi, This update is to fix bugs of topo command. * Topo command is failed if 'imgcat.sh' which is required only for MacOS does not exist. Linux user uses `img2sixel' instead of it. It is fixed by changing not to find 'imgcat.sh' if 'img2sixel' exits. * Topo is not update for python 3 and cause an error of encoding. To avoid this error, add encoding appropriately. Yasufumi Ogawa (2): controller: fix bug of topo to refer external cmd controller: fix encoding in topo command docs/guides/commands/experimental.rst | 2 +- src/controller/topo.py | 32 ++++++++++++++++++--------- 2 files changed, 23 insertions(+), 11 deletions(-) -- 2.17.1