hi again - any idea why I might be getting this er...
# ask-community
k
hi again - any idea why I might be getting this error message on flow run?
Copy code
Unexpected error: AttributeError("'FunctionTask' object has no attribute 'result_handler'")
Traceback (most recent call last):
  File "/opt/miniconda3/lib/python3.7/site-packages/prefect/engine/runner.py", line 48, in inner
    new_state = method(self, state, *args, **kwargs)
  File "/opt/miniconda3/lib/python3.7/site-packages/prefect/engine/flow_runner.py", line 447, in get_flow_run_state
    executor=executor,
  File "/opt/miniconda3/lib/python3.7/site-packages/prefect/engine/executors/local.py", line 24, in submit
    return fn(*args, **kwargs)
  File "/opt/miniconda3/lib/python3.7/site-packages/prefect/engine/flow_runner.py", line 569, in run_task
    default_handler = task.result_handler or self.flow.result_handler
AttributeError: 'FunctionTask' object has no attribute 'result_handler'
this doesn’t happen when running the flow locally
j
@Kevin Weiler is this flow being executed in a container? This looks to be a prefect version mismatch between your local version where you build the flow and the container it is running in
k
it is a container yeah - lemme look into that
yep - that’s the deal - bad path
thanks!
c
@Marvin archive “object has no attribute ‘result_handler’ when running Flow”