<div dir="ltr"><div>Well, the dump is reachable from the machine. But my script do this:<br><br>fp = subprocess.Popen('7za e -bd -so %s 2>/dev/null' % dumpfilename, shell=True, stdout=subprocess.PIPE, bufsize=65535)<br>

<br></div>Is this correct in a grid?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-18 17:57 GMT+02:00 Emilio J. Rodríguez-Posada <span dir="ltr"><<a href="mailto:emijrp@gmail.com" target="_blank">emijrp@gmail.com</a>></span>:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Yeah... I have done that, but now a new problem. I can't read the dump in the destination machine.<br>

<br></div>Where do I have to copy the dump?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-05-18 17:21 GMT+02:00 Jeremy Baron <span dir="ltr"><<a href="mailto:jeremy@tuxmachine.com" target="_blank">jeremy@tuxmachine.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">
<div><p dir="ltr">On May 18, 2014 11:16 AM, "Emilio J. Rodríguez-Posada" <<a href="mailto:emijrp@gmail.com" target="_blank">emijrp@gmail.com</a>> wrote:<br>
> I have created the virtualenv for Python3, installed mediawiki-utilities, etc. I can launch my script in that virtualenv and works fine, but when I do 'jsub', the destination machine obviously doesn't have that module:</p>




</div><p dir="ltr">Sounds like you need to use the activate script for your virtualenv. You could do that in a wrapper shell script.</p>
<p dir="ltr"><a href="http://virtualenv.readthedocs.org/en/latest/virtualenv.html#activate-script" target="_blank">http://virtualenv.readthedocs.org/en/latest/virtualenv.html#activate-script</a></p><span><font color="#888888">
<p dir="ltr">-Jeremy</p>
</font></span><br></div></div><div class="">_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org" target="_blank">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>