*** This bug is a duplicate of bug 2061211 ***
https://bugs.launchpad.net/bugs/2061211
Thanks for taking your time to report this issue and help making Ubuntu
better.
This issue has already been reported as bug 2061211 so I'm marking this
as a duplicate.
** This bug has been marked a duplicate of bug 2061211
Invalid escape sequences in regexes when installing gedit
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/2109921
Title:
Python Warnings During gedit Installation on Ubuntu 24.04.2 LTS
Status in gedit package in Ubuntu:
New
Bug description:
When installing gedit on Ubuntu 24.04.2 LTS, Python warnings related to
invalid escape sequences in regular expressions are generated by the system.
These warnings can be confusing for users and may indicate issues with the
scripting.
---
###Steps:
#In the terminal execute:
sudo apt install gedit
#Observe the warnings generated in the terminal.
/usr/lib/x86_64-linux-gnu/gedit/plugins/externaltools/library.py:212:
SyntaxWarn
ing: invalid escape sequence '\-'
RE_KEY = re.compile('^([a-zA-Z_][a-zA-Z0-9_.\-]*)(\[([a-zA-Z_@]+)\])?$')
/usr/lib/x86_64-linux-gnu/gedit/plugins/snippets/substitutionparser.py:162:
Synt
axWarning: invalid escape sequence '\s'
match = re.match('\\\\?%s\s*' % self.REG_GROUP, tokens)
Ubuntu Version: 24.04.2 LTS
Package: gedit
Version: 46.2-2
Priority: optional
Section: universe/gnome
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Debian GNOME Maintainers
<[email protected]>
Installed-Size: 1,553 kB
Depends: gedit-common (<< 47~), gedit-common (>= 46~), gir1.2-glib-2.0,
gir1.2-gtk-3.0 (>= 3.22), gir1.2-gtksource-300, gir1.2-pango-1.0,
gir1.2-peas-1.0, gsettings-desktop-schemas, iso-codes, python3-gi (>= 3.0),
python3-gi-cairo (>= 3.0), gir1.2-tepl-6 (>= 6.8.0), python3:any, python3.12,
libc6 (>= 2.34), libcairo2 (>= 1.2.4), libgdk-pixbuf-2.0-0 (>= 2.22.0),
libgedit-amtk-5-0 (>= 5.8.0), libgedit-gtksourceview-300-0 (>= 299.0.4),
libgirepository-1.0-1 (>= 0.9.3), libglib2.0-0t64 (>= 2.79.0), libgspell-1-2
(>= 1.8.2), libgtk-3-0t64 (>= 3.22), libpango-1.0-0 (>= 1.14.0), libpeas-1.0-0
(>= 1.14.1), libtepl-6-4 (>= 6.8.0)
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gedit 46.2-2
ProcVersionSignature: Ubuntu 6.11.0-25.25~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-25-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun May 4 06:11:28 2025
InstallationDate: Installed on 2025-05-04 (0 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64
(20250215)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/2109921/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp