开源堡垒机Jumpserver全网独家视频教程系列第一部上线了!免费章节pan.baidu.com/s/1LQ3c323XpG0is1172REnVg 提取码wp0i 视频详细介绍点我


user_image
By  龙love慧2012    On   2019年4月20日 15:47

[root@limtest bin]# python main.py report_data Traceback (most recent call last): File "main.py", line 18, in <module> handler.ArgvHandler(sys.argv) File "/client/core/handler.py", line 15, in __init__ self.parse_args() File "/client/core/handler.py", line 24, in parse_args func() File "/client/core/handler.py", line 58, in report_data asset_data = info.collect() File "/client/core/info_collection.py", line 14, in collect info_data = func() File "/client/core/info_collection.py", line 23, in linux return collect() File "/client/plugins/collect_linux_info.py", line 36, in collect data.update(get_ram_info()) File "/client/plugins/collect_linux_info.py", line 126, in get_ram_info item_ram_size = round(v.split()[0]) TypeError: type str doesn't define __round__ method linux下运行报这个错误,怎么处理