Machine entry in defs.local.ini but not in mdb leads to bad error message

Issue #305 new
Ian Hinder created an issue

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:

MacBook:llama ian$ sim2 sync datura Error: required key basedir in section macbook is missing

This does not tell me what the problem is. I would expect to get the same error as when the section is not present:

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

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.

Keyword:

Comments (0)

  1. Log in to comment