https://prefect.io logo
z

Zach

11/12/2020, 4:33 PM
Are there restrictions on what I can store in an environment variable? I am having a flow registration fail because of an environment variable. The environment variable looks like this:
Copy code
"RANDOM_TOOL_VERSION": ": Guppy Basecalling Software, (C) Oxford Nanopore Technologies, Limited. Version 4.2.2+effbaf84"
Here is a sample flow registration that is similar to what I am doing: (The error I was getting is in a comment at the bottom of the file)
j

josh

11/12/2020, 4:52 PM
@Zach what happens when you remove the colon from the value of
RANDOM_TOOL_VERSION
?
z

Zach

11/12/2020, 7:06 PM
Copy code
E       docker.errors.APIError: 500 Server Error: Internal Server Error ("Syntax error - can't find = in "Basecalling". Must be of the form: name=value")
Instead of
Guppy
it says
Basecalling
m

Mitchell Bregman

12/16/2020, 4:36 AM
experiencing similar issue — were you able to resolve @Zach?
z

Zach

12/16/2020, 2:09 PM
@Mitchell Bregman I ended up just removing the colon and everything so that the environment variable was a lot simpler
👍 1