Hi Martin, My script work from "Launch Script" command within Grass Gis environment. However, as a standalone script it just executes nothing not even error. So, sleep.time(2) is also not working as expected. Am I missing something? I have attached the script that I used herewith this mail.
Will be looking forward to hearing from you. *Regards,* *Ang Dawa Sherpa* *GIS technician - Irrigation Master Plan* *WRPPF - DOI, Nepal Government* *Lalitpur* *contact: 984 007 3861* On Tue, Jan 3, 2017 at 5:18 PM, Martin Landa <[email protected]> wrote: > Hi, > > 2017-01-03 12:13 GMT+01:00 Ang Sherpa <[email protected]>: > > [once more, please keep discussion on ML] > > > I tried still no luck. I am in windows 10. I tried whole day so almost > out > > of option. Your help will be grateful. > > I tested script on Windows too, it worked, I just needed to increase > sleep to 2secs. This is hidden bug when using graphical monitors in > scripts. It should be solved. You should get at least some error. Eg. > unknown monitor size. Can you reproduce this issue with north carolina > dataset? If so, please sent us the sample. > > 1) does your script work from running GRASS (launch script from the GUI) > [1] > 2) does your script work with file-based display drivers (d.mon > start=cairo output=/path/to/image.png; d.vect ...; d.mon stop=cairo) > > ? > > Ma > > [1] https://trac.osgeo.org/grass/browser/grass/trunk/gui/icons/ > grass/script-load.png > > -- > Martin Landa > http://geo.fsv.cvut.cz/gwiki/Landa > http://gismentors.cz/mentors/landa >
grass_testing2.py
Description: Binary data
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
