Soft Patch Panel
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: spp@dpdk.org
Subject: [spp] [Bug 453] SPP-CTL does not run with python2.7
Date: Sun, 19 Apr 2020 06:19:08 +0000	[thread overview]
Message-ID: <bug-453-394@http.bugs.dpdk.org/> (raw)

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.

             reply	other threads:[~2020-04-19  6:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-19  6:19 bugzilla [this message]
2020-04-23  5:21 ` bugzilla
2020-04-23  7:17 ` bugzilla
2020-04-24  2:17 ` bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-453-394@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=spp@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).