<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Dan,<br>
    <br>
    The next version uses a ClusterManager object rather than the
    cluster.* methods. The new ClusterManager is automatically loaded in
    the shell as variable 'cm'. So with the latest github code it would
    be:<br>
    <br>
    $ starcluster shell<br>
    $ cm.run_plugin("shortreadplugin", "myfirstcluster")<br>
    <br>
    You can pretty much replace any cluster.* method call with cm.* if
    you're using the latest github code.<br>
    <br>
    ~Justin<br>
    <br>
    On 10/30/10 2:57 PM, Dan Tenenbaum wrote:
    <blockquote
      cite="mid:AANLkTimtbiE3PN86uN+twJpc5JSOBchTS8xaHBsZmZK2@mail.gmail.com"
      type="cite">
      <div>Looks like there are a number of files in this fork that
        don't exist in the 0.91 that I downloaded.</div>
      <div><br>
      </div>
      So just downloaded your whole fork and built that, then got this
      in the shell:
      <div><br>
      </div>
      <div>
        <div>In [1]:
          cluster.run_plugin("shortreadplugin","myfirstcluster",cfg)</div>
        <div>---------------------------------------------------------------------------</div>
        <div>AttributeError &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Traceback (most
          recent call last)</div>
        <div><br>
        </div>
        <div>/Library/Python/2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/commands/shell.pyc
          in &lt;module&gt;()</div>
        <div>----&gt; 1&nbsp;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp;2&nbsp;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp;3&nbsp;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp;4&nbsp;</div>
        <div>
          &nbsp;&nbsp; &nbsp; &nbsp;5&nbsp;</div>
        <div><br>
        </div>
        <div>AttributeError: 'module' object has no attribute
          'run_plugin'</div>
        <div><br>
        </div>
        <div>In [2]:&nbsp;</div>
        <div><br>
        </div>
        <div>Dan</div>
        <div><br>
        </div>
        <br>
        <div class="gmail_quote">
          On Sat, Oct 30, 2010 at 11:45 AM, Dan Tenenbaum <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:dtenenba@fhcrc.org">dtenenba@fhcrc.org</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            Keeping this on the list.
            <div>BTW, the new cluster.py has no syntax errors, so
              something else must be happening.</div>
            <div>Dan</div>
            <div>
              <div class="h5">
                <div><br>
                  <br>
                  <div class="gmail_quote">On Sat, Oct 30, 2010 at 11:44
                    AM, Dan Tenenbaum <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:dtenenba@fhcrc.org" target="_blank">dtenenba@fhcrc.org</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin: 0pt
                      0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
                      204, 204); padding-left: 1ex;">Thanks. That gave
                      me a different error, below.
                      <div>The first time this happened, I did:<br>
                        sudo easy_install iptools, but it is still
                        happening.</div>
                      <div><br>
                      </div>
                      <div>Dan</div>
                      <div><br>
                      </div>
                      <div>
                        <div>$ starcluster shell</div>
                        <div>Leopard libedit detected.</div>
                        <div>ERROR: An unexpected error occurred while
                          tokenizing input</div>
                        <div>The following traceback may be corrupted or
                          invalid</div>
                        <div>The error message is: ('EOF in multi-line
                          statement', (405, 0))</div>
                        <div><br>
                        </div>
                        <div>---------------------------------------------------------------------------</div>
                        <div>ImportError &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                          Traceback (most recent call last)</div>
                        <div><br>
                        </div>
                        <div>/Library/Python/2.6/site-packages/StarCluster-0.91-py2.6.egg/EGG-INFO/scripts/starcluster
                          in &lt;module&gt;()</div>
                        <div>&nbsp;&nbsp; &nbsp; &nbsp;3 __requires__ = 'StarCluster==0.91'</div>
                        <div>&nbsp;&nbsp; &nbsp; &nbsp;4 import pkg_resources</div>
                        <div>----&gt; 5
                          pkg_resources.run_script('StarCluster==0.91',
                          'starcluster')</div>
                        <div>&nbsp;&nbsp; &nbsp; &nbsp;6&nbsp;</div>
                        <div>
                          &nbsp;&nbsp; &nbsp; &nbsp;7&nbsp;</div>
                        <div><br>
                        </div>
                        <div>/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.pyc
                          in run_script(self, requires, script_name)</div>
                        <div>&nbsp;&nbsp; &nbsp;440 &nbsp; &nbsp; &nbsp; &nbsp; ns.clear()</div>
                        <div>&nbsp;&nbsp; &nbsp;441 &nbsp; &nbsp; &nbsp; &nbsp; ns['__name__'] = name</div>
                        <div>--&gt; 442 &nbsp; &nbsp; &nbsp; &nbsp;
                          self.require(requires)[0].run_script(script_name,
                          ns)</div>
                        <div>&nbsp;&nbsp; &nbsp;443&nbsp;</div>
                        <div>&nbsp;&nbsp; &nbsp;444&nbsp;</div>
                        <div><br>
                        </div>
                        <div>/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.pyc
                          in run_script(self, script_name, namespace)</div>
                        <div>&nbsp;&nbsp; 1165 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )</div>
                        <div>&nbsp;&nbsp; 1166 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; script_code =
                          compile(script_text,script_filename,'exec')</div>
                        <div>-&gt; 1167 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exec script_code in
                          namespace, namespace</div>
                        <div>&nbsp;&nbsp; 1168&nbsp;</div>
                        <div>&nbsp;&nbsp; 1169 &nbsp; &nbsp; def _has(self, path):</div>
                        <div><br>
                        </div>
                        <div>/Library/Python/2.6/site-packages/StarCluster-0.91-py2.6.egg/EGG-INFO/scripts/starcluster
                          in &lt;module&gt;()</div>
                        <div>&nbsp;&nbsp; &nbsp; &nbsp;1&nbsp;</div>
                        <div>----&gt; 2 #!/usr/bin/python</div>
                        <div><br>
                        </div>
                        <div>&nbsp;&nbsp; &nbsp; &nbsp;3 # EASY-INSTALL-SCRIPT:
                          'StarCluster==0.91','starcluster'</div>
                        <div><br>
                        </div>
                        <div>&nbsp;&nbsp; &nbsp; &nbsp;4 __requires__ = 'StarCluster==0.91'</div>
                        <div>&nbsp;&nbsp; &nbsp; &nbsp;5 import pkg_resources</div>
                        <div>&nbsp;&nbsp; &nbsp; &nbsp;6
                          pkg_resources.run_script('StarCluster==0.91',
                          'starcluster')</div>
                        <div><br>
                        </div>
                        <div>/Users/dante/.starcluster/build/bdist.macosx-10.6-universal/egg/starcluster/cli.py
                          in &lt;module&gt;()</div>
                        <div>&nbsp;&nbsp; &nbsp; 36&nbsp;</div>
                        <div>&nbsp;&nbsp; &nbsp; 37&nbsp;</div>
                        <div>---&gt; 38&nbsp;</div>
                        <div>&nbsp;&nbsp; &nbsp; 39&nbsp;</div>
                        <div>&nbsp;&nbsp; &nbsp; 40&nbsp;</div>
                        <div><br>
                        </div>
                        <div>/Users/dante/.starcluster/build/bdist.macosx-10.6-universal/egg/starcluster/cluster.py
                          in &lt;module&gt;()</div>
                        <div>&nbsp;&nbsp; &nbsp; 10&nbsp;</div>
                        <div>&nbsp;&nbsp; &nbsp; 11&nbsp;</div>
                        <div>---&gt; 12&nbsp;</div>
                        <div>&nbsp;&nbsp; &nbsp; 13&nbsp;</div>
                        <div>&nbsp;&nbsp; &nbsp; 14&nbsp;</div>
                        <div><br>
                        </div>
                        <div>ImportError: cannot import name iptools</div>
                        <div>
                          <div>
                            <div><br>
                            </div>
                            <div><br>
                              <div class="gmail_quote">
                                On Sat, Oct 30, 2010 at 11:38 AM, Marc
                                Resnick <span dir="ltr">&lt;<a
                                    moz-do-not-send="true"
                                    href="mailto:mresnick@mit.edu"
                                    target="_blank">mresnick@mit.edu</a>&gt;</span>
                                wrote:<br>
                                <blockquote class="gmail_quote"
                                  style="margin: 0pt 0pt 0pt 0.8ex;
                                  border-left: 1px solid rgb(204, 204,
                                  204); padding-left: 1ex;">The version
                                  here<br>
                                  <a moz-do-not-send="true"
