Sander
06/28/2023, 12:10 PMTon Steijvers
06/28/2023, 12:14 PMState data is missing. Typically, this occurs when result persistence is disabled and the state has been retrieved from the API.
. Result persistence is indeed disabled, but I do not understand what/why "state" would be retrieved from the API. My flow returns the result of a run_deployment call (with an await).Gregory Hunt
06/28/2023, 1:18 PMBrennan Tolman
06/28/2023, 4:43 PMIgor Morgunov
06/28/2023, 4:57 PMCharles Leung
06/28/2023, 5:36 PM--- Logging error ---
Traceback (most recent call last):
File "\\v-tm-qeq-05\Prefect\lib\logging\handlers.py", line 70, in emit
self.doRollover()
File "\\v-tm-qeq-05\Prefect\lib\logging\handlers.py", line 171, in doRollover
self.rotate(self.baseFilename, dfn)
File "\\v-tm-qeq-05\Prefect\lib\logging\handlers.py", line 111, in rotate
os.rename(source, dest)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\qtask\\prefect.log' -> 'C:\\Users\\qtask\\prefect.log.1'
Call stack:
File "\\v-tm-qeq-05\Prefect\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "\\v-tm-qeq-05\Prefect\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "\\v-tm-qeq-05\Prefect\Scripts\prefect.exe\__main__.py", line 7, in <module>
sys.exit(app())
File "\\v-tm-qeq-05\Prefect\lib\site-packages\typer\main.py", line 311, in __call__
return get_command(self)(*args, **kwargs)
File "\\v-tm-qeq-05\Prefect\lib\site-packages\click\core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "\\v-tm-qeq-05\Prefect\lib\site-packages\typer\core.py", line 778, in main
return _main(
File "\\v-tm-qeq-05\Prefect\lib\site-packages\typer\core.py", line 216, in _main
rv = self.invoke(ctx)
File "\\v-tm-qeq-05\Prefect\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "\\v-tm-qeq-05\Prefect\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "\\v-tm-qeq-05\Prefect\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "\\v-tm-qeq-05\Prefect\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "\\v-tm-qeq-05\Prefect\lib\site-packages\typer\main.py", line 683, in wrapper
return callback(**use_params) # type: ignore
File "\\v-tm-qeq-05\Prefect\lib\site-packages\prefect\cli\_utilities.py", line 41, in wrapper
return fn(*args, **kwargs)
File "\\v-tm-qeq-05\Prefect\lib\site-packages\prefect\utilities\asyncutils.py", line 260, in coroutine_wrapper
return call()
File "\\v-tm-qeq-05\Prefect\lib\site-packages\prefect\_internal\concurrency\calls.py", line 234, in __call__
coro = self.run()
File "\\v-tm-qeq-05\Prefect\lib\site-packages\prefect\_internal\concurrency\calls.py", line 163, in run
return self.context.run(asyncio.run, self._run_async(coro))
File "\\v-tm-qeq-05\Prefect\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "\\v-tm-qeq-05\Prefect\lib\asyncio\base_events.py", line 603, in run_until_complete
self.run_forever()
File "\\v-tm-qeq-05\Prefect\lib\asyncio\windows_events.py", line 316, in run_forever
super().run_forever()
File "\\v-tm-qeq-05\Prefect\lib\asyncio\base_events.py", line 570, in run_forever
self._run_once()
File "\\v-tm-qeq-05\Prefect\lib\asyncio\base_events.py", line 1859, in _run_once
handle._run()
File "\\v-tm-qeq-05\Prefect\lib\asyncio\events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "\\v-tm-qeq-05\Prefect\lib\site-packages\prefect\agent.py", line 490, in _submit_run_and_capture_errors
result = await infrastructure.run(task_status=task_status)
File "\\v-tm-qeq-05\Prefect\lib\site-packages\prefect\infrastructure\process.py", line 163, in run
self.logger.error(
Message: "Process 'wandering-panda' exited with status code: 3221225477"
Arguments: ()
10:21:22.906 | ERROR | prefect.infrastructure.process - Process 'wandering-panda' exited with status code: 3221225477
10:21:22.969 | INFO | prefect.agent - Reported flow run '7c18182d-631b-428a-bf7e-d0b631d86dd9' as crashed: Flow run infrastructure exited with non-zero status code 3221225477.
Mitch
06/28/2023, 5:47 PMGregory Hunt
06/28/2023, 6:33 PMJacob Bedard
06/28/2023, 7:13 PMhttpx.LocalProtocolError: Invalid input ConnectionInputs.SEND_HEADERS in state ConnectionState.CLOSED
Brennan Tolman
06/28/2023, 7:59 PMJehan Abduljabbar
06/28/2023, 8:35 PMLogFilterLevel()
to only get errors?Thomas Agung Santoso
06/28/2023, 9:46 PMTon Steijvers
06/29/2023, 1:37 PMElliott Wilson
06/29/2023, 4:08 PMRomain Vincent
06/29/2023, 4:47 PMjack
06/29/2023, 7:37 PMJavier Ochoa
06/29/2023, 8:10 PMAjith
06/30/2023, 4:39 AMYury Cheremushkin
06/30/2023, 7:41 AMSamuel Hinton
06/30/2023, 8:27 AMale
06/30/2023, 8:59 AMprefect deploy
using Docker deployment model in an CI/CD environment where Python is not available (like my Jenkins CI/CD environment), consider running prefect deploy
inside a Docker container itself!
Doing this, Prefect will still be able to build the Docker image for your flow.
Just make sure that the Docker container where you run prefect deploy
has access to the Docker Engine.
One way to do this, is by passing the following volume (tested on Mac):
-v /var/run/docker.sock:/var/run/docker.sock
Sharing just in case someone else need it! 🙌Rebecca Allen
06/30/2023, 11:45 AMtype = "markdown"
rather than type = "link"
. Just wanted to double check there isn't an intentional reason for this? Looks like it would just be a one line change to fix if it is a bug (https://github.com/PrefectHQ/prefect/blob/f32b9c35e8ae8af5d74754663fb2d613a44c4d3d/src/prefect/artifacts.py#L94). Thanks!brodul
06/30/2023, 2:48 PMtask_definition_arn
are there any examples for that?Jessica Smith
06/30/2023, 2:57 PMJavier Ochoa
06/30/2023, 3:57 PMOliver E
06/30/2023, 4:01 PMAbhinav Chordia
06/30/2023, 4:21 PMTon Steijvers
07/03/2023, 7:17 AMYacine
07/03/2023, 7:28 AMpersist_result=False,
Nikhil Joseph
07/03/2023, 8:41 AM