Opened 7 years ago
Last modified 6 years ago
#3417 new enhancement
t.merge and t.rast.algebra: enhance error message when output stds already exists
Reported by: | veroandreo | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.6.2 |
Component: | Default | Version: | unspecified |
Keywords: | t.merge, error message | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
If the output stds already exists, G7:t.merge stops with the following:
t.merge inputs=daily_zeros_apr2003_oct2016,wnv_indicator_eip13 output=eip13_noholes Traceback (most recent call last): File "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/scripts/t.merge", line 147, in <module> main() File "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/scripts/t.merge", line 104, in main (stds.get_new_map_instance(None).get_type(), output_id)) File "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/etc/python/grass/script/core.py", line 663, in fatal raise ScriptError(msg) grass.exceptions.ScriptError: Unable to merge maps into space time raster dataset <eip13_noholes@nuevo_lst> please use the overwrite flag.
Something very similar happens with G7:t.rast.algebra. Is it possible to make these messages nicer, so the user only gets the last part of it, i.e.: the error, as in other modules?
I use trunk r71485 in a Fedora25 box.
Change History (5)
comment:1 by , 7 years ago
Milestone: | 7.4.0 → 7.4.1 |
---|
comment:2 by , 7 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
comment:3 by , 6 years ago
Milestone: | 7.4.2 → 7.6.0 |
---|
All enhancement tickets should be assigned to 7.6 milestone.
Note:
See TracTickets
for help on using tickets.
Ticket retargeted after milestone closed