https://bz.mercurial-scm.org/show_bug.cgi?id=6592
Bug ID: 6592 Summary: compression.py requires bytes-like object not 'NoneType' Product: Mercurial Version: stable branch Hardware: PC OS: Linux Status: UNCONFIRMED Severity: bug Priority: wish Component: Mercurial Assignee: bugzi...@mercurial-scm.org Reporter: jjhh.spam.t...@gmail.com CC: mercurial-devel@mercurial-scm.org Python Version: --- hg won't run at all. Manjaro Linux (hg same as Arch I think) https://archlinux.org/packages/extra/x86_64/mercurial/ hg version 5.9.1 Updated a few days ago, and this is the first time I tried to use hg since that update. It's hard to believe this bug is in hg, as no-one else has reported it. Below is the traceback from simply running "hg --help". [jh@SSD2 210918 15:23:26 zp0]$ ll /usr/bin/hg -rwxr-xr-x 1 root root 1838 210901_224459.000 /usr/bin/hg* [jh@SSD2 210918 15:23:38 zp0]$ hg --help Traceback (most recent call last): File "/usr/bin/hg", line 61, in <module> dispatch.run() File "/usr/lib/python3.9/importlib/util.py", line 245, in __getattribute__ self.__spec__.loader.exec_module(self) File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/python3.9/site-packages/mercurial/dispatch.py", line 761, in <module> class lazyaliasentry(object): File "/usr/lib/python3.9/site-packages/mercurial/dispatch.py", line 772, in lazyaliasentry @util.propertycache File "/usr/lib/python3.9/importlib/util.py", line 245, in __getattribute__ self.__spec__.loader.exec_module(self) File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/python3.9/site-packages/mercurial/util.py", line 158, in <module> compengines = compression.compengines File "/usr/lib/python3.9/importlib/util.py", line 245, in __getattribute__ self.__spec__.loader.exec_module(self) File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/python3.9/site-packages/mercurial/utils/compression.py", line 812, in <module> i18nfunctions = bundlecompressiontopics().values() File "/usr/lib/python3.9/site-packages/mercurial/utils/compression.py", line 800, in bundlecompressiontopics doc = b'``%s``\n %s' % (bt[0], pycompat.getdoc(engine.bundletype)) TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'NoneType' -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel