<div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif"><font>Hi,<br><br></font></span></div><span style="font-family:arial,helvetica,sans-serif"><font>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:<br>
<br></font></span><pre style="padding:0px;color:rgb(0,0,0);border-radius:0px;display:block;margin:0px;line-height:17.0001px;word-break:break-all;word-wrap:break-word;white-space:pre-wrap;border:0px none;vertical-align:baseline;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(255,255,255)">
<span style="font-family:arial,helvetica,sans-serif"><font><span class="" style="color:rgb(70,130,180)"><span class="" style="color:rgb(0,100,0)">    310</span>             <span class="" style="color:rgb(0,100,0)">if</span> </span>active_particles<span class="" style="color:rgb(165,42,42)">:</span><span class="" style="color:rgb(165,42,42)"></span>
<span class="" style="color:rgb(0,100,0)">    311</span>                 ptypes <span class="" style="color:rgb(165,42,42)">=</span> _next_token_line<span class="" style="color:rgb(165,42,42)">(</span><span class="" style="color:rgb(0,0,139)">"PresentParticleTypes"</span><span class="" style="color:rgb(165,42,42)">,</span> f<span class="" style="color:rgb(165,42,42)">)</span><span class="" style="color:rgb(165,42,42)"></span>
<span class="" style="color:rgb(0,100,0)">--> 312<span class="" style="color:rgb(165,42,42)">                 </span>counts</span> <span class="" style="color:rgb(165,42,42)">=</span> <span class="" style="color:rgb(165,42,42)">[</span>int<span class="" style="color:rgb(165,42,42)">(</span>c<span class="" style="color:rgb(165,42,42)">)</span> <span class="" style="color:rgb(0,100,0)">for</span> c <span class="" style="color:rgb(0,100,0)">in</span> _next_token_line<span class="" style="color:rgb(165,42,42)">(</span><span class="" style="color:rgb(0,0,139)">"ParticleTypeCounts"</span><span class="" style="color:rgb(165,42,42)">,</span> f<span class="" style="color:rgb(165,42,42)">)</span><span class="" style="color:rgb(165,42,42)">]</span><span class="" style="color:rgb(165,42,42)"></span>
<span class="" style="color:rgb(0,100,0)">    313</span>                 <span class="" style="color:rgb(0,100,0)">for</span> ptype <span class="" style="color:rgb(0,100,0)">in</span> self<span class="" style="color:rgb(165,42,42)">.</span>parameters<span class="" style="color:rgb(165,42,42)">.</span>get<span class="" style="color:rgb(165,42,42)">(</span><span class="" style="color:rgb(0,0,139)">"AppendActiveParticleType"</span><span class="" style="color:rgb(165,42,42)">,</span> <span class="" style="color:rgb(165,42,42)">[</span><span class="" style="color:rgb(165,42,42)">]</span><span class="" style="color:rgb(165,42,42)">)</span><span class="" style="color:rgb(165,42,42)">:</span><span class="" style="color:rgb(165,42,42)"></span>
<span class="" style="color:rgb(0,100,0)">    314</span>                     <span class="" style="color:rgb(0,100,0)">if</span> ptype <span class="" style="color:rgb(0,100,0)">in</span> ptypes<span class="" style="color:rgb(165,42,42)">:</span><span class="" style="color:rgb(165,42,42)"></span>

<span class="" style="color:rgb(139,0,0)">TypeError</span>: 'NoneType' object is not iterable<br><br>------<br></font></span></pre><pre style="padding:0px;color:rgb(0,0,0);border-radius:0px;display:block;margin:0px;line-height:17.0001px;word-break:break-all;word-wrap:break-word;white-space:pre-wrap;border:0px none;vertical-align:baseline;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(255,255,255)">
<span style="font-family:arial,helvetica,sans-serif"><font>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?<br>
<br></font></span></pre><pre style="padding:0px;color:rgb(0,0,0);border-radius:0px;display:block;margin:0px;line-height:17.0001px;word-break:break-all;word-wrap:break-word;white-space:pre-wrap;border:0px none;vertical-align:baseline;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(255,255,255)">
<span style="font-family:arial,helvetica,sans-serif"><font>Cheers,<br></font></span></pre><pre style="padding:0px;color:rgb(0,0,0);border-radius:0px;display:block;margin:0px;line-height:17.0001px;word-break:break-all;word-wrap:break-word;white-space:pre-wrap;border:0px none;vertical-align:baseline;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(255,255,255)">
<span style="font-family:arial,helvetica,sans-serif"><font>Kit<br></font></span></pre><span style="font-family:arial,helvetica,sans-serif"></span></div>