Package Details: python-pycaption 2.2.12-1

Git Clone URL: https://aur.archlinux.org/python-pycaption.git (read-only, click to copy)
Package Base: python-pycaption
Description: Python module to read/write popular video caption formats
Upstream URL: https://github.com/pbs/pycaption
Licenses: Apache
Submitter: bitwave
Maintainer: Vekhir
Last Packager: Vekhir
Votes: 0
Popularity: 0.000000
First Submitted: 2018-05-06 13:14 (UTC)
Last Updated: 2024-09-07 08:04 (UTC)

Pinned Comments

Latest Comments

lmartinez-mirror commented on 2022-02-21 15:17 (UTC)

@bartus Please update your python-installer, it received an update recently with a CLI module. I built this in a clean chroot, so there should be no reason why it fails to build.

bartus commented on 2022-02-21 10:21 (UTC) (edited on 2022-02-21 10:21 (UTC) by bartus)

Fails in package()

/usr/bin/python: No module named installer.__main__; 'installer' is a package and cannot be directly executed

nikonaum commented on 2021-12-30 22:16 (UTC)

collections.Callable is deprecated since python 3.3. n python 3.10 is completely removed. I build the package manually by downloading the PKGBUILD file and adding the following line in the prepare() section:

sed -i 's/collections.Callable/collections.abc.Callable/g' pycaption/scc/specialized_collections.py

simona commented on 2021-12-25 15:57 (UTC)

upgrade to newest "python-beautifulsoup4 (4.10.0-1)" ?

cyberpunkrocker commented on 2021-12-18 15:19 (UTC)

Same test_scc.py error here...

McGinks commented on 2021-12-17 05:58 (UTC)

I'm getting the same build error as simona: ERROR tests/test_scc.py::TestSCCReader::test_reader_only_supports_unicode_input

simona commented on 2021-12-16 17:52 (UTC)

reinstalled with yay -S (I already had it) and now it give:
ERROR tests/test_scc.py::TestSCCReader::test_reader_only_supports_unicode_input - AttributeError: module 'collections' h...

lmartinez-mirror commented on 2021-12-16 15:17 (UTC)

I believe you're missing python-cssutils; it's in the AUR.

simona commented on 2021-12-16 14:06 (UTC)

ImportError while importing test module '/home/simona/.cache/yay/python-pycaption/src/pycaption-2.0.3/tests/test_base.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_base.py:3: in <module>
from pycaption.base import CaptionList, Caption pycaption/init.py:6: in <module> from .sami import SAMIReader, SAMIWriter pycaption/sami.py:47: in <module> from cssutils import parseString, log, css as cssutils_css
E ModuleNotFoundError: No module named 'cssutils'