Hi Stephen,
I updated my yt installation but the error didn't go away. Here is the new error output:

/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
  import os, glob, time, gc, md5, sys
yt         ERROR      2011-02-15 19:40:44,354 Couldn't figure out output type for DD0025/DD0025
Traceback (most recent call last):
  File "MergerTree.py", line 25, in <module>
    MergerTree(restart_files=files, database=my_database)
  File "/turing/home/tszkali2/yt-ppc64/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py", line 186, in __init__
    self._run_halo_finder_add_to_db()
  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
    self.period = pf.domain_right_edge - pf.domain_left_edge
AttributeError: 'NoneType' object has no attribute 'domain_right_edge'

Any idea?

Thanks,
Tsz Ka



On 2/15/2011 5:52 PM, Stephen Skory wrote:
Hi Tsz Ka,

     line 219, in _run_halo_finder_add_to_db
         self.period = self.pf.domain_right_edge -
     self.pf.domain_left_edge
     AttributeError: 'MergerTree' object has no attribute 'pf'

      
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
stephenskory@yahoo.com
http://stephenskory.com/
510.621.3687 (google voice)

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org