Opened 8 years ago

#464 new defect

create-submit without simulation name gives bad error message

Reported by: Erik Schnetter Owned by: Erik Schnetter
Priority: minor Milestone:
Component: SimFactory Version:
Keywords: Cc:


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/ "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/", line 147, in <module>


File "./bin/../simfactory/lib/", line 143, in main


File "./bin/../simfactory/lib/", line 105, in CommandDispatch


File "/Users/eschnett/EinsteinToolkit-hg-vanilla/simfactory/lib/", line 345, in main


File "/Users/eschnett/EinsteinToolkit-hg-vanilla/simfactory/lib/", line 324, in CommandDispatch

exec("command_%s()" % command)

File "<string>", line 1, in <module>
File "/Users/eschnett/EinsteinToolkit-hg-vanilla/simfactory/lib/", line 125, in command_create_submit

simulationName = simenv.OptionsManager.args.pop(0)

IndexError: pop from empty list

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Erik Schnetter.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from Erik Schnetter to the specified user.
Next status will be 'confirmed'.
The owner will be changed from Erik Schnetter to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.