'NoneType' object has no attribute 'shape'
Closed this issue · 0 comments
Exception in thread EDAutopilot:
Traceback (most recent call last):
File "C:\Users\reyny\AppData\Local\Programs\Python\Python37\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "D:\Загрузки\203Null-EDAutopilot\dev_tray.py", line 22, in run
autopilot(stop_action)
File "D:\Загрузки\203Null-EDAutopilot\dev_autopilot.py", line 1212, in autopilot
align()
File "D:\Загрузки\203Null-EDAutopilot\dev_autopilot.py", line 857, in align
crude_align()
File "D:\Загрузки\203Null-EDAutopilot\dev_autopilot.py", line 869, in crude_align
off = get_navpoint_offset()
File "D:\Загрузки\203Null-EDAutopilot\dev_autopilot.py", line 645, in get_navpoint_offset
navpoint_width, navpoint_height = navpoint_template.shape[::-1]
AttributeError: 'NoneType' object has no attribute 'shape'
Can't make it work, shows this error