Traceback (most recent call last):


 "/code/fast-export/hg-fast-export.py", line 719, in <module>

plugins=plugins_dict))


 "/code/fast-export/hg-fast-export.py", line 535, in hg2git

if not verify_heads(ui,repo,heads_cache,force,branchesmap):


 "/code/fast-export/hg-fast-export.py", line 494, in verify_heads

b'\n%s (repo) != %s (cache)\n' % (b, b'<None>' if sha1 is None else sha1, c)
TypeError: %b requires bytes, or an object that implements __bytes__, not 'NoneType'

Traceback (most recent call last):


 "/usr/local/bin/ykdl", line 9, in <module>

load_entry_point('ykdl==1.5.0', 'console_scripts', 'ykdl')()


 "/usr/local/lib/python3.5/dist-packages/ykdl-1.5.0-py3.5.egg/cykdl/__main__.py", line 149, in main


 "/usr/local/lib/python3.5/dist-packages/ykdl-1.5.0-py3.5.egg/ykdl/extractor.py", line 24, in parser


 "/usr/local/lib/python3.5/dist-packages/ykdl-1.5.0-py3.5.egg/ykdl/extractors/douyu/live.py", line 38, in prepare
TypeError: Can't convert 'NoneType' object to str implicitly
