Engine shouldn't print output file names which don't exist

Bug #817081 reported by Lars Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Low
Mattia Barbon

Bug Description

Running this (with the latest master, evening of July 27th 2011):
$ bin/openquake --config_file=smoketests/simplecase/config.gem

I get a bunch of print statements like this:

WARNING:root:/Users/larsbutler/proj/openquake/smoketests/simplecase/computed_output/gmf-0_0-470.xml
WARNING:root:/Users/larsbutler/proj/openquake/smoketests/simplecase/computed_output/gmf-0_0-471.xml
WARNING:root:/Users/larsbutler/proj/openquake/smoketests/simplecase/computed_output/gmf-0_0-476.xml
WARNING:root:/Users/larsbutler/proj/openquake/smoketests/simplecase/computed_output/gmf-0_0-477.xml
WARNING:root:/Users/larsbutler/proj/openquake/smoketests/simplecase/computed_output/gmf-0_0-474.xml
WARNING:root:/Users/larsbutler/proj/openquake/smoketests/simplecase/computed_output/gmf-0_0-475.xml
WARNING:root:/Users/larsbutler/proj/openquake/smoketests/simplecase/computed_output/gmf-0_0-478.xml
WARNING:root:/Users/larsbutler/proj/openquake/smoketests/simplecase/computed_output/gmf-0_0-479.xml
WARNING:root:/Users/larsbutler/proj/openquake/smoketests/simplecase/computed_output/simplecase-loss-block-BLOCK:1.xml
WARNING:root:/Users/larsbutler/proj/openquake/smoketests/simplecase/computed_output/simplecase-loss-block-BLOCK:2.xml

However, unless I specify --output_type=xml, these files don't actually exist.

Revision history for this message
Gabriele Favalessa (favalex) wrote : Re: [Bug 817081] [NEW] Engine shouldn't print output file names which don't exist

If the printing of the files was intended a debug maybe we can remove it
altogether.

Is it really useful for the users? Don't they keep the results of different
simulations in different folders anyway?

BTW the printing is at openquake/job/__init__.py:78

John Tarter (toh2)
Changed in openquake:
milestone: none → 0.4.3
importance: Undecided → Low
Changed in openquake:
status: New → In Progress
assignee: nobody → Mattia Barbon (mattia.barbon)
Revision history for this message
Mattia Barbon (mattia.barbon) wrote :
Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.