<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Merci Hubert,</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">oui, je viens d'utiliser cette fonction et ça fonctionne parfaitement c'est ce que je cherchais.</font></div>
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Elle va reservir car bien pratique pour corriger des installations de paquets !</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;"><b>Hubert TOUVET <<a href="mailto:htouvet@tranquil.it">htouvet@tranquil.it</a>> écrit:</b></font></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;"> Créer un paquet </font></span></div>
<br />
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">def install():</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">    <b>WAPT.forget</b>(' remove-logiciel-wapt')</font></span></div>
<br />
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">la variable WAPT (majuscule) contient l'instance du moteur Wapt en cours de fonctionnement.</font></span></div>
<br />
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Le 30/06/2016 à 09:54, informatique a écrit :</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Bonjour,</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">j'avais à l'époque déployé un paquet nommé <b>logiciel-wapt</b>.</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Pour le désinstaller sur tous les postes, j'ai créé un deuxième paquet <b>remove-logiciel-wapt</b>, qui fait bien son travail.</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Pour finir le travail, comment je fais pour supprimer <b>logiciel-wapt</b> de la base local de mon client WAPT ?</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Car il le considère comme toujours installé...</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">J'ai essayé :</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">- run(r'wapt-get remove logiciel-wapt -f') dans le python mais ça ne fonctionne pas</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">- de mettre logiciel-wapt dans le paramètre confilct du fichier de control mais ça ne fais pas ce que je souhaite</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Il y a peut-être une commande dont je n'ai pas connaissance qui permet directement d'agir dans la BDD local du client pour supprimer une entrée ?</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Merci.</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Sébastien</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Service Informatique</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Mairie de Challans</font></span></div>
<br />
<br />
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" color="#000000" style="font-family:Courier;font-size:12pt;color:#000000;">_______________________________________________WAPT mailing list</font></span><a href="mailto:WAPT@lists.tranquil.it"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" style="font-family:Courier;font-size:12pt;">WAPT@lists.tranquil.it</font></span></a><a href="http://lists.tranquil.it/listinfo/wapt"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" style="font-family:Courier;font-size:12pt;">http://lists.tranquil.it/listinfo/wapt</font></span></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
</body>
</html>