Public bug reported:

The following lines were found in my logs:

2025-07-22T10:31:03.711780+00:00 alibi location[1312071]: 
/usr/bin/location:583: SyntaxWarning: invalid escape sequence '\d'
2025-07-22T10:31:03.713116+00:00 alibi location[1312071]:   m = 
re.match("^AS(\d+)$", object)

I have resolved this locally by prefixing the match string definition
with 'r'

   m = re.match(r"^AS(\d+)$", object)

This resolved the problem locally.

ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: location 0.9.16-3.1build4 [modified: usr/bin/location]
ProcVersionSignature: Ubuntu 6.14.0-24.24-generic 6.14.6
Uname: Linux 6.14.0-24-generic x86_64
ApportVersion: 2.32.0-0ubuntu5.3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Jul 22 17:31:15 2025
PackageArchitecture: all
ProcEnviron:
 LANG=en_CA.UTF-8
 LANGUAGE=en_CA:
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm
SourcePackage: libloc
UpgradeStatus: Upgraded to plucky on 2025-07-12 (10 days ago)

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


** Tags: amd64 apport-bug plucky

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

Title:
  Invalid escape sequence at line 583

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


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

Reply via email to