href="http://github.com/jtriley/StarCluster/blob/experimental/starcluster/cluster.py"
                                    target="_blank">http://github.com/jtriley/StarCluster/blob/experimental/starcluster/cluster.py</a><br>
                                  may have those bugs fixed, as I
                                  remember that one as well.<br>
                                  <font color="#888888"><br>
                                    <br>
                                    Marc<br>
                                  </font>
                                  <div>
                                    <div><br>
                                      On Sat, Oct 30, 2010 at 2:31 PM,
                                      Dan Tenenbaum &lt;<a
                                        moz-do-not-send="true"
                                        href="mailto:dtenenba@fhcrc.org"
                                        target="_blank">dtenenba@fhcrc.org</a>&gt;
                                      wrote:<br>
                                      &gt; I already did that. ;)<br>
                                      &gt; Now I'm getting another
                                      error:<br>
                                      &gt; In [1]:
                                      cluster.run_plugin("shortreadplugin","myfirstcluster",cfg)<br>
                                      &gt;&gt;&gt;&gt; Using private key
                                      /Users/dante/.ec2/bioc-keypair.pem.rsa
                                      (rsa)<br>
                                      &gt;
---------------------------------------------------------------------------<br>
                                      &gt; AttributeError &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Traceback (most
                                      recent call last)<br>
                                      &gt;
