🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
1 messages
1 total messages Started by Debian Bug Tracking System Tue, 20 Oct 2026 04:30
Bug#1084947: marked as done (tvnamer: Crash with "'CachedSession' object has no attribute 'remove_expired_responses'")
#1056
Author: Debian Bug Tracking System
Date: Tue, 20 Oct 2026 04:30
349 lines
16711 bytes
This is a multi-part message in MIME format...

------------=_1792470061-507522-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Tue, 20 Oct 2026 04:19:38 +0000
with message-id <E1xJ1K6-00000005AQm-1Y83@fasolo.debian.org>
and subject line Bug#1084947: fixed in tvdb-api 3.1-5
has caused the Debian Bug report #1084947,
regarding tvnamer: Crash with "'CachedSession' object has no attribute 'rem=
ove_expired_responses'"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1084947: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1084947
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1792470061-507522-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 11 Oct 2024 15:13:27 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.1 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
	DKIM_VALID_EF,FOURLA,HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS,
	UNPARSEABLE_RELAY,XMAILER_REPORTBUG autolearn=ham autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 36; hammy, 150; neutral, 125; spammy,
	0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
	0.000-+--H*r:DragonFly, 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug
Return-path: <cweiske+bugs.debian.org@cweiske.de>
Received: from mail.cweiske.de ([178.254.13.17]:55234)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <cweiske+bugs.debian.org@cweiske.de>)
	id 1szHKZ-009ZBU-IR
	for submit@bugs.debian.org; Fri, 11 Oct 2024 15:13:27 +0000
Received: from boo.home.cweiske.de (unknown [212.99.194.56])
	by mail.cweiske.de (Postfix) with ESMTPSA id 80D7D2C0AE5A
	for <submit@bugs.debian.org>; Fri, 11 Oct 2024 17:07:37 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cweiske.de; s=2023;
	t=1728659257;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=Sq7RBOSUMpsQ5nJ4B0Q59RU8Jxf28Q9b2tAmoouBLho=;
	b=KDVzKn1vPykdbeSIy/k/75Ta4HwEsB2dLZUVcrJBagsHV9KqAINYYMnSjehvn5EWs91meu
	s8lKHZQiJFz8PenictVQ8uCzYlqWcueG+/27rdExv8Of88NIp+U3zQuuGfaeGbzQAps/ek
	8LyN9ft53l5qjj83Y0uIe5/IziW0uTxqROtLs3HpYQt3REvuttqREpKJg4Ybhil3z1Tzcy
	qjCewKgV4ifTkNEPdQu1gFWuipPwWYuX7ZSeVuLJmsQfiY1NI59EAvqwyatDGQilRg0YpH
	gVLDP9xrwdPBCc4zyDy9xx/q189DvcrfPe2Q5jtpNCTV9r2h0ENAfABJBLUVSQ==
Authentication-Results: mail.cweiske.de;
	auth=pass smtp.auth=boo.home.cweiske.de@cweiske.de smtp.mailfrom=cweiske+bugs.debian.org@cweiske.de
Received: from cweiske (uid 1000)
	(envelope-from cweiske+bugs.debian.org@cweiske.de)
	id 11f8ee
	by boo.home.cweiske.de (DragonFly Mail Agent v0.13);
	Fri, 11 Oct 2024 17:07:36 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Christian Weiske <cweiske+bugs.debian.org@cweiske.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tvnamer: Crash with "'CachedSession' object has no attribute 'remove_expired_responses'"
Message-ID: <172865925662.137270.15784438314552547433.reportbug@boo.home.cweiske.de>
X-Mailer: reportbug 13.0.1
Date: Fri, 11 Oct 2024 17:07:36 +0200
X-Greylist: delayed 343 seconds by postgrey-1.36 at buxtehude; Fri, 11 Oct 2024 15:13:25 UTC
Delivered-To: submit@bugs.debian.org

Package: tvnamer
Version: 3.0.4-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

When using tvnamer to rename files, I get an error:

