Bonjour à tous,
Je profite que la mailing list existe encore.... ^^'
Je rencontre un soucis sur la désinstallation de certains paquets, qui fonctionnait très bien avant et ne fonctionne plus maintenant. Je rencontre l'erreur suivante à la désinstallation : / CRITICAL Error running uninstall script: [Errno 2] No such file or directory: '.\WAPT\control'/
Et du coup la désinstallation ne fait rien, le programme est toujours installé, mais le paquet est vu désinstallé au niveau du serveur WAPT. Le fichier control est pourtant bien présent dans le dossier WAPT.
Je suis en WAPT Community 1.8.2.7388.
Auriez vous une idée ?
Merci d'avance. Bastien
Le problème est apparu avec une certaine version du client Wapt ?
l'origine doit être ici : https://github.com/tranquilit/WAPT/blob/75a5de0913f959b92adbabeef30f8b45b568...
vous devriez essayer un débuggage pas à pas dans PyScripter
Le 27/10/2021 à 16:55, Bastien HERMITTE a écrit :
Bonjour à tous,
Je profite que la mailing list existe encore.... ^^'
Je rencontre un soucis sur la désinstallation de certains paquets, qui fonctionnait très bien avant et ne fonctionne plus maintenant. Je rencontre l'erreur suivante à la désinstallation : / CRITICAL Error running uninstall script: [Errno 2] No such file or directory: '.\WAPT\control'/
Et du coup la désinstallation ne fait rien, le programme est toujours installé, mais le paquet est vu désinstallé au niveau du serveur WAPT. Le fichier control est pourtant bien présent dans le dossier WAPT.
Je suis en WAPT Community 1.8.2.7388.
Auriez vous une idée ?
Merci d'avance. Bastien
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour Hubert,
Après pas mal de tests j'ai trouvé ce qui posait problème.
En haut de ces paquets (en dehors des fonctions) j'avais ceci : /Control = PackageEntry().load_control_from_wapt('.')// //appver = Control.version.split('-',1)[0]/
La variable appver n'étant appelée que dans la fonction install(), j'ai déplacé ce code dans celle-ci et l'ai remplacé par /appver = control.version.split('-',1)[0]/
Depuis plus de problème.
Merci du retour en tout cas.
Cordialement, Bastien
Le 27/10/2021 à 22:47, Hubert TOUVET Tranquil IT via WAPT a écrit :
Le problème est apparu avec une certaine version du client Wapt ?
l'origine doit être ici : https://github.com/tranquilit/WAPT/blob/75a5de0913f959b92adbabeef30f8b45b568...
vous devriez essayer un débuggage pas à pas dans PyScripter
Le 27/10/2021 à 16:55, Bastien HERMITTE a écrit :
Bonjour à tous,
Je profite que la mailing list existe encore.... ^^'
Je rencontre un soucis sur la désinstallation de certains paquets, qui fonctionnait très bien avant et ne fonctionne plus maintenant. Je rencontre l'erreur suivante à la désinstallation : / CRITICAL Error running uninstall script: [Errno 2] No such file or directory: '.\WAPT\control'/
Et du coup la désinstallation ne fait rien, le programme est toujours installé, mais le paquet est vu désinstallé au niveau du serveur WAPT. Le fichier control est pourtant bien présent dans le dossier WAPT.
Je suis en WAPT Community 1.8.2.7388.
Auriez vous une idée ?
Merci d'avance. Bastien
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt