GNU bug report logs - #64651
[PATCH] gnu: pantalaimon: Fix media downloads.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Wojtek Kosior <koszko@HIDDEN>; Keywords: patch; dated Sat, 15 Jul 2023 14:30:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 64651 <at> debbugs.gnu.org:


Received: (at 64651) by debbugs.gnu.org; 22 Dec 2023 15:13:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 22 10:13:43 2023
Received: from localhost ([127.0.0.1]:47611 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rGhDa-0007BU-7P
	for submit <at> debbugs.gnu.org; Fri, 22 Dec 2023 10:13:43 -0500
Received: from koszko.org ([93.95.227.159]:51406)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <koszko@HIDDEN>) id 1rGhDU-0007BI-QW
 for 64651 <at> debbugs.gnu.org; Fri, 22 Dec 2023 10:13:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; 
 s=mail;
 h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date:Sender:
 Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=egbm098knRv5aKZXNZ55WXpMV849CmEWaO1+m6atwsM=; b=xeTGKWQ17JhMahig03xGBd5Kho
 dYOfzDP2TUdTM7cF7SBWUL2bnebDtjfd2op8FpUGPK0wy/xDBV9SNmyNIMdDT8FnWgXfoauFFeYIC
 FSVhuJZMn9cfFOEgRbhvN+wccHKuq4y2bVsLXBJ90Hx+Ho35nhNNU8CPVa0oITDvFTGtxutQLiu4C
 wQrn8bktZGF0GIfjReyz6xSJ1s/OlxsJEPJtXLxBWkjRoiTZjP2etf1SSbKL62vtdNMLqk0kzx+si
 3ODACNrvdgElQxNW0gguzAaqECHLRizQYn/z77dM0EuACZ/Qj88FOib2xdgPovnbajgLAhFtwvjP/
 y8LYDztUGiO1aJ5xBjZvKGU3coUrucfRc70OHOz0kmzKzesQWpa4E8divEjD4oQvxL3XBvcBNfKXp
 VEilrvWjMsq1izBF/JcHBNSm3ysCU12OaFB2KyXXm3Fenxm5P0Rb7O7Ji67DpEf+b8AK7ukTpjMPl
 KxZyDjM5emeK3loaOwc6DOErHQvGrwWFQspjfFY228xSfvH6z3jfoFkfFsdpatcsDg+sxAnkjSMAX
 mDVZ1DRdC3p8GZfmUsgJoRoo7ykihNGuglFfcQNJoANtEwuvAScynSlWXu1UdCI77UWv7/fcl9ZmC
 iPqCMg5EOCWhJ6ueI8Pl70PGViiGwEUflkJcsuSyo=;
Received: from [91.231.169.167] (helo=localhost)
 by koszko.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
 (Exim 4.96.1) (envelope-from <koszko@HIDDEN>) id 1rGhDO-0006GQ-08
 for 64651 <at> debbugs.gnu.org; Fri, 22 Dec 2023 16:13:30 +0100
Date: Fri, 22 Dec 2023 16:13:28 +0100
From: Wojtek Kosior <koszko@HIDDEN>
To: 64651 <at> debbugs.gnu.org
Subject: [PATCH] gnu: pantalaimon: Fix media downloads.
Message-ID: <20231222161328.4c71bee0.koszko@HIDDEN>
X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/V50GjqAP2+X0ZNTGwc==kw2";
 protocol="application/pgp-signature"; micalg=pgp-sha256
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 64651
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--Sig_/V50GjqAP2+X0ZNTGwc==kw2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,

a gentle ping here :)  It's been over 6 months since I sent this patch.
Does it need any improvements?

Wojtek


-- (sig_start)
website: https://koszko.org/koszko.html
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
follow me on Fediverse: https://friendica.me/profile/koszko/profile

=E2=99=A5 R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ=3D=3D | =C3=B7 c2luIHNlcGFyYXR=
lZCBtZSBmcm9tIEhpbQ=3D=3D
=E2=9C=9D YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ=3D=3D | ? U2hhbGwgSSBiZWNvbWUg=
SGlzIGZyaWVuZD8=3D
-- (sig_end)

--Sig_/V50GjqAP2+X0ZNTGwc==kw2
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCZYWnmAAKCRBLxSIcWnn9
GnMHAQCgGiMPFQXCD0QWFyi238npkSXpSleRUmrI9/TvDff9nAD/W4zeeogYECqo
mFiD9SUFoj9lT16cadN7PJ8R0G43OQY=
=hZfd
-----END PGP SIGNATURE-----

--Sig_/V50GjqAP2+X0ZNTGwc==kw2--




