<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 4, 2022 at 7:38 AM John Hoyt <<a href="mailto:john.hoyt@gmail.com">john.hoyt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I've been getting the following error with ttvdb4.py on macOS.  I've checked, and all of the requests_cache dependencies appear to be installed.  Any guess could be causing the error?</div><br><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">/Applications/<a href="http://mythfrontend.app/Contents/Resources/share/mythtv/metadata/Television/ttvdb4.py" target="_blank">mythfrontend.app/Contents/Resources/share/mythtv/metadata/Television/ttvdb4.py</a> -l en -a US -D 76164 1 1<br>Traceback (most recent call last):<br>  File "/Applications/<a href="http://mythfrontend.app/Contents/Resources/share/mythtv/metadata/Television/ttvdb4.py" target="_blank">mythfrontend.app/Contents/Resources/share/mythtv/metadata/Television/ttvdb4.py</a>", line 284, in <module><br>    main()<br>  File "/Applications/<a href="http://mythfrontend.app/Contents/Resources/share/mythtv/metadata/Television/ttvdb4.py" target="_blank">mythfrontend.app/Contents/Resources/share/mythtv/metadata/Television/ttvdb4.py</a>", line 188, in main<br>    import requests_cache<br>  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests_cache/__init__.py", line 7, in <module><br>    from .backends import *<br>  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests_cache/backends/__init__.py", line 7, in <module><br>    from .base import KEY_FN, BaseCache, BaseStorage, DictStorage<br>  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests_cache/backends/base.py", line 21, in <module><br>    from ..serializers import init_serializer<br>  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests_cache/serializers/__init__.py", line 6, in <module><br>    from .preconf import (<br>  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests_cache/serializers/preconf.py", line 37, in <module><br>    base_stage = CattrStage()  #: Base stage for all serializer pipelines<br>  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests_cache/serializers/cattrs.py", line 32, in __init__<br>    self.converter = init_converter(factory)<br>  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests_cache/serializers/cattrs.py", line 48, in init_converter<br>    converter = factory(omit_if_default=True)<br>TypeError: Converter.__init__() got an unexpected keyword argument 'omit_if_default'<br><br></blockquote>Installed python dependencies<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>Build Dependencies:   py310-setuptools, py310-build, py310-installer, py310-poetry-core</div><div>Library Dependencies: py310-appdirs, py310-attrs, py310-cattrs, py310-requests, py310-url-normalize, py310-urllib3, python310</div></blockquote></div></blockquote><div><br></div><div>I did notice the following in the build logs - probably unrelated, but also worth noting that something will need to be update for newer versions of python in the mythtv build environment</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote">/Applications/Xcode.app/Contents/Developer/usr/bin/make -C bindings/python install INSTALL_ROOT=<br>/opt/local/bin/python3.10 setup.py install --skip-build --root="/" --prefix="/Users/jhoyt/mythtv-32/32-osx-64bit"<br>running install<br>/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.<br>  warnings.warn(<br>running install_lib<br>running install_egg_info<br>/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 32.0.-1 is an invalid version and will not be supported in a future release<br>  warnings.warn(<br><div> </div></div></blockquote></div>