Opened 6 years ago

#1274 new defect

python trace instead of error message when simulation name is missing

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



simfactory/bin/sim create-submit --configuration bns_all --parfile ~/scratch/cactus/mhd/MBondi_B1.51253333333333_Mdot1_Sch_Highres.par --procs 16 --walltime 4:0:0

results in

Traceback (most recent call last):
  File "simfactory/bin/../lib/", line 148, in ?
  File "simfactory/bin/../lib/", line 144, in main
  File "simfactory/bin/../lib/", line 106, in CommandDispatch
  File "/panfs/ds06/sxs/rhaas/shc/cactus/Zelmani/simfactory/lib/", line 397, in main
  File "/panfs/ds06/sxs/rhaas/shc/cactus/Zelmani/simfactory/lib/", line 376, in CommandDispatch
    exec("command_%s()" % command)
  File "<string>", line 1, in ?
  File "/panfs/ds06/sxs/rhaas/shc/cactus/Zelmani/simfactory/lib/", line 151, in command_create_submit
    simulationName = simenv.OptionsManager.args.pop(0)
IndexError: pop from empty list

rather than some more useful error message that no simulation name was specified.

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.