Information forwarded to guix-patches@HIDDEN:
bug#64651; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Jul 2023 14:29:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 15 10:29:25 2023
Received: from localhost ([127.0.0.1]:45715 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qKgGy-0007Ww-OD
	for submit <at> debbugs.gnu.org; Sat, 15 Jul 2023 10:29:24 -0400
Received: from lists.gnu.org ([2001:470:142::17]:36272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <koszko@HIDDEN>) id 1qKgGw-0007Wf-0m
 for submit <at> debbugs.gnu.org; Sat, 15 Jul 2023 10:29:22 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <koszko@HIDDEN>) id 1qKgGp-0008Rq-Lr
 for guix-patches@HIDDEN; Sat, 15 Jul 2023 10:29:15 -0400
Received: from koszko.org ([93.95.227.159])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <koszko@HIDDEN>) id 1qKgGn-0007Mh-Nu
 for guix-patches@HIDDEN; Sat, 15 Jul 2023 10:29:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; 
 s=mail;
 h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:
 To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=Z7qTs99wy7oG/Lg7IBpQX0uwYcYVbLriSkSb54oe6fQ=; b=sjxzvmZVCL7D5G10rxCMfmkTAr
 Mmk3dcYRbrlv4COfRwILipnpp/ZTxzuMR0P1ZoHSO6n65ZOEbMmyTI72CwdUrj71V13KKOlMQ9LLN
 7m8e4DNwCauQ+IegqUtMpO5L8c85CXIZ7KqilNSzTqsOkERNWhtNJKukIWF+cxj2g5MbsrY5QJS5D
 72pCyPEcjuEdO+Wcgol0RV6wpyHu/6+xrtS2KurOP2zFvNwj1DF6UV8k/ugblJX/+pj9Vv1F/ifBA
 BfciYuOBsIwJIiOB/F85V6ng/yGgGn0xAEtFKIrWcazcDM2zSe5DQGSF91bP5sj/bdSck/NOisNK+
 wHSBzgDetdmyGP5vsbXJYkk+PrHRnNRlcwV0qJxd6o4d/i+JG7puGr3MLv5dGlbdTf6k0859AqAgt
 ZRGAehNBklnF+Sd/Cspb23vyfivI+47B3+rW8GXYG79iLlsa9Xgp4D8bnQQXIjvSzHje4nOlV/PgC
 kMAl2dZr0dLVmgOuwmwXyjMPoydSwjOgDldqUYHFnIhidMwI5INT19e4tgKRCe2Ur86NgRgy4fsz/
 8kfZCgxnrcO+UEzBsxFkg46ZVY2w7AmuHi+QDwfZCYM5VCbzTogUbEP6abL3ldCiagb4AysKn5WmN
 TOfRU0SMX/8jwswXETmZRaTHpG2itqyXBLQPMaE5s=;
Received: from [77.252.47.107] (helo=localhost.localdomain)
 by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <koszko@HIDDEN>)
 id 1qKgGl-0007V1-1X; Sat, 15 Jul 2023 16:29:11 +0200
From: Wojtek Kosior <koszko@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: pantalaimon: Fix media downloads.
Date: Sat, 15 Jul 2023 16:22:28 +0200
Message-ID: <be243101e647de1de29a6c892f75aecf83180155.1689430948.git.koszko@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@HIDDEN;
 helo=koszko.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Wojtek Kosior <koszko@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

* gnu/packages/matrix.scm (pantalaimon)[arguments]: Patch incorrect function
invokation that made downloads of attachments impossible
---
 gnu/packages/matrix.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 6107dfc979..60c5543e5f 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -259,6 +259,14 @@ (define-public pantalaimon
                 ;; Upgrading python-appdirs requires rebuilting 3000+ packages,
                 ;; when 1.4.4 is a simple maintenance fix from 1.4.3.
                 (("appdirs >= 1.4.4") "appdirs >= 1.4.3"))))
+          (add-after 'downgrade-appdirs-requirement 'bugfixes
+            (lambda _
+              (substitute* "pantalaimon/daemon.py"
+                ;; FIXME: Remove this once a pantalaimon version with this fix
+                ;; is officially released.
+                ;; https://github.com/matrix-org/pantalaimon/pull/152/commits/d71770ca94981afde8c9be6aaaca951f0685b64e
+                (("client.download\\(server_name, media_id, file_name\\)")
+                 "client.download(server_name=server_name, media_id=media_id, filename=file_name)"))))
           (add-after 'install 'install-doc
             (lambda _
               (with-directory-excursion "docs/man"

base-commit: 00ed2901f5171e4f9435641a91678217cae38030
-- 
2.41.0





Acknowledgement sent to Wojtek Kosior <koszko@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#64651; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.