[yt-users] TypeError: 'NoneType' object is not iterable

Nathan Goldbaum nathan12343 at gmail.com
Sun Aug 17 10:34:20 PDT 2014


Hi Wing,

Thanks for the bug report, I'm able to reproduce it over here. The issue
seems to be that we incremented the "version" number in the latest enzo
release and that has interfered with the logic in yt that is used to detect
the version of the output type.

I've created an issue to track this here:
https://bitbucket.org/yt_analysis/yt/issue/881/yt-is-unable-to-read-outputs-created-by

Hopefully this will be fixed soon, at which point you'll be able to update
and get a working copy of yt.

Thanks for the bug report!

-Nathan


On Sun, Aug 17, 2014 at 6:48 AM, Wing-Kit Lee <wklee at asiaa.sinica.edu.tw>
wrote:

> Hi,
>
> I am new to yt and enzo. I have been able to compile and run a few 'test'
> simulations in enzo. However, when I use 'yt plot xxx', it complains the
> following:
>
>     310             if active_particles:    311                 ptypes = _next_token_line("PresentParticleTypes", f)--> 312                 counts = [int(c) for c in _next_token_line("ParticleTypeCounts", f)]    313                 for ptype in self.parameters.get("AppendActiveParticleType", []):    314                     if ptype in ptypes:
> TypeError: 'NoneType' object is not iterable
>
> ------
>
> I recall it worked when I was using yt 2.x version a few months ago. The problem seems to appear for the current yt. The tests with enzo I ran were MHDCTOrszangTang in 2D, ShearingBox in 3D (there are no particles). Any clues?
>
>
> Cheers,
>
> Kit
>
>
> _______________________________________________
> 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/20140817/f518433b/attachment.htm>


More information about the yt-users mailing list