https://prefect.io logo
Title
p

Pranit

09/01/2022, 12:12 PM
I had done th edeployment and initital execution of jobs was successful. But no job was executed as per schedule of hourly etc. I initiated the work queue and its giving me below error Anybody can help?
1
r

Ryan Peden

09/01/2022, 12:19 PM
Can you run Python on this system with the
python
command, or do you have to run
python3
?
p

Pranit

09/01/2022, 12:24 PM
I have python3 @Ryan Peden
r

Ryan Peden

09/01/2022, 12:26 PM
If only
python3
, I recommend creating a symlink so
python
will work as well. The command to do so would look like:
sudo ln -s /usr/local/bin/python3 /usr/local/bin/python
However, on some systems, Python is in
/usr/bin
, not
/usr/local/bin
. If you aren't sure, run
which python3
p

Pranit

09/01/2022, 12:27 PM
done
It gave new error now,
TypeError: object NoneType can't be used in 'await' expression
I don't understand same script executed with python and while deployment of build as well
r

Ryan Peden

09/01/2022, 12:30 PM
Could you post that error in a new message in the channel? That way, if I don't know the answer, my colleagues will see your question as well. Post the full stack trace if you can; that will help us understand what happened.