Public bug reported:

upon installing xdiagnose, the following error message appears (abridged):
/usr/lib/python3/dist-packages/xdiagnose/applet.py:185: SyntaxWarning: invalid 
es
cape sequence '\w'
  re_kparam = re.compile("^([\w\.]+)=(.*)")

The reason seems to be that python 3.12 changed the interpretation of
backslash escapes - previously (up to 3.11) invalid backslash escapes
would be parsed as a backslash followed by the character, i.e. '\w'
would be read as '\\w'. In 3.12, '\w' is a syntax error.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xdiagnose 3.8.10
ProcVersionSignature: Ubuntu 6.8.0-47.47-generic 6.8.12
Uname: Linux 6.8.0-47-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Wed Oct 23 16:16:49 2024
InstallationDate: Installed on 2016-05-01 (3097 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
SourcePackage: xdiagnose
UpgradeStatus: Upgraded to noble on 2024-05-05 (171 days ago)

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


** Tags: amd64 apport-bug noble

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

Title:
  xdiagnose can't be installed due to python3.12 incompatibility

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


_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to