<html>#305: Machine entry in defs.local.ini but not in mdb leads to bad error message
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Ian Hinder</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>open</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>SimFactory</td></tr>
</table>

<p>Changes (by Roland Haas):</p>
<p><table>
<tr><td>status:</td><td>open (was new)</td></tr>
</table></p>
<p>If I have an entry for my local machine in defs.local.ini but I do not have an mdb file for it, I get the following error:</p>
<p>MacBook:llama ian$ sim2 sync datura
  Error: required key basedir in section macbook is missing</p>
<p>This does not tell me what the problem is.  I would expect to get the same error as when the section is not present:</p>
<p>MacBook:llama ian$ sim2 sync damiana
Unknown machine name macbook
Info: Simfactory command: simfactory2/bin/../lib/sim.py "sync" "damiana"
Info: Version 1230
The Simulation Factory: Manage Cactus simulations</p>
<p>Info: defs: /Users/ian/Cactus/llama/simfactory2/etc/defs.ini
Info: defs.local: /Users/ian/Cactus/llama/simfactory2/etc/defs.local.ini
Error: Unknown local machine macbook. Please use 'sim setup' to create a local machine entry from the generic template.</p>
<p><strong>Keyword:</strong></p>
<p>Comment (by Roland Haas):</p>
<p>Pull request is here: <a href="https://bitbucket.org/simfactory/simfactory2/pull-requests/38/rhaas-udbwarnings/diff" rel="nofollow" class="ap-connect-link">https://bitbucket.org/simfactory/simfactory2/pull-requests/38/rhaas-udbwarnings/diff</a></p>
<p>The commit of interest is "simdb: remove incomplete udb entries with warning" with the others setting things up and / or removing some strange behaviour.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/305/machine-entry-in-defslocalini-but-not-in'>https://bitbucket.org/einsteintoolkit/tickets/issues/305/machine-entry-in-defslocalini-but-not-in</a></p>
</html>