Skip to content

部分csv文件导出报告会有异常 #54

@myxiaoshen

Description

@myxiaoshen

报错如下,不知是否是csv文件兼容问题,已更改编码也是同样问题。
python .\main.py
2024-09-27 16:30:54,257 - root - INFO - 开始初始化数据
2024-09-27 16:30:54,257 - root - INFO - ---开始读取数据
2024-09-27 16:30:54,286 - root - INFO - ----漏洞种类总数:5
2024-09-27 16:30:54,286 - root - INFO - ----漏洞主机总数:1
2024-09-27 16:30:54,287 - root - INFO - ---开始翻译数据
2024-09-27 16:30:54,290 - root - INFO - ------翻译漏洞总数:3

Traceback (most recent call last):
h = Handle(args.docxtype, args.exceltype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\MC\work2\Microsoft Work\xunjian\NessusToReport-1.2\modle\handle.py", line 65, in init
func_translate_toolstranslate_tool.run()
File "D:\MC\work2\Microsoft Work\xunjian\NessusToReport-1.2\modle\common\translate\base.py", line 111, in run
for plugin_id, resinfo in cn_resinfos:
^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions