[yt-users] Couldn't figure out output type?

Tsz Ka Li tszkali2 at illinois.edu
Tue Feb 15 17:50:28 PST 2011


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 at yahoo.com
> http://stephenskory.com/
> 510.621.3687 (google voice)
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20110215/07039fe6/attachment.html>


More information about the yt-users mailing list