mat2-0.13.1:Traceback......TypeError......
mat2-0.13.1 unusable. I do not understand the following output at all.
Traceback (most recent call last):
File "/usr/local/bin/mat2", line 4, in <module>
__import__('pkg_resources').run_script('mat2==0.13.1', 'mat2')
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 650, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1446, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python3.8/site-packages/mat2-0.13.1-py3.8.egg/EGG-INFO/scripts/mat2", line 13, in <module>
from libmat2 import parser_factory, UNSUPPORTED_EXTENSIONS
File "/usr/local/lib/python3.8/site-packages/mat2-0.13.1-py3.8.egg/libmat2/__init__.py", line 7, in <module>
from . import exiftool, video
File "/usr/local/lib/python3.8/site-packages/mat2-0.13.1-py3.8.egg/libmat2/exiftool.py", line 9, in <module>
from . import abstract
File "/usr/local/lib/python3.8/site-packages/mat2-0.13.1-py3.8.egg/libmat2/abstract.py", line 7, in <module>
class AbstractParser(abc.ABC):
File "/usr/local/lib/python3.8/site-packages/mat2-0.13.1-py3.8.egg/libmat2/abstract.py", line 36, in AbstractParser
def get_meta(self) -> dict[str, Union[str, dict]]:
TypeError: 'type' object is not subscriptable
Edited by jvoisin