Traceback (most recent call last):


 "_ctypes/callbacks.c", line 232, in 'calling callback function'


 "C:\Python37\lib\site-packages\pywinauto\win32_element_info.py", line 138, in enum_window_proc

if control_type is not None and control_type != element.control_type:


 "C:\Python37\lib\site-packages\pywinauto\win32_element_info.py", line 235, in control_type

return self.__get_control_type(full=False)


 "C:\Python37\lib\site-packages\pywinauto\win32_element_info.py", line 216, in __get_control_type

remote_mem = RemoteMemoryBlock(self, size=length*2)


 "C:\Python37\lib\site-packages\pywinauto\remote_memory_block.py", line 105, in __init__

if hex(self.mem_address) == '0xffffffff80000000' or hex(self.mem_address).upper() == '0xFFFFFFFF00000000':
TypeError: 'NoneType' object cannot be interpreted as an integer

Traceback (most recent call last):


 "...\lib\runpy.py", line 194, in _run_module_as_main

return _run_code(code, main_globals, None,


 "...\lib\runpy.py", line 87, in _run_code

exec(code, run_globals)


 "...\lib\site-packages\spacy\__main__.py", line 4, in <module>

setup_cli()


 "...\lib\site-packages\spacy\cli\_util.py", line 65, in setup_cli

command(prog_name=COMMAND)


 "...\lib\site-packages\click\core.py", line 829, in __call__

return self.main(*args, **kwargs)


 "...\lib\site-packages\click\core.py", line 782, in main

rv = self.invoke(ctx)


 "...\lib\site-packages\click\core.py", line 1259, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "...\lib\site-packages\click\core.py", line 1066, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "...\lib\site-packages\click\core.py", line 610, in invoke

return callback(*args, **kwargs)


 "...\lib\site-packages\typer\main.py", line 497, in wrapper

return callback(**use_params)
# type: ignore


 "...\lib\site-packages\spacy\cli\train.py", line 56, in train_cli

nlp = init_nlp(config, use_gpu=use_gpu)


 "...\lib\site-packages\spacy\training\initialize.py", line 51, in init_nlp

nlp.initialize(lambda: train_corpus(nlp), sgd=optimizer)


 "...\lib\site-packages\spacy\language.py", line 1232, in initialize

proc.initialize(get_examples, nlp=self, **p_settings)


 "...\lib\site-packages\spacy\pipeline\textcat.py", line 326, in initialize

validate_get_examples(get_examples, "TextCategorizer.initialize")


 "spacy\training\example.pyx", line 62, in spacy.training.example.validate_get_examples


 "spacy\training\example.pyx", line 41, in spacy.training.example.validate_examples


 "...\lib\site-packages\spacy\training\corpus.py", line 131, in __call__

for real_eg in examples:


 "...\lib\site-packages\spacy\training\corpus.py", line 153, in make_examples

for reference in reference_docs:


 "...\lib\site-packages\spacy\training\corpus.py", line 188, in read_docbin

for doc in docs:


 "...\lib\site-packages\spacy\tokens\_serialize.py", line 135, in get_docs

doc.user_data.update(user_data)
TypeError: 'NoneType' object is not iterable
