<!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">
    Hi Stephen,<br>
    I updated my yt installation but the error didn't go away. Here is
    the new error output:<br>
    <br>
    <i>/turing/home/tszkali2/yt-ppc64/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py:27:
      DeprecationWarning: the md5 module is deprecated; use hashlib
      instead<br>
        import os, glob, time, gc, md5, sys<br>
      yt         ERROR      2011-02-15 19:40:44,354 Couldn't figure out
      output type for DD0025/DD0025<br>
      Traceback (most recent call last):<br>
        File "MergerTree.py", line 25, in <module><br>
          MergerTree(restart_files=files, database=my_database)<br>
        File
      "/turing/home/tszkali2/yt-ppc64/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py",
      line 186, in __init__<br>
          self._run_halo_finder_add_to_db()<br>
        File
      "/turing/home/tszkali2/yt-ppc64/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py",
      line 219, in _run_halo_finder_add_to_db<br>
          self.period = pf.domain_right_edge - pf.domain_left_edge<br>
      AttributeError: 'NoneType' object has no attribute
      'domain_right_edge'<br>
    </i><br>
    Any idea?<br>
    <br>
    Thanks,<br>
    Tsz Ka<br>
    <br>
    <br>
    <br>
    On 2/15/2011 5:52 PM, Stephen Skory wrote:
    <blockquote cite="mid:663618.71724.qm@web112415.mail.gq1.yahoo.com"
      type="cite">
      <pre wrap="">Hi Tsz Ka,

</pre>
      <blockquote type="cite">
        <pre wrap="">     line 219, in _run_halo_finder_add_to_db
</pre>
        <blockquote type="cite">
          <pre wrap="">         self.period = self.pf.domain_right_edge -
</pre>
        </blockquote>
        <pre wrap="">     self.pf.domain_left_edge
</pre>
        <blockquote type="cite">
          <pre wrap="">     AttributeError: 'MergerTree' object has no attribute 'pf'
</pre>
        </blockquote>
        <pre wrap="">
</pre>
      </blockquote>
      <pre wrap="">
Sorry for the error! I just made a simple fix, and if you update your yt install, it should work now (or fail for an entirely different reason!). Let us know if you have more problems.


 Stephen Skory
<a class="moz-txt-link-abbreviated" href="mailto:stephenskory@yahoo.com">stephenskory@yahoo.com</a>
<a class="moz-txt-link-freetext" href="http://stephenskory.com/">http://stephenskory.com/</a>
510.621.3687 (google voice)

_______________________________________________
yt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>
<a class="moz-txt-link-freetext" href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a>

</pre>
    </blockquote>
  </body>
</html>