https://prefect.io logo
d

Derick

07/12/2023, 1:36 PM
PS C:\Users\derick.arel\PycharmProjects\prefect_environment> prefect deploy Traceback (most recent call last): File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\cli\_utilities.py", line 41, in wrapper return fn(*args, **kwargs) File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\utilities\asyncutils.py", line 255, in coroutine_wrapper return call() File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\_internal\concurrency\calls.py", line 383, in call return self.result() File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\_internal\concurrency\calls.py", line 283, in result return self.future.result(timeout=timeout) File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\_internal\concurrency\calls.py", line 169, in result return self.__get_result() File "C:\Users\derick.arel\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 390, in __get_result raise self._exception File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\_internal\concurrency\calls.py", line 346, in _run_async result = await coro File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\cli\deploy.py", line 251, in deploy await _run_single_deploy( File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\client\utilities.py", line 51, in with_injected_client return await fn(*args, **kwargs) File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\cli\deploy.py", line 314, in _run_single_deploy deploy_config["entrypoint"] = await prompt_entrypoint(app.console) File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\cli\_prompts.py", line 594, in prompt_entrypoint discovered_flows = await _search_for_flow_functions() File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\deployments\base.py", line 554, in _search_for_flow_functions return [fn for file_fns in await asyncio.gather(*coros) for fn in file_fns] File "c:\users\derick.arel\pycharmprojects\prefect_course_environment_course\prefect_environment\lib\site-packages\prefect\deployments\base.py", line 470, in _find_flow_functions_in_file async with OPEN_FILE_SEMAPHORE: File "C:\Users\derick.arel\AppData\Local\Programs\Python\Python39\lib\asyncio\locks.py", line 14, in aenter await self.acquire() File "C:\Users\derick.arel\AppData\Local\Programs\Python\Python39\lib\asyncio\locks.py", line 413, in acquire await fut RuntimeError: Task <Task pending name='Task-259' coro=<_find_flow_functions_in_file() running at c\users\derick.arel\pycharmprojects\prefect course environment course\prefect environment\lib\site packages\prefect\deployments\base.py470> cb=[gather.<locals>._done_callback() at C\Users\derick.arel\AppData\Local\Programs\Python\Python39\lib\asyncio\tasks.py764]> got Future <Future pending> attached to a different loop An exception occurred.
👀 1
Thanks @Christopher Boyd!
1