<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
</head><body><p><br></p><blockquote type="cite">Le 6 avril 2017 à 10:40, "nicolas.lecureuil nicolas.lecureuil" <nicolas.lecureuil@siveo.net> a écrit :<br><br><p><br></p><blockquote type="cite">Le 6 avril 2017 à 10:13, Pierre Tardy <tardyp@gmail.com> a écrit :<br><br><div dir="ltr"><div class="ox-8ad6c00a2a-ox-739bc637d6-gmail_quote"><blockquote><div class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg">Hi,<br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg">i have forgottent a big detail, i am using bb 0.8.9 ( as i need to port to bb 0.9.x in a second step but i want as a first step a working buildbot ( i am not that far from this :) )<br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p></div></blockquote><div>You can at least upgrade to 0.8.12, and get new style steps.</div><div> </div><blockquote><div class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"> <br></p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg">so if i use:<br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p></div><div class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg">f1.addStep(shell.SetPropertyFromCommand(command='grep version setup.py | grep = | cut -d = -f2 | cut -d"\'" -f2 ', property="upstreamPkgVer"))</p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p></div><div class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg">for now i have :<br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg">self.addStep(UpstreamGetVersion(workdir=self._workdir))<br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"> self.addStep(DebComputeNewVersion(master_path=self._base_master_path, pkg_url=self._base_pkg_url))<br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg">if i use <br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p></div><div class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg">f1.addStep(shell.SetPropertyFromCommand(command='grep version setup.py | grep = | cut -d = -f2 | cut -d"\'" -f2 ', property="upstreamPkgVer"))</p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p></div><div class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg">i obtain : <br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"><br class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg"></p><p class="ox-8ad6c00a2a-ox-739bc637d6-gmail_msg">LINE: pulse-agent-plugins (grep: setup.py: Aucun fichier ou dossier de ce type+git20170405233946.ea174fc-1) UNRELEASED; urgency=medium</p></div></blockquote><div><br></div><div>I think this is just the problem of workdir. looks like you have some specific workdir management in your master.cfg which you did not publish, so its not easy for me to help </div><div><br></div><div>You can use export LANG=C before starting your workers to disable french i18n for your workers.</div><div><br></div><div>Pierre </div></div></div></blockquote><p><br></p><p>sorry:<br></p><p>i have<br></p><p>self._workdir = os.path.join(self._buildroot, self._projectdir)<br></p><p><br></p><p>the complete function is:<br></p><p>https://pastebin.com/EbyvE9BH</p></blockquote><p>i still don't pass to use Interpolate, i think i missed a detail somewhere<br></p><p><br></p><p>Is my paste enough to understand or do you need the whole master.cfg file ?<br></p></body></html>