Public bug reported:

Reported and fixed upstream in 1.15 (rebasing required)

See https://github.com/phillipberndt/autorandr/issues/368

NB: There are a number of other python3 packages which are failing like
this when python 3.12 is installed and there may be upstream fixes in
those

manifestation:

# autorandr --version
/usr/bin/autorandr:210: SyntaxWarning: invalid escape sequence '\s'
  XRANDR_OUTPUT_REGEXP = """(?x)
/usr/bin/autorandr:236: SyntaxWarning: invalid escape sequence '\s'
  """ + XRANDR_PROPERTIES_REGEXP + """ |                                      # 
Properties to include in the profile
/usr/bin/autorandr:248: SyntaxWarning: invalid escape sequence '\S'
  XRANDR_OUTPUT_MODES_REGEXP = """(?x)
/usr/bin/autorandr:592: SyntaxWarning: invalid escape sequence '\s'
  version = re.search("xrandr program version\s+([0-9\.]+)", 
version_string).group(1)
/usr/bin/autorandr:888: SyntaxWarning: invalid escape sequence '\+'
  match = 
re.match("(?P<w>[0-9]+)x(?P<h>[0-9]+)(?:\+(?P<x>[0-9]+))?(?:\+(?P<y>[0-9]+))?.*",
 output.options["panning"])
autorandr 1.14

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: autorandr 1.14-2
ProcVersionSignature: Ubuntu 6.8.0-25.25.3-lowlatency 6.8.1
Uname: Linux 6.8.0-25-lowlatency x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Fri Apr 19 19:14:14 2024
InstallationDate: Installed on 2024-04-06 (13 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
PackageArchitecture: all
SourcePackage: autorandr
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug noble wayland-session

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

Title:
  Broken regexes due to missing r string literal

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


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

Reply via email to