$ python3 -m tvnamer.main --dry-run ~/Videos/download/file.mp4
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/cweiske/dev/tools/tvnamer/tvnamer/main.py", line 550, in <module>
    main()
  File "/home/cweiske/dev/tools/tvnamer/tvnamer/main.py", line 540, in main
    tvnamer(paths=sorted(args))
  File "/home/cweiske/dev/tools/tvnamer/tvnamer/main.py", line 424, in tvnamer
    tvdb_instance = tvdb_api.Tvdb(
                    ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/tvdb_api.py", line 703, in __init__
    self.session.remove_expired_responses()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'CachedSession' object has no attribute 'remove_expired_responses'


This error is caused because python3-tvdb-api 3.1-4 uses the API method which
has been removed in python3-requests-cache 1.2.0, and Debian ships 1.2.1-1.

For the version info see
https://aur.archlinux.org/packages/plover_plugins_manager#comment-988008

I reported this bug upstream at
https://github.com/dbr/tvdb_api/issues/107

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (200, 'experimental'), (200, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.9.10-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tvnamer depends on:
ii  python3                3.12.5-1+b1
ii  python3-pkg-resources  74.1.2-2
ii  python3-tvdb-api       3.1-4

tvnamer recommends no packages.

tvnamer suggests no packages.

-- no debconf information

------------=_1792470061-507522-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1084947-close) by bugs.debian.org; 20 Oct 2026 04:19:41 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-113.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,
	MD5_SHA1_SUM,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 101; hammy, 150; neutral, 212; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:54648)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xJ1KA-0027sp-0N
	for 1084947-close@bugs.debian.org;
	Tue, 20 Oct 2026 04:19:41 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xJ1K7-000pFJ-1n
	for 1084947-close@bugs.debian.org;
	Tue, 20 Oct 2026 04:19:39 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=HRjaty+8i8UdqHciM1qgBS34ldWUheLiVhySGwPPLWs=; b=ElCkAUbHDGIDJI5M8+e+2NENlt
	3645uHIpkEliF/t//a+lTtwOG2i9EtegbIZK4D0U4RzcwfqXQIU+JPvl0rc3c9H/MwAHudhR0McEL
	O8/YfCxnYrAUYGpTch+8X+bMHH7hvvEiUuxSTwvvwpzFxrboNrZ5pl465lMP2WUVimgxDaPRFM1K+
	73Fmexr4chw432R8Xged4m4DVkWxQ+c4P5DFUHfDbAJJBduB0DsaI0l2P+N/qLGFTwuQp53bpP9bt
	bPlkUsrBg4MljssCK4Nb/vD+hpI5awJ2djUdluWoBDb9HZ87PEnNKxN/Cfe0gXcB6JiSglFCBrSxx
	/lE0q0gg==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xJ1K6-00000005AQm-1Y83;
	Tue, 20 Oct 2026 04:19:38 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Sandro Tosi <morph@debian.org>
To: 1084947-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: tvdb-api
Debian: DAK
Debian-Changes: tvdb-api_3.1-5_source.changes
Debian-Source: tvdb-api
Debian-Version: 3.1-5
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1084947: fixed in tvdb-api 3.1-5
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============1172048045291047931=="
Message-Id: <E1xJ1K6-00000005AQm-1Y83@fasolo.debian.org>
Date: Tue, 20 Oct 2026 04:19:38 +0000

--===============1172048045291047931==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: tvdb-api
Source-Version: 3.1-5
Done: Sandro Tosi <morph@debian.org>

