Modify

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:

Description

Doing:

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/sim.py", line 148, in ?
    main()
  File "simfactory/bin/../lib/sim.py", line 144, in main
    CommandDispatch()
  File "simfactory/bin/../lib/sim.py", line 106, in CommandDispatch
    module.main()
  File "/panfs/ds06/sxs/rhaas/shc/cactus/Zelmani/simfactory/lib/sim-manage.py", line 397, in main
    CommandDispatch()
  File "/panfs/ds06/sxs/rhaas/shc/cactus/Zelmani/simfactory/lib/sim-manage.py", line 376, in CommandDispatch
    exec("command_%s()" % command)
  File "<string>", line 1, in ?
  File "/panfs/ds06/sxs/rhaas/shc/cactus/Zelmani/simfactory/lib/sim-manage.py", 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
Action
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.