Public bug reported:
When installing `python3-binwalk` and the package reaches `Setting up`
in Ubuntu 24.04, we see this on-load SyntaxWarning:
/usr/lib/python3/dist-packages/binwalk/core/magic.py:431: SyntaxWarning: invalid
escape sequence '\.'
self.period = re.compile("\.")
This is fixable by using what's called a 'raw string' on that line which
in turn will bypass the 'invalid escape sequence' warnings.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: python3-binwalk 2.3.4+dfsg1-5
ProcVersionSignature: Ubuntu 6.8.0-50.51-generic 6.8.12
Uname: Linux 6.8.0-50-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Dec 12 16:41:46 2024
InstallationDate: Installed on 2024-11-01 (41 days ago)
InstallationMedia: Ubuntu 24.04.1 2024.10.31 LTS "Custom Noble Numbat"
(20241031)
PackageArchitecture: all
ProcEnviron:
LANG=C.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: binwalk
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: binwalk (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2091672
Title:
SyntaxWarning: invalid escape sequence '\.' on install/setup/use
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binwalk/+bug/2091672/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs