Public bug reported:

I just installed Gedit on Xubuntu 25.04, and I got this warning when the
system was configuring the package:

/usr/lib/x86_64-linux-gnu/gedit/plugins/externaltools/library.py:212: 
SyntaxWarning: 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: 
SyntaxWarning: invalid escape sequence '\s'
  match = re.match('\\\\?%s\s*' % self.REG_GROUP, tokens)
--- 
ProblemType: Bug
ApportVersion: 2.31.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
DistroRelease: Ubuntu 25.04
InstallationDate: Installed on 2025-01-19 (25 days ago)
InstallationMedia: Xubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827)
Package: gedit 46.2-3build1
PackageArchitecture: amd64
ProcEnviron:
 LANG=it_IT.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcVersionSignature: Ubuntu 6.12.0-15.15-generic 6.12.11
Tags: plucky
Uname: Linux 6.12.0-15-generic x86_64
UpgradeStatus: Upgraded to plucky on 2025-01-26 (18 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
_MarkForUpload: True

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


** Tags: apport-collected plucky

** Tags added: apport-collected plucky

** Description changed:

  I just installed Gedit on Xubuntu 25.04, and I got this warning when the
  system was configuring the package:
  
  /usr/lib/x86_64-linux-gnu/gedit/plugins/externaltools/library.py:212: 
SyntaxWarning: 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: 
SyntaxWarning: invalid escape sequence '\s'
    match = re.match('\\\\?%s\s*' % self.REG_GROUP, tokens)
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.31.0-0ubuntu5
+ Architecture: amd64
+ CasperMD5CheckResult: unknown
+ CurrentDesktop: XFCE
+ DistroRelease: Ubuntu 25.04
+ InstallationDate: Installed on 2025-01-19 (25 days ago)
+ InstallationMedia: Xubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827)
+ Package: gedit 46.2-3build1
+ PackageArchitecture: amd64
+ ProcEnviron:
+  LANG=it_IT.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
+ ProcVersionSignature: Ubuntu 6.12.0-15.15-generic 6.12.11
+ Tags: plucky
+ Uname: Linux 6.12.0-15-generic x86_64
+ UpgradeStatus: Upgraded to plucky on 2025-01-26 (18 days ago)
+ UserGroups: adm cdrom dip lpadmin plugdev sudo users
+ _MarkForUpload: True

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

Title:
  Syntax warning when installing Gedit on Xubuntu 25.04

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


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

Reply via email to