/Library/Python/2.6/site-packages/StarCluster-0.91-py2.6.egg/starcluster/cli.pyc<br>
                                      &gt; in &lt;module&gt;()<br>
                                      &gt; ----&gt; 1<br>
                                      &gt; &nbsp;&nbsp; &nbsp; &nbsp;2<br>
                                      &gt; &nbsp;&nbsp; &nbsp; &nbsp;3<br>
                                      &gt; &nbsp;&nbsp; &nbsp; &nbsp;4<br>
                                      &gt; &nbsp;&nbsp; &nbsp; &nbsp;5<br>
                                      &gt;
/Library/Python/2.6/site-packages/StarCluster-0.91-py2.6.egg/starcluster/cluster.pyc<br>
                                      &gt; in run_plugin(plugin_name,
                                      cluster_tag, cfg)<br>
                                      &gt; &nbsp;&nbsp; &nbsp;175 &nbsp; &nbsp; plugins = {}<br>
                                      &gt; &nbsp;&nbsp; &nbsp;176 &nbsp; &nbsp;
                                      plugins[plugin_name] = plug<br>
                                      &gt; --&gt; 177 &nbsp; &nbsp; plugins =
                                      cl.load_plugins(plugins)<br>
                                      &gt; &nbsp;&nbsp; &nbsp;178 &nbsp; &nbsp; master =
                                      cl.master_node<br>
                                      &gt; &nbsp;&nbsp; &nbsp;179 &nbsp; &nbsp; for p in plugins:<br>
                                      &gt;
