Forum

Script Pour les Logiciels de TSE (Demande d'aide pour un premier script)

Intellicage | Intellimaze

Författare Svar
Hedjour Monday 13 July 2020 at 14:29
HedjourAnonymous

Bonjour,

Dans un cadre professionnel je dois utiliser des logiciels propriétaires associés à un sytème de cage opérante.

Je travaille sous Linux et Mon supérieur sous Mac et le logiciel est développé avec dotnet (sous windows donc).

Ayant régulièrement des mises à jour PlayonLinux/PlayonMac et un petit script m'ont paru une bonne idée pour faciliter l'installation (Un grand merci au développeur par ailleurs).

J'en viens à mon problème voici le script que j'ai rédigé :

#!/usr/bin/env playonlinux-bash
# Date : 2020-06-15
# Last revision : 2020-06-14
# Wine version used : System (wine-5.0.1)
# Distribution used to test : Ubuntu 20.04
# Author : Longueville Jean-Emmanuel-
# PlayOnLinux : 4.3.4
# Script licence : GPL3 recommended (2018)
# Program licence : ©TSE   
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
#Variables Definitions
 TITLE="TSE-Phenoworld"
EDITOR="TSE"
PREFIX="phenoworld"
  PATH="~/TSE-5857"
AUTHOR="J-E Longueville"
 #Oppening
POL_SetupWindow_Init
POL_Debug_Init
#Welcome page
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "" "$AUTHOR" "$PREFIX"
POL_SetupWindow_message "Hello !" "Now we try to install all Phenoworld software" "$TITLE"
#Ask Path TSE TODO Need to be upgraded
#POL_SetupWindow_message "Please indicate the path Software from TSE, copy of TSE Key" "$TITLE"
#POL_SetupWindow_browse
#PATHTSE ="$APP_ANSWER"
#PATHTSE="~/Phenoworld/Software"
#Wine prefix creation
#if [ "$(POL_Wine_PrefixExists "$PREFIX")" = "False" ]
#then
    # The préfixe doesn't exist
    POL_Wine_SelectPrefix "$PREFIX"
    POL_Wine_PrefixCreate

#else
#    POL_Wine_SelectPrefix "$PREFIX"
#fi

#Phenoworl software installation
#Prerequired
POL_SetupWindow_wait "Please wait" "Installation of Prerequisites in progress" "$TITLE"
POL_Call POL_Install_dotnet40
POL_Call POL_Install_dotnet472
#POL_Wine "$PATHTSE/Prerequisites/Microsoft .NET Framework 4.6.1/NDP461-KB3102436-x86-x64-AllOS-ENU.exe"
#POL_Wine "$PATHTSE/TSE_Setup/MySQL/5.1/TSE Database Installer.exe"

#Intelicage
POL_SetupWindow_wait "Please wait" "Installation of Intellicage in progress"  "$TITLE"
#POL_Wine "$PATHTSE/IntelliCage/Software/3.3.7/setup_32-Bit.exe"
POL_Wine "$PATH/IC 3.3.8/setup_32-Bit.exe"
#POL_Shortcut "Designer.exe" "ICage-Designer"
#POL_Shortcut "Controller.exe" "Icage-Controller"
#POL_Shortcut "Analyser.exe" "ICage-Analyser"

#Intelimaze
POL_SetupWindow_wait "Please wait" "Installation of IntelliMaze in progress"  "$TITLE"
#POL_Wine "$PATHTSE/IntelliMaze/Software/5.1.6.7/setup_32-Bit.exe"
POL_Wine "$PATH/IM 5.1.7/setup_32-Bit.exe"
#POL_Shortcut "Executable.exe" "IMaze-Designer"
#POL_Shortcut "Executable.exe" "Imaze-"
#POL_Shortcut "Executable.exe" "IMaze-Analyser"

#Phenoworl| PhenoMaster
#POL_SetupWindow_wait "Please wait" "Installation in progress"
#POL_Wine "$PATHTSE/PhenoMaster/Setup_PW_5857-001_V7.3.0_2020-03-30.exe"
#POL_Shortcut "Executable.exe" "Phenoworld"

#Closing
POL_SetupWindow_Close
exit 0

Et voici le résultat dans ma console quand la fênetre d'installation du script de POL crash :

[POL_GPG_auth_script] Message: Checking signature of ~/Phenoworld/TSE/Software/PhenoWorldInstall.sh
[POL_GPG_install_key] Message: Importing PlayOnLinux public key
[POL_SetupWindow_Init] Message: Creating new window for pid 30337
[POL_SetupWindow_Close] Message: Closing window for pid 30337
/usr/share/playonlinux/lib/debug.lib: ligne 35: date : commande introuvable
[POL_SetupWindow_Init] Message: Creating new window for pid 30526
/usr/share/playonlinux/lib/debug.lib: ligne 54: mkdir : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 35: date : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 72: uname : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 72: wine : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 227: glxinfo : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 227: glxinfo : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 72: bash : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 72: bash : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 72: grep : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 72: grep : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 72: ~/.PlayOnLinux//logs/TSE-Phenoworld//TSE-Phenoworld.log: Aucun fichier ou dossier de ce type
/usr/bin/gettext.sh: ligne 88: gettext : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: gettext : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: gettext : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: gettext : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: gettext : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: gettext : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: gettext : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: gettext : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/share/playonlinux/lib/wine.lib: ligne 587: tr : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 35: date : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 107: ~/.PlayOnLinux//logs/TSE-Phenoworld//TSE-Phenoworld.log: Aucun fichier ou dossier de ce type
[POL_Wine_SelectPrefix] Message: Selecting prefix:
/usr/share/playonlinux/lib/debug.lib: ligne 35: date : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 152: ~/.PlayOnLinux//logs/TSE-Phenoworld//TSE-Phenoworld.log: Aucun fichier ou dossier de ce type
[POL_Wine_SelectPrefix] Fatal: Bad or empty virtual drive name selected
/usr/bin/gettext.sh: ligne 88: gettext : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/bin/gettext.sh: ligne 88: envsubst : commande introuvable
/usr/share/playonlinux/lib/playonlinux.lib: ligne 122: grep : commande introuvable
/usr/share/playonlinux/lib/playonlinux.lib: ligne 122: cut : commande introuvable
/usr/share/playonlinux/lib/setupwindow.lib: ligne 42: nc : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 35: date : commande introuvable
/usr/share/playonlinux/lib/debug.lib: ligne 107: ~/.PlayOnLinux//logs/TSE-Phenoworld//TSE-Phenoworld.log: Aucun fichier ou dossier de ce type
[POL_SetupWindow_Close] Message: Closing window for pid 30526

 

Pourriez-vous m'orienter pour rendre mon script fonctionnel ?

Par ailleurs j'aurais des questions par la suite sur dotnet mais ce n'est pas le sujet ici.

Dadu042 Sunday 19 July 2020 at 0:16
Dadu042

Très curieux toutes ces erreurs "commande introuvable". Quelque chose a du être mal installé, mais quoi...

Via un moteur de recherche, lancer cette recherche: "commande introuvable" site:playonlinux.com