Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "d:\Devel\python\lib\site-packages\pywinauto\__init__.py", line 89, in <module>

from . import findwindows


 "d:\Devel\python\lib\site-packages\pywinauto\findwindows.py", line 42, in <module>

from . import controls


 "d:\Devel\python\lib\site-packages\pywinauto\controls\__init__.py", line 36, in <module>

from . import uiawrapper # register "uia" back-end (at the end of uiawrapper module)


 "d:\Devel\python\lib\site-packages\pywinauto\controls\uiawrapper.py", line 47, in <module>

from ..uia_defines import IUIA


 "d:\Devel\python\lib\site-packages\pywinauto\uia_defines.py", line 181, in <module>

pattern_ids = _build_pattern_ids_dic()


 "d:\Devel\python\lib\site-packages\pywinauto\uia_defines.py", line 169, in _build_pattern_ids_dic

if hasattr(IUIA().ui_automation_client, cls_name):


 "d:\Devel\python\lib\site-packages\pywinauto\uia_defines.py", line 50, in __call__

cls._instances[cls] = super(_Singleton, cls).__call__(*args, **kwargs)


 "d:\Devel\python\lib\site-packages\pywinauto\uia_defines.py", line 60, in __init__

self.UIA_dll = comtypes.client.GetModule('UIAutomationCore.dll')


 "d:\Devel\python\lib\site-packages\comtypes\client\_generate.py", line 110, in GetModule

mod = _CreateWrapper(tlib, pathname)


 "d:\Devel\python\lib\site-packages\comtypes\client\_generate.py", line 184, in _CreateWrapper

mod = _my_import(fullname)


 "d:\Devel\python\lib\site-packages\comtypes\client\_generate.py", line 24, in _my_import

return __import__(fullname, globals(), locals(), ['DUMMY'])


 "d:\Devel\python\lib\site-packages\comtypes\gen\_944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0.py", line 1870, in <module>

( ['out', 'retval'], POINTER(POINTER(IUIAutomationElement)), 'element' )),


 "d:\Devel\python\lib\site-packages\comtypes\__init__.py", line 329, in __setattr__

self._make_methods(value)


 "d:\Devel\python\lib\site-packages\comtypes\__init__.py", line 698, in _make_methods

prototype = WINFUNCTYPE(restype, *argtypes)


 "d:\Devel\python\lib\ctypes\__init__.py", line 123, in WINFUNCTYPE

class WinFunctionType(_CFuncPtr):
TypeError: item 2 in _argtypes_ passes a union by value, which is unsupported.

Traceback (most recent call last):


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/sanic/app.py", line 942, in handle_request

response = await response


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/channels/callback.py", line 77, in webhook

UserMessage(text, collector, sender_id, input_channel=self.name())


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/channels/channel.py", line 83, in handler

await app.agent.handle_message(*args, **kwargs)


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/agent.py", line 486, in handle_message

return await processor.handle_message(message)


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/processor.py", line 103, in handle_message

await self._predict_and_execute_next_action(message, tracker)


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/processor.py", line 467, in _predict_and_execute_next_action

action, tracker, message.output_channel, self.nlg, policy, confidence


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/processor.py", line 585, in _run_action

await self._send_bot_messages(events, tracker, output_channel)


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/processor.py", line 507, in _send_bot_messages

await output_channel.send_response(tracker.sender_id, e.message())


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/channels/channel.py", line 186, in send_response

await self.send_text_message(recipient_id, message.pop("text"), **message)


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/channels/channel.py", line 328, in send_text_message

await self._persist_message(self._message(recipient_id, text=message_part))


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/channels/callback.py", line 34, in _persist_message

"post", content_type="application/json", json=message


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/utils/endpoints.py", line 146, in request

**kwargs,


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/client.py", line 1012, in __aenter__

self._resp = await self._coro


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/client.py", line 483, in _request

timeout=real_timeout


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 523, in connect

proto = await self._create_connection(req, traces, timeout)


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 859, in _create_connection

req, traces, timeout)


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 1004, in _create_direct_connection

raise last_exc


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 986, in _create_direct_connection

req=req, client_error=client_error)


 "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 943, in _wrap_create_connection

raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:5034 ssl:default [Connection refused]