/Library/Python/2.6/site-packages/StarCluster-0.91-py2.6.egg/starcluster/cluster.pyc<br>
                                      &gt; in load_plugins(self,
                                      plugins)<br>
                                      &gt; &nbsp;&nbsp; &nbsp;314 &nbsp; &nbsp; &nbsp; &nbsp; plugs = []<br>
                                      &gt; &nbsp;&nbsp; &nbsp;315 &nbsp; &nbsp; &nbsp; &nbsp; for plugin in
                                      plugins:<br>
                                      &gt; --&gt; 316 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                      setup_class =
                                      plugin.get('setup_class')<br>
                                      &gt; &nbsp;&nbsp; &nbsp;317 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                      plugin_name =
                                      plugin.get('__name__')<br>
                                      &gt; &nbsp;&nbsp; &nbsp;318 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mod_name
                                      =
                                      '.'.join(setup_class.split('.')[:-1])<br>
                                      &gt; AttributeError: 'str' object
                                      has no attribute 'get'<br>
                                      &gt; Hmm....<br>
                                      &gt; Dan<br>
                                      &gt;<br>
                                      &gt; On Sat, Oct 30, 2010 at 11:27
                                      AM, Marc Resnick &lt;<a
                                        moz-do-not-send="true"
                                        href="mailto:mresnick@mit.edu"
                                        target="_blank">mresnick@mit.edu</a>&gt;
                                      wrote:<br>
                                      &gt;&gt;<br>
                                      &gt;&gt; Yes, that's the bug I
                                      told Justin about this Summer... I
                                      think I<br>
                                      &gt;&gt; patched it, but he may
                                      have forgotten to pull from my
                                      fork.<br>
                                      &gt;&gt;<br>
                                      &gt;&gt; You can fix it by editing
                                      the run_plugin method, and
                                      replacing<br>
                                      &gt;&gt;<br>
                                      &gt;&gt; &nbsp;cl =
                                      get_cluster(cluster_tag)<br>
                                      &gt;&gt;<br>
                                      &gt;&gt; with<br>
                                      &gt;&gt;<br>
                                      &gt;&gt; &nbsp;cl =
                                      get_cluster(cluster_tag, cfg)<br>
                                      &gt;&gt;<br>
                                      &gt;&gt;<br>
                                      &gt;&gt;<br>
                                      &gt;&gt; Marc<br>
                                      &gt;&gt;<br>
                                      &gt;&gt;<br>
                                      &gt;&gt; On Sat, Oct 30, 2010 at
                                      2:20 PM, Dan Tenenbaum &lt;<a
                                        moz-do-not-send="true"
                                        href="mailto:dtenenba@fhcrc.org"
                                        target="_blank">dtenenba@fhcrc.org</a>&gt;
                                      wrote:<br>
                                      &gt;&gt; &gt; Hi Marc,<br>
                                      &gt;&gt; &gt; I am running 0.91.<br>
                                      &gt;&gt; &gt; I was doing a couple
                                      things wrong. I figured them out
                                      but I am still<br>
                                      &gt;&gt; &gt; having<br>
                                      &gt;&gt; &gt; this problem.<br>
                                      &gt;&gt; &gt; One thing I did
                                      wrong was have the<br>
                                      &gt;&gt; &gt;
                                      plugins=shortreadplugin<br>
                                      &gt;&gt; &gt; line under the
                                      global section; it needed to be
                                      under the<br>
                                      &gt;&gt; &gt; [cluster
                                      smallcluster]<br>
                                      &gt;&gt; &gt; section.<br>
                                      &gt;&gt; &gt; When I start the
                                      cluster now, I can see the output
                                      from my plugin:<br>
                                      &gt;&gt; &gt;&gt;&gt;&gt; Running
                                      plugin shortreadplugin<br>
                                      &gt;&gt; &gt;&gt;&gt;&gt; about to
                                      echo<br>
                                      &gt;&gt; &gt; But, when I run the
                                      shell and put in this command:<br>
                                      &gt;&gt; &gt;
                                      cluster.run_plugin("shortreadplugin","myfirstcluster",cfg)<br>
                                      &gt;&gt; &gt; I get the same error
                                      described below.<br>
                                      &gt;&gt; &gt; Dan<br>
                                      &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt; On Sat, Oct 30, 2010
                                      at 11:11 AM, Marc Resnick &lt;<a
                                        moz-do-not-send="true"
                                        href="mailto:mresnick@mit.edu"
                                        target="_blank">mresnick@mit.edu</a>&gt;
                                      wrote:<br>
                                      &gt;&gt; &gt;&gt;<br>
                                      &gt;&gt; &gt;&gt; Hey Dan,<br>
                                      &gt;&gt; &gt;&gt;<br>
                                      &gt;&gt; &gt;&gt; Are you running
                                      the latest version? I saw that bug
                                      a few months ago, I<br>
                                      &gt;&gt; &gt;&gt; thought I
                                      remember Justin fixing it.<br>
                                      &gt;&gt; &gt;&gt;<br>
                                      &gt;&gt; &gt;&gt;<br>
                                      &gt;&gt; &gt;&gt; Marc<br>
                                      &gt;&gt; &gt;&gt;<br>
                                      &gt;&gt; &gt;&gt; On Sat, Oct 30,
                                      2010 at 2:00 PM, Dan Tenenbaum
                                      &lt;<a moz-do-not-send="true"
                                        href="mailto:dtenenba@fhcrc.org"
                                        target="_blank">dtenenba@fhcrc.org</a>&gt;<br>
                                      &gt;&gt; &gt;&gt; wrote:<br>
                                      &gt;&gt; &gt;&gt; &gt; Hi,<br>
                                      &gt;&gt; &gt;&gt; &gt; I am not
                                      much of a python programmer and
                                      I'm trying to figure out the<br>
                                      &gt;&gt; &gt;&gt; &gt; plugin<br>
                                      &gt;&gt; &gt;&gt; &gt; system.<br>
                                      &gt;&gt; &gt;&gt; &gt; I created a
                                      ~/.starcluster/plugins directory
                                      and put a file in it<br>
                                      &gt;&gt; &gt;&gt; &gt; called<br>
                                      &gt;&gt; &gt;&gt; &gt;
                                      shortread.py.<br>
                                      &gt;&gt; &gt;&gt; &gt; Here are
                                      its contents:<br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt; &gt; from
                                      starcluster.clustersetup import
                                      ClusterSetup<br>
                                      &gt;&gt; &gt;&gt; &gt; from
                                      starcluster.logger import log<br>
                                      &gt;&gt; &gt;&gt; &gt; class
                                      ShortReadPlugin(ClusterSetup):<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp; def
                                      __init__(self, arg1):<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
                                      &nbsp;self.arg1 = arg1<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a
                                        moz-do-not-send="true"
                                        href="http://log.info"
                                        target="_blank">log.info</a>('arg1
                                      = %s' % arg1)<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp; def
                                      run(self, nodes, master, user,
                                      user_shell, volumes):<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <a
                                        moz-do-not-send="true"
                                        href="http://log.info"
                                        target="_blank">log.info</a>("about
                                      to echo")<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
                                      master.ssh.execute("echo 'hey'")<br>
                                      &gt;&gt; &gt;&gt; &gt; As you can
                                      see, it's just a test.<br>
                                      &gt;&gt; &gt;&gt; &gt; In my
                                      config, I put this at the bottom:<br>
                                      &gt;&gt; &gt;&gt; &gt; [plugin
                                      shortreadplugin]<br>
                                      &gt;&gt; &gt;&gt; &gt; SETUP_CLASS
                                      = ShortReadPlugin<br>
                                      &gt;&gt; &gt;&gt; &gt; arg1=foo<br>
                                      &gt;&gt; &gt;&gt; &gt; And above
                                      in the [global] section I put:<br>
                                      &gt;&gt; &gt;&gt; &gt;
                                      plugins=shortreadplugin<br>
                                      &gt;&gt; &gt;&gt; &gt; I'm a bit
                                      confused about whether this is
                                      right because in your<br>
                                      &gt;&gt; &gt;&gt; &gt; example:<br>
                                      &gt;&gt; &gt;&gt; &gt; <a
                                        moz-do-not-send="true"
                                        href="http://web.mit.edu/stardev/cluster/docs/plugins.html"
                                        target="_blank">http://web.mit.edu/stardev/cluster/docs/plugins.html</a><br>
                                      &gt;&gt; &gt;&gt; &gt; ...you have
                                      the SETUP_CLASS as
                                      ubuntu.PackageInstaller. I'm not
                                      sure<br>
                                      &gt;&gt; &gt;&gt; &gt; where<br>
                                      &gt;&gt; &gt;&gt; &gt; the
                                      "ubuntu" fits into this. Is it
                                      like java where I need to have a<br>
                                      &gt;&gt; &gt;&gt; &gt; folder<br>
                                      &gt;&gt; &gt;&gt; &gt; called
                                      ubuntu where the class resides?<br>
                                      &gt;&gt; &gt;&gt; &gt; Anyway, I
                                      fired up my cluster and went to
                                      test this with "starcluster<br>
                                      &gt;&gt; &gt;&gt; &gt; shell"<br>
                                      &gt;&gt; &gt;&gt; &gt; and got the
                                      following output:<br>
                                      &gt;&gt; &gt;&gt; &gt; In [5]:
                                      cluster.run_plugin('shortreadplugin',
                                      'myfirstcluster', cfg)<br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt; &gt;
---------------------------------------------------------------------------<br>
                                      &gt;&gt; &gt;&gt; &gt; TypeError &nbsp;
                                      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                      Traceback (most recent call<br>
                                      &gt;&gt; &gt;&gt; &gt; last)<br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt; &gt;
/Library/Python/2.6/site-packages/StarCluster-0.91-py2.6.egg/starcluster/cli.pyc<br>
                                      &gt;&gt; &gt;&gt; &gt; in
                                      &lt;module&gt;()<br>
                                      &gt;&gt; &gt;&gt; &gt; ----&gt; 1<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp; &nbsp;2<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp; &nbsp;3<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp; &nbsp;4<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp; &nbsp;5<br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt; &gt;
/Library/Python/2.6/site-packages/StarCluster-0.91-py2.6.egg/starcluster/cluster.pyc<br>
                                      &gt;&gt; &gt;&gt; &gt; in
                                      run_plugin(plugin_name,
                                      cluster_tag, cfg)<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp;170 def
                                      run_plugin(plugin_name,
                                      cluster_tag, cfg):<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp;171 &nbsp; &nbsp;
                                      ec2 = cfg.get_easy_ec2()<br>
                                      &gt;&gt; &gt;&gt; &gt; --&gt; 172
                                      &nbsp; &nbsp; cl = get_cluster(cluster_tag)<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp;173 &nbsp; &nbsp;
                                      cl.load_receipt()<br>
                                      &gt;&gt; &gt;&gt; &gt; &nbsp;&nbsp; &nbsp;174 &nbsp; &nbsp;
                                      plug = cfg.get_plugin(plugin_name)<br>
                                      &gt;&gt; &gt;&gt; &gt; TypeError:
                                      get_cluster() takes exactly 2
                                      arguments (1 given)<br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt; &gt; It's hard
                                      for me to understand what's
                                      happening here. I of course am<br>
                                      &gt;&gt; &gt;&gt; &gt; not<br>
                                      &gt;&gt; &gt;&gt; &gt; calling
                                      get_cluster directly. Is there a
                                      bug in run_plugin() or is<br>
                                      &gt;&gt; &gt;&gt; &gt; there<br>
                                      &gt;&gt; &gt;&gt; &gt; something
                                      wrong in my setup, or both?<br>
                                      &gt;&gt; &gt;&gt; &gt; Thanks<br>
                                      &gt;&gt; &gt;&gt; &gt; Dan<br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt; &gt;
                                      _______________________________________________<br>
                                      &gt;&gt; &gt;&gt; &gt; StarCluster
                                      mailing list<br>
                                      &gt;&gt; &gt;&gt; &gt; <a
                                        moz-do-not-send="true"
                                        href="mailto:StarCluster@mit.edu"
                                        target="_blank">StarCluster@mit.edu</a><br>
                                      &gt;&gt; &gt;&gt; &gt; <a
                                        moz-do-not-send="true"
                                        href="http://mailman.mit.edu/mailman/listinfo/starcluster"
                                        target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;&gt;<br>
                                      &gt;&gt; &gt;<br>
                                      &gt;&gt; &gt;<br>
                                      &gt;&gt;<br>
                                      &gt;<br>
                                      &gt;<br>
                                      <br>
                                    </div>
                                  </div>
                                </blockquote>
                              </div>
                              <br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>