
具体反馈错误为:
'NoneType' object is not subscriptable
[ WARN:0@1.080] global loadsave.cpp:248 cv::findDecoder imread_('C:\Users\Administrator\Desktop\下载.jpeg'): can't open/read file: check file path/integrity
Traceback (most recent call last):
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.14.38\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.14.38\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.14.38\python\lib\site-packages\xbot_interpreter.py", line 97, in <module>
main()
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.14.38\python\lib\site-packages\xbot_interpreter.py", line 57, in main
try:
File "C:\Users\Administrator\AppData\Local\ShadowBot\users\100526566163931137\apps\71d5ef4b-ef1c-4ff7-940b-66c3b58085c0\xbot_robot\process4.py", line 15, in main
], _block=("子流程2", 1, "证件照换底色"))
File "<string>", line 89, in wrapper
File "<string>", line 84, in wrapper
File "<string>", line 82, in run
File "C:\Users\Administrator\AppData\Local\ShadowBot\users\100526566163931137\apps\71d5ef4b-ef1c-4ff7-940b-66c3b58085c0\xbot_extensions\shadowbot_picture\process21.py", line 21, in main
}, _block=("证件照换底色", 1, "调用模块"))
File "<string>", line 89, in wrapper
File "<string>", line 84, in wrapper
File "<string>", line 37, in invoke_module
File "C:\Users\Administrator\AppData\Local\ShadowBot\users\100526566163931137\apps\71d5ef4b-ef1c-4ff7-940b-66c3b58085c0\xbot_extensions\shadowbot_picture\image_background.py", line 30, in main
sample = img[0][0]
TypeError: 'NoneType' object is not subscriptable