#2751 closed defect (fixed)
G_progress() does not support GRASS_MESSAGE_FORMAT=gui
Reported by: | rblazek | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.8.0 |
Component: | Default | Version: | unspecified |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Unspecified |
Description
G_progress() does not support GRASS_MESSAGE_FORMAT=gui. If the format is set to gui, it should print something like
fprintf(stderr, "GRASS_INFO_PROGRESS: %d\n", n);
so that it can be parsed in GUI.
Change History (5)
comment:1 by , 9 years ago
comment:2 by , 7 years ago
Milestone: | → 7.2.4 |
---|
comment:3 by , 6 years ago
Milestone: | 7.2.4 → 7.8.0 |
---|
comment:5 by , 6 years ago
GRASS_MESSAGE_FORMAT=gui v.random o=n n=100000 --o ... RASS_INFO_MESSAGE(11109,4): Registering primitives... GRASS_INFO_END(11109,4) GRASS_INFO_PROGRESS: 10000 GRASS_INFO_PROGRESS: 20000 GRASS_INFO_PROGRESS: 30000 GRASS_INFO_PROGRESS: 40000 GRASS_INFO_PROGRESS: 50000 GRASS_INFO_PROGRESS: 60000 GRASS_INFO_PROGRESS: 70000 GRASS_INFO_PROGRESS: 80000 GRASS_INFO_PROGRESS: 90000 GRASS_INFO_PROGRESS: 100000
Note:
See TracTickets
for help on using tickets.
Sounds reasonable, can you please attach a patch?