Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [Bug 453] SPP-CTL does not run with python2.7
@ 2020-04-19  6:19 bugzilla
  2020-04-23  5:21 ` bugzilla
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla @ 2020-04-19  6:19 UTC (permalink / raw)
  To: spp

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@gmail.com
          Reporter: vipin.varghese@intel.com
                CC: spp@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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-24  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19  6:19 [spp] [Bug 453] SPP-CTL does not run with python2.7 bugzilla
2020-04-23  5:21 ` bugzilla
2020-04-23  7:17 ` bugzilla
2020-04-24  2:17 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).