Open viteski opened 1 year ago
I'm facing similar issue when I'm trying to use this with a tornado application. Getting below error.
<coroutine object main at 0x7fc2538df790>
sys:1: RuntimeWarning: coroutine 'main' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Hi, I am trying to use shiv to deploy an executable for an asyncio based app using poetry as the build tool and I am running into a coroutine not awaited error that I can't see where it stems from; can you point me in the right direction? is this something you have seen before?. I have the following project tree:
build.sh
main.py
app.py
Ultimately the error output after running build.sh is as follows: <coroutine object main at 0x7f62e17037d0> sys:1: RuntimeWarning: coroutine 'main' was never awaited RuntimeWarning: Enable tracemalloc to get the object allocation traceback
PS. I did import the tracemalloc and wired some functions into the app.py's main function and
__main__.py
but it failed with the same error and tracemalloc did not provide any output.Thank you so much.