[GRASS-user] [d.rast] not working with standalone script

I am stuck with d.rast command. Don’t know what am I missing here?
The script is attached herewith this mail.

(attachments)

grass_script -work.py (957 Bytes)

···

Regards,
Ang Dawa Sherpa
GIS technician - Irrigation Master Plan
WRPPF - DOI, Nepal Government
Lalitpur
contact: 984 007 3861

Hi,

2017-01-02 11:10 GMT+01:00 Ang Sherpa <angsherpa232@gmail.com>:

I am stuck with d.rast command. Don't know what am I missing here?
The script is attached herewith this mail.

what kind of error? BTW, note that wx are interactive graphical
monitors (same as in wxGUI).

Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi,

[please keep discussion on ML]

2017-01-02 15:13 GMT+01:00 Ang Sherpa <angsherpa232@gmail.com>:

It prints all the available raster files. When it comes to execute the d.*
command nothing happens.
Is there other modules that I have to import or gscript will be suffice??

cairo monitors are working for you?

What happens when you type in terminal

d.mon wx1

?

Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa