[ET Trac] [Einstein Toolkit] #464: create-submit without simulation name gives bad error message
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Jul 4 11:00:33 CDT 2011
#464: create-submit without simulation name gives bad error message
------------------------+---------------------------------------------------
Reporter: eschnett | Owner: eschnett
Type: defect | Status: new
Priority: minor | Milestone:
Component: SimFactory | Version:
Keywords: |
------------------------+---------------------------------------------------
Calling create-submit without specifying a simulation name does not give a
legible error message:
$ ./bin/sim create-submit --debug
Info: Simfactory command: ./bin/../simfactory/lib/sim.py "create-submit" "
--debug"
Info: Version 1371M
The Simulation Factory: Manage Cactus simulations
Info: defs: /Users/eschnett/EinsteinToolkit-hg-
vanilla/simfactory/etc/defs.ini
Info: defs.local: /Users/eschnett/EinsteinToolkit-hg-
vanilla/simfactory/etc/defs.local.ini
Info: Cactus Directory: /Users/eschnett/EinsteinToolkit-hg-vanilla
Info: simenv.COMMAND: create-submit
Info: Executing command: create_submit
Traceback (most recent call last):
File "./bin/../simfactory/lib/sim.py", line 147, in <module>
main()
File "./bin/../simfactory/lib/sim.py", line 143, in main
CommandDispatch()
File "./bin/../simfactory/lib/sim.py", line 105, in CommandDispatch
module.main()
File "/Users/eschnett/EinsteinToolkit-hg-vanilla/simfactory/lib/sim-
manage.py", line 345, in main
CommandDispatch()
File "/Users/eschnett/EinsteinToolkit-hg-vanilla/simfactory/lib/sim-
manage.py", line 324, in CommandDispatch
exec("command_%s()" % command)
File "<string>", line 1, in <module>
File "/Users/eschnett/EinsteinToolkit-hg-vanilla/simfactory/lib/sim-
manage.py", line 125, in command_create_submit
simulationName = simenv.OptionsManager.args.pop(0)
IndexError: pop from empty list
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/464>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list