https://prefect.io logo
Title
b

Bob Primusanto

02/04/2021, 9:49 AM
Hello fellow prefect user, have you guys ever experienced this type of error?
Unexpected error: AttributeError("'StartFlowRun' object has no attribute 'run_config'")
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/prefect/engine/runner.py", line 48, in inner
    new_state = method(self, state, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/prefect/engine/task_runner.py", line 867, in get_task_run_state
    logger=self.logger,
  File "/usr/local/lib/python3.7/site-packages/prefect/utilities/executors.py", line 298, in run_task_with_timeout
    return task.run(*args, **kwargs)  # type: ignore
  File "/usr/local/lib/python3.7/site-packages/prefect/utilities/tasks.py", line 453, in method
    kwargs.setdefault(attr, getattr(self, attr))
AttributeError: 'StartFlowRun' object has no attribute 'run_config'
a

Amanda Wee

02/04/2021, 12:29 PM
This sounds like a Prefect version mismatch, e.g., your prefect server is on an older prefect version.
d

Dan Moore

02/04/2021, 1:36 PM
Thanks @Amanda Wee. It was indeed that. We've managed to solve the issue
b

Bob Primusanto

02/04/2021, 8:13 PM
Thanks @Amanda Wee !