Projects
home:sicherha:branches:Kolab:16
pykolab-python3
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Difference Between Revision 5 and
Kolab:16
/
pykolab-python3
View file
pykolab.spec
Changed
@@ -56,7 +56,7 @@ Summary: Kolab Groupware Solution Name: pykolab Version: 0.9.0.7 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Applications/System URL: http://kolab.org/ @@ -64,6 +64,8 @@ Source0: pykolab-%{upstream_version}.tar.gz Source1: pykolab.logrotate +Patch0001: 0001-T8337-Fix-UnicodeDecodeError-in-wallace.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch @@ -251,6 +253,7 @@ %prep %setup -q -n %{name}-%{upstream_version} +%patch0001 -p1 %build autoreconf -v || automake --add-missing && autoreconf -v @@ -617,6 +620,9 @@ %attr(0700,%{kolab_user},%{kolab_group}) %dir %{_var}/spool/pykolab/wallace %changelog +* Fri Sep 20 2022 Christoph Erhardt <kolab@sicherha.de> - 0.9.0.7-2 +- Fix `UnicodeDecodeError` in wallace + * Tue Aug 2 2022 Christian Mollekopf <mollekopf@apheleia-it.ch> - 0.8.23-2 - Python3 support on centos 8
View file
0001-T8337-Fix-UnicodeDecodeError-in-wallace.patch
Added
@@ -0,0 +1,29 @@ +From 0b38809701d43140840c8e83fc0b4c90ef272163 Mon Sep 17 00:00:00 2001 +Message-ID: <0b38809701d43140840c8e83fc0b4c90ef272163.1726868869.git.kolab@sicherha.de> +From: Christoph Erhardt <kolab@sicherha.de> +Date: Fri, 20 Sep 2024 23:42:37 +0200 +Subject: PATCH T8337: Fix `UnicodeDecodeError` in wallace + +Reviewers: mollekopf + +Differential Revision: https://git.kolab.org/D4959 +--- + wallace/modules.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/wallace/modules.py b/wallace/modules.py +index f774e6e..e4a4ab6 100644 +--- a/wallace/modules.py ++++ b/wallace/modules.py +@@ -369,7 +369,7 @@ def cb_action_ACCEPT(module, filepath): + log.debug(_("Accepting message in: %r") %(filepath), level=8) + + # parse message headers +- message = Parser().parse(open(filepath, 'r'), True) ++ message = Parser().parse(open(filepath, 'r', encoding="utf8", errors="ignore"), True) + + messageid = message'message-id' if 'message-id' in message else None + sender = formataddr(x) for x in getaddresses(message.get_all('X-Kolab-From', )) +-- +2.46.1 +
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +pykolab (0.9.0.7-1~kolab2) unstable; urgency=low + + * Fix `UnicodeDecodeError` in wallace + + -- Christoph Erhardt <kolab@sicherha.de> Fri, 20 Sep 2024 23:50:46 +0200 + pykolab (0.9.0.7-0~kolab4) unstable; urgency=low * Release of version 0.9.0
View file
debian.series
Changed
@@ -1,1 +1,2 @@ cyrus-imapd.conf-cert-paths.patch -p1 +0001-T8337-Fix-UnicodeDecodeError-in-wallace.patch -p1
View file
pykolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: pykolab Binary: pykolab, kolab-cli, kolab-conf, kolab-saslauthd, kolab-server, kolab-telemetry, kolab-xml, wallace Architecture: all -Version: 0.9.0.7-1~kolab1 +Version: 0.9.0.7-1~kolab2 DEBTRANSFORM-RELEASE: 1 Maintainer: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.