<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      On 05/11/2016 02:18 PM, honas grael wrote:<br>
    </div>
    <blockquote
cite="mid:CADPsCNsdWSdp-ANf8+sJodN0jjCm_2H4UcvfNOqZxtqZEkDAXA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi guys I'm trying to copy files from the master to
        the worker, so looking at the documentation there is<br>
        <br>
        <pre><span class="">f</span><span class="">.</span><span class="">addStep</span><span class="">(</span><span class="">steps</span><span class="">.</span><span class="">FileDownload</span><span class="">(</span><span class="">mastersrc</span><span class="">=</span><span class="">r"c:\my_local_directory\todays_build_config.txt"</span><span class="">,</span>
                             <span class="">workerdest</span><span class="">=</span><span class="">"c:\my_other_directorty\build_config.txt"</span><span class="">))

</span></pre>
        <pre><span class="">however when I try it and do buildbot checkconfig I get an error along the lines

</span></pre>
        <pre><span class="">__init_()
</span></pre>
        <pre><span class="">filedownload takes at least 3 arguments (2 given). What am I doing wrong?
</span></pre>
      </div>
    </blockquote>
    what is the precise version of buildbot you're running  ? This looks
    like a 0.9 and I guess if you were on 0.8 you woudn't go as far as
    actually getting this error, but still this is weird. <br>
    <br>
    I'm actually running builds on 0.9 with FileDownload instantiated in
    that style, and it works.<br>
    <blockquote
cite="mid:CADPsCNsdWSdp-ANf8+sJodN0jjCm_2H4UcvfNOqZxtqZEkDAXA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <pre><span class="">
</span></pre>
        <pre><span class="">I have not tried fileupload yet but has anyone got any ideas how to make these commands work
</span></pre>
        <pre><span class="">I'm on Windows by the way(windows 7)
</span></pre>
        <pre><span class="">Regards
</span></pre>
        <br>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@buildbot.net">users@buildbot.net</a>
<a class="moz-txt-link-freetext" href="https://lists.buildbot.net/mailman/listinfo/users">https://lists.buildbot.net/mailman/listinfo/users</a></pre>
    </blockquote>
    <br>
  </body>
</html>