[dpdk-users] pktgen run.py error: NameError: name 'false' is not defined
keith.wiles at intel.com
Wed Jul 25 16:53:44 CEST 2018
> On Jul 24, 2018, at 7:21 PM, Wiles, Keith <keith.wiles at intel.com> wrote:
>> On Jul 24, 2018, at 6:25 PM, Uditha Bandara <ubndra at gmail.com> wrote:
>> 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.
>> When I executed "./tools/run.py -s default" I am getting the following
>> uditha at udithapc ~/sandbox/pktgen/pktgen-dpdk $ ./tools/run.py -s default
>>>>> sdk '/home/uditha/sandbox/pktgen/dpdk', target
The only other thing I guess is are you typing the command in the pktgen directory as the ‘cfg’ directory must be there too.
>> Traceback (most recent call last):
>> File "./tools/run.py", line 361, in <module>
>> File "./tools/run.py", line 358, in main
>> File "./tools/run.py", line 219, in setup_cfg
>> cfg = load_cfg(cfg_file)
>> File "./tools/run.py", line 119, in load_cfg
>> cfg = imp.load_source('cfg', '', f)
>> File "", line 1, in <module>
> I normally only run pktgen on Ubuntu systems and currently 18.04, which makes 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
>> 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?
>> Thanks in advance!
More information about the users