speechd-user-port.sh error?

Executing manage.py task in a Django project (like synckdb or startapp) PyCharm show in Run dialog box:

/etc/profile.d/speechd-user-port.sh: line 1: getent: command not found
/etc/profile.d/speechd-user-port.sh: line 1: cut: command not found
/etc/profile.d/speechd-user-port.sh: line 1: expr: command not found

What's the problem?

$ cat /etc/profile.d/speechd-user-port.sh
export SPEECHD_PORT=$(expr 6560 + $(getent passwd $USER | cut -f 3 -d :))

Thankyou

Please sign in to leave a comment.