π Bug Description
File "C:...s\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\uvicorn\middleware\asgi2.py", line 14, in call
instance = self.app(scope)
^^^^^^^^^^^^^^^
TypeError: 'FastMCP' object is not callable
INFO: 127.0.0.1:62780 - "POST /api/v1/windows/find HTTP/1.1" 500 Internal Server Error
π Steps to Reproduce
- Installed from source
- python -m uvicorn pywinauto_mcp.main:app
- Invoke-RestMethod -Uri "http://localhost:8000/api/v1/windows/find" -Method Post -Body (@{title="Untitled - Notepad"; timeout=5} | ConvertTo-Json) -ContentType "application/json"
- Zonk :(
β
Expected Behavior
Should not generate 500 error but some response ?
β Actual Behavior
π Environment
- OS: [Windows 11]
- Python Version: 3.11.9
- PyWinAuto MCP Version: latest
- Installation Method: Source
π Logs/Screenshots
π§ Additional Context
will try to debug yet ,,,
π Bug Description
File "C:...s\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\uvicorn\middleware\asgi2.py", line 14, in call
instance = self.app(scope)
^^^^^^^^^^^^^^^
TypeError: 'FastMCP' object is not callable
INFO: 127.0.0.1:62780 - "POST /api/v1/windows/find HTTP/1.1" 500 Internal Server Error
π Steps to Reproduce
β Expected Behavior
Should not generate 500 error but some response ?
β Actual Behavior
π Environment
π Logs/Screenshots
π§ Additional Context
will try to debug yet ,,,