kubuntu 24.04 "apt install zim" had a lot of python warnings

Bug #2063080 reported by Michael Gödderz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zim (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,
this morning i've installed zim on a new kubuntu 24.04 Desktop.

sudo apt update
sudo apt dist-upgrade
sudo apt autoremove

sudo apt install zim
...
Entpacken von zim (0.75.2-1) ...
libgtkspell3-3-0:amd64 (3.0.10-1build2) wird eingerichtet ...
gir1.2-gtkspell3-3.0:amd64 (3.0.10-1build2) wird eingerichtet ...
zim (0.75.2-1) wird eingerichtet ...
/usr/lib/python3/dist-packages/zim/formats/__init__.py:1367: SyntaxWarning: invalid escape sequence '\w'
  _is_header_re = re.compile('^([\w\-]+):\s+(.*?)\n', re.M)
/usr/lib/python3/dist-packages/zim/formats/__init__.py:1368: SyntaxWarning: invalid escape sequence '\S'
  _is_continue_re = re.compile('^([^\S\n]+)(.+?)\n', re.M)

....

There are many more such "SyntaxWarnings". However, seemed the package was installed anyway. So i could launch zim and open Notebooks.

#####
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu Noble Numbat (development branch)
Release: 24.04

$ apt-cache policy zim
zim:
  Installiert: 0.75.2-1
  Installationskandidat: 0.75.2-1
  Versionstabelle:
 *** 0.75.2-1 500
        500 http://de.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu noble/universe i386 Packages
        100 /var/lib/dpkg/status

$ zim --version

zim 0.75.2

Copyright 2008 - 2023 Jaap Karssenberg <email address hidden>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.