[Bug 1887995] [NEW] netplan ip leases wlan0 -> traceback

James Troup 1887995 at bugs.launchpad.net
Fri Jul 17 17:43:46 UTC 2020


Public bug reported:

$ netplan ip leases wlan0 
Traceback (most recent call last):
  File "/usr/sbin/netplan", line 23, in <module>
    netplan.main()
  File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
    self.run_command()
  File "/usr/share/netplan/netplan/cli/utils.py", line 186, in run_command
    self.func()
  File "/usr/share/netplan/netplan/cli/commands/ip.py", line 57, in run
    self.run_command()
  File "/usr/share/netplan/netplan/cli/utils.py", line 186, in run_command
    self.func()
  File "/usr/share/netplan/netplan/cli/commands/ip.py", line 76, in run
    self.run_command()
  File "/usr/share/netplan/netplan/cli/utils.py", line 186, in run_command
    self.func()
  File "/usr/share/netplan/netplan/cli/commands/ip.py", line 150, in command_ip_leases
    key, value = keyvalue.strip().split('=')
ValueError: not enough values to unpack (expected 2, got 1)
$ 

This is netplan.io 0.99-0ubuntu3~20.04.2 on Ubuntu 20.04.

Netplan is not managing wlan0, so I don't expect the command to work,
but I don't expect a Python traceback.

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1887995

Title:
  netplan ip leases wlan0 -> traceback

Status in netplan.io package in Ubuntu:
  New

Bug description:
  $ netplan ip leases wlan0 
  Traceback (most recent call last):
    File "/usr/sbin/netplan", line 23, in <module>
      netplan.main()
    File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
      self.run_command()
    File "/usr/share/netplan/netplan/cli/utils.py", line 186, in run_command
      self.func()
    File "/usr/share/netplan/netplan/cli/commands/ip.py", line 57, in run
      self.run_command()
    File "/usr/share/netplan/netplan/cli/utils.py", line 186, in run_command
      self.func()
    File "/usr/share/netplan/netplan/cli/commands/ip.py", line 76, in run
      self.run_command()
    File "/usr/share/netplan/netplan/cli/utils.py", line 186, in run_command
      self.func()
    File "/usr/share/netplan/netplan/cli/commands/ip.py", line 150, in command_ip_leases
      key, value = keyvalue.strip().split('=')
  ValueError: not enough values to unpack (expected 2, got 1)
  $ 

  This is netplan.io 0.99-0ubuntu3~20.04.2 on Ubuntu 20.04.

  Netplan is not managing wlan0, so I don't expect the command to work,
  but I don't expect a Python traceback.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1887995/+subscriptions



More information about the foundations-bugs mailing list