Re: how to fix TypeError: expected string or bytes-like object ?

2022-10-05 Thread Felix Yan
hub.com/pypa/setuptools/issues/3273 I have tried to make an empty .dist-info dir and got the very similar result to yours. The following command may help to locate the actual offending package: strace -eopenat python -c "from importlib.metadata import entry_points; print(entry_points(group='sphinx.builders'))" -- Regards, Felix Yan OpenPGP_signature Description: OpenPGP digital signature

Re: how to fix TypeError: expected string or bytes-like object ?

2022-10-05 Thread Felix Yan
;-', '_') File "/usr/lib/python3.10/re.py", line 209, in sub return _compile(pattern, flags).sub(repl, string, count) TypeError: expected string or bytes-like object ``` Looks like this: https://github.com/sphinx-doc/sphinx/issues/10339 Are you using the rinohtype extension too? -- Regards, Felix Yan OpenPGP_signature Description: OpenPGP digital signature