<html>#2401: CCTK_ScheduleTraverse returns error when trying to traverse Cactus BINS if they are empty
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>Change debc2be4<br />
<a data-is-external-link="true" href="https://bitbucket.org/cactuscode/cactus/commits/debc2be4bf38df287bf5d5d74a238a67f3078f26" rel="nofollow">https://bitbucket.org/cactuscode/cactus/commits/debc2be4bf38df287bf5d5d74a238a67f3078f26</a> "Cactus: inform caller if schedule traversal failed" causes ScheduleTraverse to return error code 2 when trying to traverse a schedule item that is empty. </p>
<p>This causes unexpected error returns for the Cactus schedule BINs (INITIAL, EVOL, etc) that are assumed to always exist, but in fact do  not exist if nothing is scheduled in them.</p>
<p>The simplest workaround is likely for the flesh to schedule empty schedule items for them to ensure they always exist.</p>
<p>Neither PUGH nor Carpet check error returns from ScheduleTravserse, even though it always could return an error code if it ran out of memory.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2401/cctk_scheduletraverse-returns-error-when'>https://bitbucket.org/einsteintoolkit/tickets/issues/2401/cctk_scheduletraverse-returns-error-when</a></p>
</html>