Public bug reported:
Got the following errors on the command line when upgrading my noble
installation today for syntax warnings related to invalid escape
sequences in the python code of various packages.
Setting up python3 (3.12.3-0ubuntu2.1) ...
running python rtupdate hooks for python3.12...
/usr/share/cinnamon/cinnamon-desktop-editor/cinnamon-desktop-editor.py:38:
SyntaxWarning: invalid escape sequence '\ '
return string.replace(" ", "\ ")
/usr/share/cinnamon/cinnamon-settings/modules/cs_keyboard.py:621:
SyntaxWarning: invalid escape sequence '\ '
new_schema.set_string("command",
dialog.command_entry.get_text().replace("%20", "\ "))
/usr/share/cinnamon/cinnamon-settings/modules/cs_keyboard.py:686:
SyntaxWarning: invalid escape sequence '\ '
keybinding.action = dialog.command_entry.get_text().replace("%20", "\ ")
/usr/share/gdebi/GDebi/GDebiCli.py:159: SyntaxWarning: invalid escape sequence
'\S'
c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()
/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)
/usr/share/hplip/base/imagesize.py:186: SyntaxWarning: invalid escape sequence
'\#'
re.compile('\#define\s+\S+\s+\d+') : ('image/x-xbitmap', xbmsize),
/usr/share/hplip/base/imagesize.py:187: SyntaxWarning: invalid escape sequence
'\/'
re.compile('\/\* XPM \*\/') : ('image/x-xpixmap', xpmsize),
/usr/share/hplip/base/imagesize.py:189: SyntaxWarning: invalid escape sequence
'\*'
re.compile('^II\*\x00') : ('image/tiff', tiffsize),
/usr/share/hplip/fax/ledmfax.py:46: SyntaxWarning: invalid escape sequence '\d'
http_result_pat = re.compile(b"""HTTP/\d.\d\s(\d+)""", re.I)
running python post-rtupdate hooks for python3.12...
** Affects: cinnamon (Ubuntu)
Importance: Undecided
Status: New
** Affects: gdebi (Ubuntu)
Importance: Undecided
Status: New
** Affects: gedit (Ubuntu)
Importance: Undecided
Status: New
** Affects: hplip (Ubuntu)
Importance: Undecided
Status: New
** Tags: noble
** Also affects: gdebi (Ubuntu)
Importance: Undecided
Status: New
** Also affects: gedit (Ubuntu)
Importance: Undecided
Status: New
** Also affects: hplip (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2146681
Title:
syntax warnings on upgrade in noble
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinnamon/+bug/2146681/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs