Package Details: tvnamer 2.4-2

Git Clone URL: https://aur.archlinux.org/tvnamer.git (read-only, click to copy)
Package Base: tvnamer
Description: Automatic TV episode file renamer
Upstream URL: https://github.com/dbr/tvnamer
Licenses: Public Domain
Submitter: gim
Maintainer: cockroach
Last Packager: cockroach
Votes: 7
Popularity: 0.123672
First Submitted: 2015-08-30 14:43
Last Updated: 2019-09-09 21:31

Dependencies (3)

Required by (0)

Sources (1)

Pinned Comments

gim commented on 2018-04-03 09:58

@magz @ritze Install python2-requests-cache + python2-requests packages or python-requests-cache + python-requests manually, it should be specified as dependency for tvdb_api (https://aur.archlinux.org/packages/tvdb_api/) but it isn't.

Latest Comments

cockroach commented on 2020-03-19 10:15

@mijari, I'm not sure where that comes from. The PKGBUILD does not declare a pkgbase.

mijari commented on 2020-03-19 03:30

Getting an error when installing the package: ==> ERROR: pkgbase should not be an array

sweetthdevil commented on 2018-10-30 20:29

Hello, I have the following issues - installed both python2-requests-cache + python2-requests packages and python-requests-cache + python-requests via yaourt but still erros showing.

Starting tvnamer
Found 1 episode

Traceback (most recent call last): File "/usr/bin/tvnamer", line 11, in <module> load_entry_point('tvnamer==2.4', 'console_scripts', 'tvnamer')() File "/usr/lib/python2.7/site-packages/tvnamer/main.py", line 436, in main tvnamer(paths = sorted(args)) File "/usr/lib/python2.7/site-packages/tvnamer/main.py", line 338, in tvnamer cache=cache, File "/usr/lib/python2.7/site-packages/tvdb_api.py", line 726, in init self.session.remove_expired_responses() File "/usr/lib/python2.7/site-packages/requests_cache/core.py", line 159, in remove_expired_responses self.cache.remove_old_entries(datetime.utcnow() - self._cache_expire_after) File "/usr/lib/python2.7/site-packages/requests_cache/backends/base.py", line 110, in remove_old_entries response, created_at = self.responses[key] File "/usr/lib/python2.7/site-packages/requests_cache/backends/storage/dbdict.py", line 163, in getitem return pickle.loads(bytes(super(DbPickleDict, self).getitem(key))) ImportError: No module named ordered_dict

ritze commented on 2018-04-06 22:01

@gim That's it. Thank you.

gim commented on 2018-04-03 09:58

@magz @ritze Install python2-requests-cache + python2-requests packages or python-requests-cache + python-requests manually, it should be specified as dependency for tvdb_api (https://aur.archlinux.org/packages/tvdb_api/) but it isn't.

magz commented on 2018-04-03 09:55

I get the same error as ritze.

ritze commented on 2018-04-01 08:24

Since the last update tvnamer crashes:

Traceback (most recent call last): File "/usr/bin/tvnamer", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 3088, in <module> @_call_aside File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 3072, in _call_aside f(args, *kwargs) File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 3101, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 574, in _build_master ws.require(requires) File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 892, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 778, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'requests' distribution was not found and is required by tvdb-api</module></module>

tehabe commented on 2016-09-28 10:22

python2-setuptools seems to be a general dependency for tvnamer, I removed it the other day because it wasn't required by anything. After that tvnamer quit with an error message, that pkg_resources was missing.

zenlord commented on 2015-12-13 20:57

Doesn't work for me:
Traceback (most recent call last):
File "/usr/bin/tvnamer", line 9, in <module>
load_entry_point('tvnamer==2.3', 'console_scripts', 'tvnamer')()
File "/usr/lib/python2.7/site-packages/tvnamer/main.py", line 418, in main
tvnamer(paths = sorted(args))
File "/usr/lib/python2.7/site-packages/tvnamer/main.py", line 325, in tvnamer
processFile(tvdb_instance, episode)
File "/usr/lib/python2.7/site-packages/tvnamer/main.py", line 196, in processFile
newName = episode.generateFilename()
File "/usr/lib/python2.7/site-packages/tvnamer/utils.py", line 764, in generateFilename
fname = Config[self.CFG_KEY_WITH_EP] % epdata
TypeError: %d format: a number is required, not unicode

I rebuilt the package, including the dependencies, but no dice.