[spp] [Bug 453] SPP-CTL does not run with python2.7
bugzilla at dpdk.org
bugzilla at dpdk.org
Sun Apr 19 08:19:08 CEST 2020
https://bugs.dpdk.org/show_bug.cgi?id=453
Bug ID: 453
Summary: SPP-CTL does not run with python2.7
Product: SPP
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: High
Component: ctl
Assignee: yasufum.o at gmail.com
Reporter: vipin.varghese at intel.com
CC: spp at dpdk.org
Target Milestone: ---
CMD: python2.7 src/spp-ctl/spp-ctl -b 127.0.0.1
URL: ```https://doc.dpdk.org/spp/setup/getting_started.html#setup``` states
python 2 is compatible
Expected Result: spp-ctl connecting to the primary SPP
Current result:
```
# python2.7 src/spp-ctl/spp-ctl -b 127.0.0.1
Traceback (most recent call last):
File "src/spp-ctl/spp-ctl", line 11, in <module>
sys.exit(main())
File "/home/saesrv02/Downloads/explore/spp-19.11/src/spp-ctl/spp_ctl.py",
line 269, in main
args.api_port)
File "/home/saesrv02/Downloads/explore/spp-19.11/src/spp-ctl/spp_ctl.py",
line 30, in __init__
self.web_server = spp_webapi.WebServer(self, host, api_port)
File "/home/saesrv02/Downloads/explore/spp-19.11/src/spp-ctl/spp_webapi.py",
line 159, in __init__
self.mount("/v1", V1Handler(controller))
File "/home/saesrv02/Downloads/explore/spp-19.11/src/spp-ctl/spp_webapi.py",
line 179, in __init__
self.mount("/primary", V1PrimaryHandler(controller))
File "/home/saesrv02/Downloads/explore/spp-19.11/src/spp-ctl/spp_webapi.py",
line 477, in __init__
self._initialize()
File "/home/saesrv02/Downloads/explore/spp-19.11/src/spp-ctl/spp_webapi.py",
line 485, in _initialize
self.mount("/flow_rules", V1PrimaryFlowHandler(self.ctrl))
File "/home/saesrv02/Downloads/explore/spp-19.11/src/spp-ctl/spp_webapi.py",
line 609, in __init__
super().__init__(controller)
TypeError: super() takes at least 1 argument (0 given)
```
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the spp
mailing list