We believe that the bug you reported is fixed in the latest version of
tvdb-api, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1084947@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <morph@debian.org> (supplier of updated tvdb-api package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 20 Oct 2026 00:00:56 -0400
Source: tvdb-api
Architecture: source
Version: 3.1-5
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <morph@debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Closes: 1084947
Changes:
 tvdb-api (3.1-5) unstable; urgency=3Dmedium
 .
   * debian/patches/requests-cache-1.2.patch
     - port to requests-cache 1.x, which removed remove_expired_responses(),
       has_key() and the cache attributes create_key() used; Closes: #1084947
   * debian/patches/tests-recorded-cache.patch
     - load the recorded TheTVDB responses with requests-cache 1.x, so tests
       run offline again
   * debian/patches/PR97.patch
     - add Origin and Applied-Upstream headers, it's merged upstream
   * debian/patches/PR105.patch
     - add Forwarded and Bug-Debian headers
   * debian/control
     - bump debhelper compat to 14; add dh-sequence-python3 and
       dh-sequence-single-binary to b-d, replacing dh-python
     - b-d on python3-all instead of python3
     - add pybuild-plugin-pyproject to b-d
     - add pytest-env to b-d, needed by tests
     - enable Testsuite: autopkgtest-pkg-pybuild
     - version requests-cache in Depends to >=3D 1.0, needed by
       requests-cache-1.2.patch
     - drop requests and the substvars from Depends, now generated and applied
       automatically
     - drop Priority, optional is now the default
     - extend the long description
     - bump Standards-Version to 4.7.4.1 (no further changes needed)
   * debian/rules
     - run tests at build time again, they no longer need network access
     - drop --with python3, replaced by dh-sequence-python3
     - export PYBUILD_NAME
     - build with the pyproject plugin, instead of the deprecated setup.py
       install
     - drop override_dh_auto_install, dh_auto_install already installs the
       module; it installed it a second time and removed the metadata, which
       dh_python3 now uses to generate Depends
     - drop override_dh_clean, pybuild already removes the egg-info
   * debian/pybuild.testfiles
     - remove, pybuild copies pytest.ini and tests by default
   * debian/watch
     - switch to version 5, using the GitHub template
   * debian/upstream/metadata
     - add Changelog
   * debian/copyright
     - extend packaging copyright years
Checksums-Sha1:
 5fb0f165054983cf14c9e90f89d7bfa2f7ac030e 2114 tvdb-api_3.1-5.dsc
 eb52476fe246a9204ad451ad10118c416f98afaf 7020 tvdb-api_3.1-5.debian.tar.xz
 026ee28db1737c42180b20422293093d513414b3 8966 tvdb-api_3.1-5_source.buildinfo
Checksums-Sha256:
 b01656e364c3bf924f8a83ecd853c40f12cbc0d69157ea6157c8039314495a3f 2114 tvdb-a=
pi_3.1-5.dsc
 fae76e40b7ff722d5d98cf2aab07417c66607ea2c4fb2db4f2be2c7282929e97 7020 tvdb-a=
pi_3.1-5.debian.tar.xz
 d78ec256010004866806b6052c0c3c6cb051c6b093f94ed65b8daf22ebbc77a4 8966 tvdb-a=
pi_3.1-5_source.buildinfo
Files:
 e5b6c2317e7b772d78de2ecba38deab8 2114 python optional tvdb-api_3.1-5.dsc
 9fc7c397e93e040e46a7ba564401dc92 7020 python optional tvdb-api_3.1-5.debian.=
tar.xz
 fc8032fca24ff0bb1963ca6fc363888b 8966 python optional tvdb-api_3.1-5_source.=
buildinfo

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

iQIzBAEBCgAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmrW54MACgkQh588mTgB
qU/V/g//WBC1QNnZW5dswanF/Hi25da4j2ucgv4lPRqr0oljuSv+z2KZJQQ3Mp3I
ZP+41NSVh0xlvULQQ0zUo0KNCQK60ZBmyLQJ6d0z9tGWLYLt79Igx88TxOl6Njdf
0RxsKUx54NxXBooYCoyu3ijmzKNYji1nX8eOc+ECCCTbrBuH5fCF71gK8W06HMXc
K6+JiLyTRmrCsmF1vgKHJORczGuHvQZw5Unyp1ySh3WUc3G4c/hmj6UWYcDHoqfQ
K1K7wbtNyJHvkWJmewyXeurIdSEyrju0PrjvdBD7ERJc4uhIcjKYaXtGiMoF/fsB
R5UuQmgcln9nXeWEKuF82xV8GYOKxcoZ1NkaZcQcxuYCQGzeFmCbBxLhVott09an
SFrpM4JYyaMfU6vCWXzF0b3qyg+yso7yK9hYyyu7Blt/HFD1DPUY6z/VzzakIyRy
RU5dhf4dERDhHNrVxwhRbMJbVwKPFBPZIIWpxSbvO4cxcPlC0yqD5zzkVnQwhfzR
A+vRpeJMchJz4tEucvUHB1DOYe2EY9Ryzhes9AZiql/W9WmHMIGGVLxp/hJWLdDi
2MpAr5hdql/H0k2VIXHRJg8w3tsTXO2RjGUUDSlk9mDE7u+YmI3oD0nVGhSefgUP
ThRuJV6MWumPftQZUT98bpNsiS7D2Fz3pb8HeAVZZiq4PUoUEUg=3D
=3D8d08
-----END PGP SIGNATURE-----


--===============1172048045291047931==
Content-Type: application/pgp-signature

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

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCatbr2gAKCRCb9qggYcy5
ITUpAQCQNpg3UbkAaBRmePqiZr20tcq/Jj2Bzt/PEQAPpKeZhAD7BriGEe5UrRNC
e1XT95yQg8hbbO6hMHWHkWlwXfw7sAA=
=Wl/K
-----END PGP SIGNATURE-----

--===============1172048045291047931==--
------------=_1792470061-507522-0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads