Hi team, I have registered flow using the below code
Copy code
with Flow("Test run", run_config=DockerRun(labels=["dev"])) as flow:
flow.add_task(say_hello())
flow.register("Test")
@task
def say_hello():
print("Hello, world!")
When I run the flow from UI, I got the below error
Failed to load and execute Flow's environment: AttributeError("'NoneType' object has no attribute 'rstrip'")
Can anyone has faced such issue or help me in right direction?
j
Jenny
03/02/2021, 4:25 PM
Hi @rafaqat ali - can you give a bit more information about how you're running the flow. Is it in Server or Cloud? Are you using rstrip at all in your code? Are other flows working ok for you?
r
rafaqat ali
03/02/2021, 4:26 PM
I'm using Server. Flows are running fine by using flow.run() but throwing exception when I run from UI.
I'm not using rstrip in my code at all
j
Jenny
03/02/2021, 4:32 PM
Thanks - let me check this one with the wider team
Jenny
03/02/2021, 5:44 PM
Hi @rafaqat ali - could you share your logs from the agent?
Jenny
03/02/2021, 6:42 PM
Would also be useful to know a bit more about your agent set up and docker storage.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.