Opened 8 years ago

Last modified 6 years ago

#2858 new defect

d.mon cairo cleans the image without overwrite flag

Reported by: wenzeslaus Owned by: grass-dev@…
Priority: normal Milestone: 7.2.4
Component: Display Version: svn-trunk
Keywords: d.mon, rendering, overwrite Cc:
CPU: Unspecified Platform: Linux

Description

d.mon with start=cairo removes whatever is in the output file (named map.png by default) even though the --overwrite flag was not specified. The file is left there but it is empty. This happens in trunk, not in 70 release branch. Here are steps to reproduce it:

  1. Render an image:
d.mon cairo
d.rast elevation
d.mon stop=cairo
  1. View the file map.png. elevation map should be there.
  2. Try to start d.mon again:
> d.mon cairo
ERROR: option <output>: <map.png> exists. To overwrite, use the --overwrite
       flag
  1. Correct error was reported but view the file map.png. It is there but it is empty.

Change History (6)

comment:1 by neteler, 8 years ago

Milestone: 7.1.07.2.0

Milestone renamed

comment:2 by neteler, 7 years ago

Milestone: 7.2.07.2.1

Ticket retargeted after milestone closed

comment:3 by martinl, 7 years ago

Milestone: 7.2.17.2.2

comment:4 by neteler, 7 years ago

Milestone: 7.2.27.2.3

Ticket retargeted after milestone closed

comment:5 by martinl, 6 years ago

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:6 by martinl, 6 years ago

Milestone: 7.2.4
Note: See TracTickets for help on using tickets.