auto-bilibili-recorder icon indicating copy to clipboard operation
auto-bilibili-recorder copied to clipboard

生成弹幕高能列表时报错

Open JIBING0913 opened this issue 2 years ago • 2 comments

/usr/local/lib/python3.8/dist-packages/danmaku_tools/danmaku_energy_map.py:24: DeprecationWarning: Please use convolve from the scipy.ndimage namespace, the scipy.ndimage.filters namespace is deprecated. from scipy.ndimage.filters import convolve Building prefix dict from the default dictionary ... Loading model from cache /tmp/jieba.cache Loading model cost 0.321 seconds. Prefix dict has been built successfully. Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/danmaku_tools/danmaku_energy_map.py", line 503, in wordcount_slices = gen_slice_wordcount(slices) File "/usr/local/lib/python3.8/dist-packages/danmaku_tools/danmaku_energy_map.py", line 91, in gen_slice_wordcount return [Counter(jieba.cut(" ".join(slice))) for slice in danmaku_slices] File "/usr/local/lib/python3.8/dist-packages/danmaku_tools/danmaku_energy_map.py", line 91, in return [Counter(jieba.cut(" ".join(slice))) for slice in danmaku_slices] TypeError: sequence item 0: expected str instance, NoneType found

JIBING0913 avatar Mar 15 '22 23:03 JIBING0913

弹幕 xml 发一下?看起来像是完全没有弹幕?会不会?

valkjsaaa avatar Mar 16 '22 00:03 valkjsaaa

danmu.xml.zip 这个是出错的弹幕文件,弹幕分析脚本只自动生成了SC列表。 我用之前版本的弹幕分析脚本可以正常解析,新版的就会报错。。。

JIBING0913 avatar Mar 16 '22 08:03 JIBING0913