[ET Trac] [Einstein Toolkit] #315: SimRestart instance has no attribute 'SimulationDir'
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Sun Feb 27 05:43:52 CST 2011
#315: SimRestart instance has no attribute 'SimulationDir'
------------------------+---------------------------------------------------
Reporter: hinder | Owner: mthomas
Type: defect | Status: new
Priority: major | Milestone:
Component: SimFactory | Version:
Keywords: |
------------------------+---------------------------------------------------
Using r1234, I cannot clean up a simulation on damiana. I get the error:
AttributeError: SimRestart instance has no attribute 'SimulationDir'
I thought that these things should be picked up by pychecker?
[ianhin at login-damiana llama]$ sim2 cleanup --machine datura bbhllama_22a
Info: Simfactory command: simfactory2/bin/../lib/sim.py "cleanup" "--
machine" "datura" "bbhllama_22a"
Info: Version exported
The Simulation Factory: Manage Cactus simulations
Info: defs: /home/ianhin/Cactus/llama/simfactory2/etc/defs.ini
Info: defs.local: /home/ianhin/Cactus/llama/simfactory2/etc/defs.local.ini
Info: Cactus Directory: /home/ianhin/Cactus/llama
Info: simenv.COMMAND: cleanup
Info: Executing command: cleanup
Info: Simulation name: bbhllama_22a
Traceback (most recent call last):
File "simfactory2/bin/../lib/sim.py", line 141, in ?
main()
File "simfactory2/bin/../lib/sim.py", line 138, in main
CommandDispatch()
File "simfactory2/bin/../lib/sim.py", line 105, in CommandDispatch
module.main()
File "/home/ianhin/Cactus/llama/simfactory2/lib/sim-manage.py", line
335, in main
CommandDispatch()
File "/home/ianhin/Cactus/llama/simfactory2/lib/sim-manage.py", line
314, in CommandDispatch
exec("command_%s()" % command)
File "<string>", line 1, in ?
File "/home/ianhin/Cactus/llama/simfactory2/lib/sim-manage.py", line 70,
in command_cleanup
rids = restartlib.GetRestartIds(restart)
File "/home/ianhin/Cactus/llama/simfactory2/lib/restartlib.py", line
380, in GetRestartIds
simulationdir = restart.SimulationDir
AttributeError: SimRestart instance has no attribute 'SimulationDir'
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/315>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list