From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8C70D239 for ; Wed, 25 Jul 2018 02:22:03 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jul 2018 17:22:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,399,1526367600"; d="scan'208";a="67277672" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 24 Jul 2018 17:21:51 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 24 Jul 2018 17:21:51 -0700 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.3]) by FMSMSX102.amr.corp.intel.com ([169.254.10.201]) with mapi id 14.03.0319.002; Tue, 24 Jul 2018 17:21:51 -0700 From: "Wiles, Keith" To: Uditha Bandara CC: "users@dpdk.org" Thread-Topic: [dpdk-users] pktgen run.py error: NameError: name 'false' is not defined Thread-Index: AQHUI6WlublXaLfkU0KfL3SYMvF/baSfiQMA Date: Wed, 25 Jul 2018 00:21:50 +0000 Message-ID: <6B159EFC-DEB6-431A-AEAD-CA8E41CBB8EB@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.3.8] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] pktgen run.py error: NameError: name 'false' is not defined X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2018 00:22:05 -0000 > On Jul 24, 2018, at 6:25 PM, Uditha Bandara wrote: >=20 > Hi, >=20 > I'm trying to install Pktgen on a system running Linux Mint 18.1 Serena. > I followed the steps given in: Which version of Pktgen are you using, seems like the latest version. >=20 > http://pktgen-dpdk.readthedocs.io/en/latest/getting_started.html >=20 > When I executed "./tools/run.py -s default" I am getting the following > error. >=20 > uditha@udithapc ~/sandbox/pktgen/pktgen-dpdk $ ./tools/run.py -s default >>>> sdk '/home/uditha/sandbox/pktgen/dpdk', target > 'x86_64-native-linuxapp-gcc' > Traceback (most recent call last): > File "./tools/run.py", line 361, in > main() > File "./tools/run.py", line 358, in main > setup_cfg(cfg_file) > File "./tools/run.py", line 219, in setup_cfg > cfg =3D load_cfg(cfg_file) > File "./tools/run.py", line 119, in load_cfg > cfg =3D imp.load_source('cfg', '', f) > File "", line 1, in >=20 I normally only run pktgen on Ubuntu systems and currently 18.04, which mak= es me believe it could the version of python you are running. I am running python 2.7.15. On my machine the same command works and false is nowhere in the code, must= be a Python variable type. Do you have your RTE_SDK and RTE_TARGET environment variables set? > NameError: name 'false' is not defined >=20 > I have tried cleaning up the files and a re-install but getting the same > error. Does any of the config files needed to be edited before this step? >=20 > Thanks in advance! >=20 > Regards, > Uditha Regards, Keith