macroexecutor: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/macroexecutor - from package: python-sardana

You may install the required package with command apt-get install {package}
Error in other languages:
macroexecutor: bevel nie gevind nie
macroexecutor: comandă negăsită
macroexecutor: comando não encontrado
macroexecutor: commande introuvable
macroexecutor: command not found
macroexecutor: käsku ei ole
macroexecutor: không tìm thấy lệnh
macroexecutor: komanda nerasta
macroexecutor: Kommando nicht gefunden.
macroexecutor: kommandot finns inte
macroexecutor: komut yok
macroexecutor: nie znaleziono polecenia
macroexecutor: níor aimsíodh an t-ordú
macroexecutor: no se encontró la orden
macroexecutor: no s'ha trobat l'ordre
macroexecutor: opdracht niet gevonden
macroexecutor: parancs nem található
macroexecutor: perintah tidak ditemukan
macroexecutor: príkaz nenájdený
macroexecutor: příkaz nenalezen
macroexecutor: команда не найдена
macroexecutor: командата не е открита
macroexecutor: 命令找不到
macroexecutor: コマンドが見つかりません