[Bug 2055445] [NEW] configmanager fails to import libnetplan

Mariusz 2055445 at bugs.launchpad.net
Thu Feb 29 17:30:15 UTC 2024


Public bug reported:

Executing `python3 /usr/share/netplan/netplan/configmanager.py` causes:
```
  File "/usr/share/netplan/netplan/configmanager.py", line 28, in <module>
    from netplan import libnetplan
ModuleNotFoundError: No module named 'netplan'
```

As the `libnetplan` module is in the same directory it's possible to fix
the error by changing `from netplan import libnetplan` to `import
libnetplan`

** 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/2055445

Title:
  configmanager fails to import libnetplan

Status in netplan.io package in Ubuntu:
  New

Bug description:
  Executing `python3 /usr/share/netplan/netplan/configmanager.py` causes:
  ```
    File "/usr/share/netplan/netplan/configmanager.py", line 28, in <module>
      from netplan import libnetplan
  ModuleNotFoundError: No module named 'netplan'
  ```

  As the `libnetplan` module is in the same directory it's possible to
  fix the error by changing `from netplan import libnetplan` to `import
  libnetplan`

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




More information about the foundations-bugs mailing list