PTBatcherGUI: 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/PTBatcherGUI - from package: hugin

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