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

Reply via email to