<?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;">Bonjour 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;">J'ai fait avec le code que tu m'a fourni toujours même problème :</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;"><i>Desactivation de lecran denregistrement a louverture dOpenOffice</i></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;"><i>2015-09-11 12:48:36,171 CRITICAL Fatal error in install script: CalledProcessErr</i></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;"><i>or: Command '('"C:\\Program Files (x86)\\OpenOffice 4\\Program\\unopkg.exe" "C:\</i></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;"><i>\Program Files (x86)\\OpenOffice 4\\Program\\DisableFirstStartWzd.oxt"',)' retur</i></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;"><i>ned non-zero exit status 1:Traceback (most recent call last):</i></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;"><i>  File "c:\wapt\common.py", line 3166, in install_wapt</i></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;"><i>    exitstatus = setup.install()</i></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;"><i>  File "c:\users\admini~1\appdata\local\temp\waptteqppc\setup.py", line 39, in i</i></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;"><i>nstall</i></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;"><i>    run(command_oxt)</i></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;"><i>  File "c:\wapt\common.py", line 3013, in run</i></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;"><i>    return setuphelpers.run(*arg,pidlist=self.pidlist,**args)</i></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;"><i>  File "c:\wapt\setuphelpers.py", line 602, in run</i></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;"><i>    raise subprocess.CalledProcessError(proc.returncode,cmd,''.join(output))</i></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;"><i>CalledProcessError: Command '('"C:\\Program Files (x86)\\OpenOffice 4\\Program\\</i></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;"><i>unopkg.exe" "C:\\Program Files (x86)\\OpenOffice 4\\Program\\DisableFirstStartWz</i></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;"><i>d.oxt"',)' returned non-zero exit status 1</i></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;"><i>2015-09-11 12:48:37,013 CRITICAL Package chal-openoffice not installed due to er</i></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;"><i>rors : CalledProcessError: Command '('"C:\\Program Files (x86)\\OpenOffice 4\\Pr</i></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;"><i>ogram\\unopkg.exe" "C:\\Program Files (x86)\\OpenOffice 4\\Program\\DisableFirst</i></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;"><i>StartWzd.oxt"',)' returned non-zero exit status 1</i></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;">Est-ce que tu veux récupérer mon paquet pour test ?</font></div>
<br />
<br />
<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;"> </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;">Peut-être un problème 32/64 bits ?</font></span></div>
<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;">J'écrirais :</font></span></div>
<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;">from setuphelpers import *</font></span></div>
<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;">    print(u"Désactivation de l'écran d'enregistrement à l'ouverture d'OpenOffice")</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;">    oxt_filename = makepath(programfiles32,'OpenOffice 4','Program','DisableFirstStartWzd.oxt')</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;">    unopkg_filename = makepath(programfiles32,'OpenOffice 4','Program','unopkg.exe')</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;">    filecopyto('DisableFirstStartWzd.oxt',oxt_filename)</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;">    command_oxt='"%s" "%s"' % (unopkg_filename,oxt_filename)</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;">    run(command_oxt)</font></span></div>
<br />
<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 11/09/2015 11:25, informatique a écrit :</font></span></div>
<br />
<br />
<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 Monsieur Hermitte,</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 pour votre solution, qui ne fonctionne toujours pas dans mon cas :</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;">Code paquet :</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;"><i>print('Desactivation de lecran denregistrement a louverture dOpenOffice')</i></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;"><i>filecopyto('DisableFirstStartWzd.oxt',makepath(programfiles32,'OpenOffice 4','Program'))</i></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;"><i>command_oxt=r'"C:\Program Files\OpenOffice 4\Program\unopkg.exe" "C:\Program Files\OpenOffice 4\Program\DisableFirstStartWzd.oxt"'</i></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;"><i>run(command_oxt)</i></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;">Erreur client Wapt :</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;"><i>Desactivation de lecran denregistrement a louverture dOpenOffice</i></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;"><i>Desactivation de la fenetre daccueil OpenOffice</i></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;"><i>2015-09-10 14:47:13,173 CRITICAL Fatal error in install script: CalledProcessErr</i></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;"><i>or: Command '('"C:\\Program Files\\OpenOffice 4\\Program\\unopkg.exe" "C:\\Progr</i></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;"><i>am Files\\OpenOffice 4\\Program\\DisableFirstStartWzd.oxt"',)' returned non-zero</i></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;"><i> exit status 1:Traceback (most recent call last):</i></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;"><i>  File "C:\wapt\common.py", line 3166, in install_wapt</i></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;"><i>    exitstatus = setup.install()</i></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;"><i>  File "c:\docume~1\admini~1\locals~1\temp\waptqeva8m\setup.py", line 32, in ins</i></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;"><i>tall</i></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;"><i>    run(command_oxt)</i></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;"><i>  File "C:\wapt\common.py", line 3013, in run</i></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;"><i>    return setuphelpers.run(*arg,pidlist=self.pidlist,**args)</i></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;"><i>  File "C:\wapt\setuphelpers.py", line 602, in run</i></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;"><i>    raise subprocess.CalledProcessError(proc.returncode,cmd,''.join(output))</i></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;"><i>CalledProcessError: Command '('"C:\\Program Files\\OpenOffice 4\\Program\\unopkg</i></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;"><i>.exe" "C:\\Program Files\\OpenOffice 4\\Program\\DisableFirstStartWzd.oxt"',)' r</i></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;"><i>eturned non-zero exit status 1</i></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;"><i>2015-09-10 14:47:13,206 CRITICAL Package chal-openoffice not installed due to er</i></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;"><i>rors : CalledProcessError: Command '('"C:\\Program Files\\OpenOffice 4\\Program\</i></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;"><i>\unopkg.exe" "C:\\Program Files\\OpenOffice 4\\Program\\DisableFirstStartWzd.oxt</i></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;"><i>"',)' returned non-zero exit status 1</i></font></span></div>
<br />
<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;">Ce dont je suis sûr, c'est que ma commande "C:\Program Files\OpenOffice 4\Program\unopkg.exe" "C:\Program Files\OpenOffice 4\Program\DisableFirstStartWzd.oxt" est corect, mais je n'arrive pas à la faire passer dans le code python avec le run.</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;">Cdlt.</font></span></div>
<br />
<br />
<div align="left" style="padding-left:45px;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;">-------- Message original -------- </font></span></div>
<br />
<div align="left"><table width="99%" cellpadding="0" cellspacing="0" summary="" style="margin:0px;border-style:none;border-collapse:collapse;">
<tbody>
<tr>
<td width="31%" align="right" style="border-style:none;border-collapse:collapse;"><div align="right" style="text-align:right;"><span style="background-color:#d0d0d0;"><font face="Times New                    Rom" size="+0" color="#000000" style="font-family:Times New                    Rom;font-size:12pt;color:#000000;"><b>Sujet: </b></font></span></div></td>
<td width="68%" style="border-style:none;border-collapse:collapse;"><div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New                    Rom" size="+0" color="#000000" style="font-family:Times New                    Rom;font-size:12pt;color:#000000;">Re: [Wapt] Lancer une commande contenant des espaces dans le chemin</font></span></div></td>
</tr>
<tr>
<td width="31%" align="right" style="border-style:none;border-collapse:collapse;"><div align="right" style="padding-left:45px;text-align:right;"><span style="background-color:#d0d0d0;"><font face="Times New                    Rom" size="+0" color="#000000" style="font-family:Times New                    Rom;font-size:12pt;color:#000000;"><b>Date : </b></font></span></div></td>
<td width="68%" style="border-style:none;border-collapse:collapse;"><div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New                    Rom" size="+0" color="#000000" style="font-family:Times New                    Rom;font-size:12pt;color:#000000;">Mon, 31 Aug 2015 21:22:46 +0200</font></span></div></td>
</tr>
<tr>
<td width="31%" align="right" style="border-style:none;border-collapse:collapse;"><div align="right" style="padding-left:45px;text-align:right;"><span style="background-color:#d0d0d0;"><font face="Times New                    Rom" size="+0" color="#000000" style="font-family:Times New                    Rom;font-size:12pt;color:#000000;"><b>De : </b></font></span></div></td>
<td width="68%" style="border-style:none;border-collapse:collapse;"><div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New                    Rom" size="+0" color="#000000" style="font-family:Times New                    Rom;font-size:12pt;color:#000000;">Bastien HERMITTE </font></span></div></td>
</tr>
<tr>
<td width="31%" align="right" style="border-style:none;border-collapse:collapse;"><div align="right" style="text-align:right;"><span style="background-color:#d0d0d0;"><font face="Times New                    Rom" size="+0" color="#000000" style="font-family:Times New                    Rom;font-size:12pt;color:#000000;"><b>Pour : </b></font></span></div></td>
<td width="68%" style="border-style:none;border-collapse:collapse;"><div align="left" style="text-align:left;"><a href="mailto:wapt@lists.tranquil.it"><span style="background-color:#d0d0d0;"><font face="Times New                      R" size="+0" style="font-family:Times New                      R;font-size:12pt;">wapt@lists.tranquil.it</font></span></a></div></td>
</tr>
</tbody>
</table></div>
<br />
<br />
<div align="left" style="padding-left:45px;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;">Bonsoir,</font></span></div>
<br />
<div align="left" style="padding-left:45px;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;">Ceci devrait fonctionner ;)</font></span></div>
<br />
<div align="left" style="padding-left:45px;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;">command=r'"C:\Program Files\OpenOffice 4\Program\unopkg.exe" "C:\Program Files\OpenOffice 4\Program\DisableFirstStartWzd.oxt"'</font></span></div>
<br />
<div align="left" style="padding-left:45px;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;">Bastien</font></span></div>
<br />
<div align="left" style="padding-left:45px;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 31/08/2015 21:16, informatique a écrit :</font></span></div>
<br />
<br />
<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 TIS,</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;">je n'arrive pas à éxcuter une commande contenant des espaces, comment scripter cela dans le setup.py ? :</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;">Voici l'extrait de mon script :</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;"><i>command="C:\Program Files\OpenOffice 4\Program\unopkg.exe C:\Program Files\OpenOffice 4\Program\DisableFirstStartWzd.oxt"</i></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;"><i>print command</i></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;"><i>run(command)</i></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;">Voici mon erreur :</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;"><i>2015-08-31 18:32:32,927 CRITICAL Fatal error in install script: CalledProcessErr</i></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;"><i>or: Command '('C:\\Program Files\\OpenOffice 4\\Program\\unopkg.exe C:\\Program</i></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;"><i>Files\\OpenOffice 4\\Program\\DisableFirstStartWzd.oxt',)' returned non-zero exi</i></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;"><i>t status 1:Traceback (most recent call last):</i></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;"><i>  File "C:\wapt\common.py", line 3166, in install_wapt</i></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;"><i>    exitstatus = setup.install()</i></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;"><i>  File "c:\docume~1\adminv~1\locals~1\temp\waptyigafy\setup.py", line 24, in ins</i></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;"><i>tall</i></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;"><i>    run(command)</i></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;"><i>  File "C:\wapt\common.py", line 3013, in run</i></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;"><i>    return setuphelpers.run(*arg,pidlist=self.pidlist,**args)</i></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;"><i>  File "C:\wapt\setuphelpers.py", line 602, in run</i></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;"><i>    raise subprocess.CalledProcessError(proc.returncode,cmd,''.join(output))</i></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;"><i>CalledProcessError: Command '('C:\\Program Files\\OpenOffice 4\\Program\\unopkg.</i></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;"><i>exe C:\\Program Files\\OpenOffice 4\\Program\\DisableFirstStartWzd.oxt',)' retur</i></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;"><i>ned non-zero exit status 1</i></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;"><i>2015-08-31 18:32:33,661 CRITICAL Package chal-openoffice not installed due to er</i></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;"><i>rors : CalledProcessError: Command '('C:\\Program Files\\OpenOffice 4\\Program\\</i></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;"><i>unopkg.exe C:\\Program Files\\OpenOffice 4\\Program\\DisableFirstStartWzd.oxt',)</i></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;"><i>' returned non-zero exit status 1</i></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>
<br />
<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;">_______________________________________________</font></span></div>
<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></div>
<div align="left" style="text-align:left;"><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></div>
<div align="left" style="text-align:left;"><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 />
<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;">-- </font></span></div>
<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;">Yvan Karmouta</font></span></div>
<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;">Tranquil IT Systems</font></span></div>
<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;">12 Avenue Jules Verne</font></span></div>
<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;">44230 Saint Sébastien sur loire</font></span></div>
<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;">tel : +33 (0) 2.40.97.57.57</font></span></div>
<div align="left" style="text-align:left;"><a href="http://www.tranquil-it-systems.fr"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" style="font-family:Courier;font-size:12pt;">http://www.tranquil-it-systems.fr</font></span></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<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;">_______________________________________________</font></span></div>
<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></div>
<div align="left" style="text-align:left;"><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></div>
<div align="left" style="text-align:left;"><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 />
<br />
</body>
</html>