** Description changed:

+ [ Impact ]
+ 
+  * xdot fails to start on Ubuntu 24.04, without python3-setuptools
+ installed.
+ 
+ [ Test Plan ]
+ 
+  * Run xdot from a terminal.
+ 
+  * If it fails to start, you've hit this bug.
+ 
+ [ Where problems could occur ]
+ 
+  * We are adding a dependency to the package.
+ 
+  * This is a leaf package, with a small userbase.
+ 
+ [ Other Info ]
+ 
+  * While preparing the SRU, we found a second patch was necessary, to be able 
to test in a pristine environment, without GTK settings.
+  * Both patches originate upstream where they have not seen regressions.
+ 
+ [ Original Bug Report ]
+ 
  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
+   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.

-- 
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