Public bug reported:
Hi,
I tried to evaluate netplan.io for the first time and tried this
command:
netplan ip leases lo
Actual result:
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 130, 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 130, 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 130, 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)
Expected result:
No Python exception and a nice error message instead.
Note that this error occurs
- on all my Ubuntu systems
- for all network interfaces (Ethernet)
that my Ubuntu systems are upgraded from older releases
and that the /etc/netplan/ directory is empty.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: netplan (not installed)
Uname: Linux 5.5.3-050503-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.4
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Feb 13 13:31:13 2020
SourcePackage: plan
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: plan (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug eoan
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863095
Title:
Python exception when running "netplan ip leases"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plan/+bug/1863095/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs