[yt-users] load error
John Wise
jwise at physics.gatech.edu
Fri Sep 9 10:33:27 PDT 2011
Hi Stephen,
I've run into this problem before. One of the parameters (probably
SimpleQ) has "inf" as the value. As a workaround, I manually changed
this to 0.0 in the parameter file because it's not used in the run I was
doing.
I fixed this bug yesterday in Enzo's week-of-code, but I didn't do
anything to the yt codebase.
Cheers,
John
On 09/09/2011 01:13 PM, Stephen Skory wrote:
> Hi all,
>
> I am getting the error below on an enzo dataset. I am using a
> completely fresh install of yt using the development branch. I've
> tried deleting .yt files and clearing out my ~/.yt directory. Nothing
> works. Does anyone have any ideas? Thanks!
>
> Traceback (most recent call last):
> File "projections.py", line 9, in<module>
> pf = load("DD%04d/data%04d" % (this,this))
> File "/home/stsk4691/yt/src/yt-hg/yt/convenience.py", line 91, in load
> return output_type_registry[candidates[0]](*args, **kwargs)
> File "/home/stsk4691/yt/src/yt-hg/yt/frontends/enzo/data_structures.py",
> line 660, in __init__
> StaticOutput.__init__(self, filename, data_style, file_style=file_style)
> File "/home/stsk4691/yt/src/yt-hg/yt/data_objects/static_output.py",
> line 86, in __init__
> self._parse_parameter_file()
> File "/home/stsk4691/yt/src/yt-hg/yt/frontends/enzo/data_structures.py",
> line 786, in _parse_parameter_file
> vals = pcast(vals[0])
> ValueError: invalid literal for int() with base 10: 'inf'
>
--
John Wise
Assistant Professor of Physics
Center for Relativistic Astrophysics, Georgia Tech
More information about the yt-users
mailing list