Public bug reported:

On ubuntu 24.04 the version of python3 is currently 3.12.3. xdot 1.3
relies on distutils which was removed in python 3.12, resulting in
breakage. Running xdot results in the following error:

Traceback (most recent call last):
  File "/usr/bin/xdot", line 2, in <module>
    from xdot.__main__ import main
  File "/usr/lib/python3/dist-packages/xdot/__main__.py", line 22, in <module>
    from .ui.window import DotWindow, Gtk
  File "/usr/lib/python3/dist-packages/xdot/ui/__init__.py", line 11, in 
<module>
    from .window import DotWidget, DotWindow
  File "/usr/lib/python3/dist-packages/xdot/ui/window.py", line 42, in <module>
    from ._xdotparser import XDotParser
  File "/usr/lib/python3/dist-packages/xdot/ui/_xdotparser.py", line 21, in 
<module>
    from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'

See also the upstream issue:
https://github.com/jrfonseca/xdot.py/issues/125

Updating xdot to version 1.4 should ifx this.

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

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

Title:
  xdot 1.3 crashes with python 3.12

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to