Public bug reported:

$ NUT-Monitor
head: cannot open '/usr/bin/NUT-Monitor-py2gtk2' for reading: No such file or 
directory
PYTHON_PY3QT5 is usable as: /usr/bin/python3
Traceback (most recent call last):
  File "/usr/bin/NUT-Monitor-py3qt5", line 51, in <module>
    import PyNUT
  File "/usr/lib/python3/dist-packages/PyNUT.py", line 59, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'

telnetlib is gone from the python standard library in version 3.13[1].

Debian replaced[2] the dependency with python3-zombie-telnetlib, but for
ubuntu that would require an MIR, and the package is only available in
ubuntu since plucky.

Nut upstream is aware[2] and moved away[3] from telnetlib in version
2.8.3[4].

1. https://docs.python.org/3/library/telnetlib.html
2. https://github.com/networkupstools/nut/issues/2183
3. https://github.com/networkupstools/nut/pull/2792
4. https://github.com/networkupstools/nut/releases/tag/v2.8.3

** Affects: nut (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: nut (Ubuntu Plucky)
     Importance: Undecided
         Status: New

** Affects: nut (Ubuntu Questing)
     Importance: Undecided
         Status: New

** Also affects: nut (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Also affects: nut (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Description changed:

  $ NUT-Monitor
  head: cannot open '/usr/bin/NUT-Monitor-py2gtk2' for reading: No such file or 
directory
  PYTHON_PY3QT5 is usable as: /usr/bin/python3
  Traceback (most recent call last):
-   File "/usr/bin/NUT-Monitor-py3qt5", line 51, in <module>
-     import PyNUT
-   File "/usr/lib/python3/dist-packages/PyNUT.py", line 59, in <module>
-     import telnetlib
+   File "/usr/bin/NUT-Monitor-py3qt5", line 51, in <module>
+     import PyNUT
+   File "/usr/lib/python3/dist-packages/PyNUT.py", line 59, in <module>
+     import telnetlib
  ModuleNotFoundError: No module named 'telnetlib'
- 
  
  telnetlib is gone from the python standard library in version 3.13[1].
  
  Debian replaced[2] the dependency with python3-zombie-telnetlib, but for
  ubuntu that would require an MIR, and the package is only available in
  ubuntu since plucky.
  
- Nut upstream is aware[2] moved away[3] from telnetlib in version
+ Nut upstream is aware[2] and moved away[3] from telnetlib in version
  2.8.3[4].
- 
  
  1. https://docs.python.org/3/library/telnetlib.html
  2. https://github.com/networkupstools/nut/issues/2183
  3. https://github.com/networkupstools/nut/pull/2792
  4. https://github.com/networkupstools/nut/releases/tag/v2.8.3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2112402

Title:
  NUT-Monitor fails to import telnetlib

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/2112402/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to