[ERROR
] An exception occurred in this state: Traceback (most recent call last):


 "C:\salt\bin\lib\site-packages\salt-3002.5-py3.7.egg\salt\state.py", line 2154, in call

*cdata["args"], **cdata["kwargs"]


 "C:\salt\bin\lib\site-packages\salt-3002.5-py3.7.egg\salt\loader.py", line 2106, in wrapper

return f(*args, **kwargs)


 "C:\salt\bin\lib\site-packages\salt-3002.5-py3.7.egg\salt\states\win_lgpo.py", line 538, in set_

adml_language=adml_language,


 "C:\salt\bin\lib\site-packages\salt-3002.5-py3.7.egg\salt\modules\win_lgpo.py", line 10172, in set_

registry_class=p_class,


 "C:\salt\bin\lib\site-packages\salt-3002.5-py3.7.egg\salt\modules\win_lgpo.py", line 7868, in _writeAdminTemplateRegPol


policy_data.admx_registry_classes[registry_class]["gpt_extension_guid"],


 "C:\salt\bin\lib\site-packages\salt-3002.5-py3.7.egg\salt\modules\win_lgpo.py", line 7235, in _write_regpol_data

gpt_ext_str = gpt_ini_data[gpt_ext_loc.start() : gpt_ext_loc.end()]
AttributeError: 'NoneType' object has no attribute 'start'

```Traceback (most recent call last):


 "/home/fc_dev/python/Actions/attackTitan.py", line 29, in main

self.Console.pullShell("/sdcard/screen.png", "screen.png")


 "/home/fc_dev/python/Tools/shell.py", line 29, in pullShell

self.device.Pull(remote)


 "/home/fc_dev/python/adb/adb_commands.py", line 303, in Pull

self.filesync_handler.Pull(conn, device_filename, dest_file, progress_callback)


 "/home/fc_dev/python/adb/filesync_protocol.py", line 94, in Pull

for cmd_id, _, data in cnxn.ReadUntil((b'DATA',), b'DONE'):


 "/home/fc_dev/python/adb/filesync_protocol.py", line 243, in ReadUntil

cmd_id, header, data = self.Read(expected_ids + finish_ids)


 "/home/fc_dev/python/adb/filesync_protocol.py", line 215, in Read

self._Flush()


 "/home/fc_dev/python/adb/filesync_protocol.py", line 255, in _Flush

self.adb.Write(self.send_buffer[:self.send_idx])
AttributeError: 'NoneType' object has no attribute 'Write'
