<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 6, 2015 at 2:08 PM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>Hi, when I define to regions in g.gui.animation (under the advanced tab), and press OK and OK again, the 'Rendering map layers' gets as far as (3 out of 12) and then the g.gui.animation freezes. Error messages in the console below.<br><br></div>Any idea whether this is a bug or if I am doing something wrong?<br></div></div></blockquote><div><br></div><div>This happens in trunk, right? Could you try r65540?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div>Paulo<br><div><div><br>g.gui.animation strds=tmean@Worlclim <br>Description:<br> Manages the boundary definitions for the geographic region.<br>Keywords:<br> general, settings<br>Usage:<br> g.region [-dsplectwmn3bgau] [region=name]<br>[raster=name[,name,...]]<br> [raster_3d=name] [vector=name[,name,...]] [n=value]<br>[s=value]<br> [e=value] [w=value] [t=value] [b=value] [rows=value]<br>[cols=value]<br> [res=value] [res3=value] [nsres=value] [ewres=value]<br>[tbres=value]<br> [zoom=name] [align=name] [save=name] [--overwrite]<br>[--help]<br> [--verbose] [--quiet] [--ui]<br>Flags:<br> -d Set from default region<br> -s Save as default region<br> Only possible from the PERMANENT mapset<br> -p Print the current region<br> -l Print the current region in lat/long using the<br>current ellipsoid/datum<br> -e Print the current region extent<br> -c Print the current region map center coordinates<br> -t Print the current region in GMT style<br> -w Print the current region in WMS style<br> -m Print region resolution in meters (geodesic)<br> -n Print the convergence angle (degrees CCW)<br> The difference between the projection's grid north<br>and true north, measured at the center coordinates of the<br>current region.<br> -3 Print also 3D settings<br> -b Print the maximum bounding box in lat/long on WGS84<br> -g Print in shell script style<br> -a Align region to resolution (default = align to<br>bounds, works only for 2D resolution)<br> -u Do not update the current region<br> --o Allow output files to overwrite existing files<br> --h Print usage summary<br> --v Verbose module output<br> --q Quiet module output<br> --ui Force launching GUI dialog<br>Parameters:<br> region Set current region from named region<br> raster Set region to match raster map(s)<br> raster_3d Set region to match 3D raster map(s) (both 2D<br>and 3D values)<br> vector Set region to match vector map(s)<br> n Value for the northern edge<br> s Value for the southern edge<br> e Value for the eastern edge<br> w Value for the western edge<br> t Value for the top edge<br> b Value for the bottom edge<br> rows Number of rows in the new region<br> cols Number of columns in the new region<br> res 2D grid resolution (north-south and east-west)<br> res3 3D grid resolution (north-south, east-west and<br>top-bottom)<br> nsres North-south 2D grid resolution<br> ewres East-west 2D grid resolution<br> tbres Top-bottom 3D grid resolution<br> zoom Shrink region until it meets non-NULL data<br>from this raster map<br> align Adjust region cells to cleanly align with this<br>raster map<br> save Save current region settings in named region<br>file<br>ERROR: g.region: Sorry, <projection> is not a valid<br>parameter<br>ERROR: g.region: Sorry, <zone> is not a valid parameter<br>Process Process-27:<br>Traceback (most recent call last):<br> File "/usr/lib/python2.7/multiprocessing/process.py", line<br>258, in _bootstrap<br> self.run()<br> File "/usr/lib/python2.7/multiprocessing/process.py", line<br>114, in run<br> self._target(*self._args, **self._kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/gui/wxpython/animati<br>on/provider.py", line 493, in RenderProcess2D<br> os.environ['GRASS_REGION'] = gcore.region_env(**region)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 1003, in region_env<br> s = read_command('g.region', flags=flgs, **kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 427, in read_command<br> return handle_errors(returncode, stdout, args, kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 312, in handle_errors<br> returncode=returncode)<br>CalledModuleError: Module run None ['g.region', '-ug',<br>'e=47.9916666667', 'projection=3', 'zone=0', 'n=14.9',<br>'s=3.31666666667', 'w=32.9916666667',<br>'ewres=0.0188442211055', 'nsres=0.024540960452'] ended with<br>error<br>Process ended with non-zero return code 1. See errors in the<br>(error) output.<br>Description:<br> Manages the boundary definitions for the geographic region.<br>Keywords:<br> general, settings<br>Usage:<br> g.region [-dsplectwmn3bgau] [region=name]<br>[raster=name[,name,...]]<br> [raster_3d=name] [vector=name[,name,...]] [n=value]<br>[s=value]<br> [e=value] [w=value] [t=value] [b=value] [rows=value]<br>[cols=value]<br> [res=value] [res3=value] [nsres=value] [ewres=value]<br>[tbres=value]<br> [zoom=name] [align=name] [save=name] [--overwrite]<br>[--help]<br> [--verbose] [--quiet] [--ui]<br>Flags:<br> -d Set from default region<br> -s Save as default region<br> Only possible from the PERMANENT mapset<br> -p Print the current region<br> -l Print the current region in lat/long using the<br>current ellipsoid/datum<br> -e Print the current region extent<br> -c Print the current region map center coordinates<br> -t Print the current region in GMT style<br> -w Print the current region in WMS style<br> -m Print region resolution in meters (geodesic)<br> -n Print the convergence angle (degrees CCW)<br> The difference between the projection's grid north<br>and true north, measured at the center coordinates of the<br>current region.<br> -3 Print also 3D settings<br> -b Print the maximum bounding box in lat/long on WGS84<br> -g Print in shell script style<br> -a Align region to resolution (default = align to<br>bounds, works only for 2D resolution)<br> -u Do not update the current region<br> --o Allow output files to overwrite existing files<br> --h Print usage summary<br> --v Verbose module output<br> --q Quiet module output<br> --ui Force launching GUI dialog<br>Parameters:<br> region Set current region from named region<br> raster Set region to match raster map(s)<br> raster_3d Set region to match 3D raster map(s) (both 2D<br>and 3D values)<br> vector Set region to match vector map(s)<br> n Value for the northern edge<br> s Value for the southern edge<br> e Value for the eastern edge<br> w Value for the western edge<br> t Value for the top edge<br> b Value for the bottom edge<br> rows Number of rows in the new region<br> cols Number of columns in the new region<br> res 2D grid resolution (north-south and east-west)<br> res3 3D grid resolution (north-south, east-west and<br>top-bottom)<br> nsres North-south 2D grid resolution<br> ewres East-west 2D grid resolution<br> tbres Top-bottom 3D grid resolution<br> zoom Shrink region until it meets non-NULL data<br>from this raster map<br> align Adjust region cells to cleanly align with this<br>raster map<br> save Save current region settings in named region<br>file<br>ERROR: g.region: Sorry, <projection> is not a valid<br>parameter<br>ERROR: g.region: Sorry, <zone> is not a valid parameter<br>Description:<br> Manages the boundary definitions for the geographic region.<br>Keywords:<br> general, settings<br>Usage:<br> g.region [-dsplectwmn3bgau] [region=name]<br>[raster=name[,name,...]]<br> [raster_3d=name] [vector=name[,name,...]] [n=value]<br>[s=value]<br> [e=value] [w=value] [t=value] [b=value] [rows=value]<br>[cols=value]<br> [res=value] [res3=value] [nsres=value] [ewres=value]<br>[tbres=value]<br> [zoom=name] [align=name] [save=name] [--overwrite]<br>[--help]<br> [--verbose] [--quiet] [--ui]<br>Flags:<br> -d Set from default region<br> -s Save as default region<br> Only possible from the PERMANENT mapset<br> -p Print the current region<br> -l Print the current region in lat/long using the<br>current ellipsoid/datum<br> -e Print the current region extent<br> -c Print the current region map center coordinates<br> -t Print the current region in GMT style<br> -w Print the current region in WMS style<br> -m Print region resolution in meters (geodesic)<br> -n Print the convergence angle (degrees CCW)<br> The difference between the projection's grid north<br>and true north, measured at the center coordinates of the<br>current region.<br> -3 Print also 3D settings<br> -b Print the maximum bounding box in lat/long on WGS84<br> -g Print in shell script style<br> -a Align region to resolution (default = align to<br>bounds, works only for 2D resolution)<br> -u Do not update the current region<br> --o Allow output files to overwrite existing files<br> --h Print usage summary<br> --v Verbose module output<br> --q Quiet module output<br> --ui Force launching GUI dialog<br>Parameters:<br> region Set current region from named region<br> raster Set region to match raster map(s)<br> raster_3d Set region to match 3D raster map(s) (both 2D<br>and 3D values)<br> vector Set region to match vector map(s)<br> n Value for the northern edge<br> s Value for the southern edge<br> e Value for the eastern edge<br> w Value for the western edge<br> t Value for the top edge<br> b Value for the bottom edge<br> rows Number of rows in the new region<br> cols Number of columns in the new region<br> res 2D grid resolution (north-south and east-west)<br> res3 3D grid resolution (north-south, east-west and<br>top-bottom)<br> nsres North-south 2D grid resolution<br> ewres East-west 2D grid resolution<br> tbres Top-bottom 3D grid resolution<br> zoom Shrink region until it meets non-NULL data<br>from this raster map<br> align Adjust region cells to cleanly align with this<br>raster map<br> save Save current region settings in named region<br>file<br>ERROR: g.region: Sorry, <projection> is not a valid<br>parameter<br>ERROR: g.region: Sorry, <zone> is not a valid parameter<br>Process Process-28:<br>Traceback (most recent call last):<br> File "/usr/lib/python2.7/multiprocessing/process.py", line<br>258, in _bootstrap<br> self.run()<br> File "/usr/lib/python2.7/multiprocessing/process.py", line<br>114, in run<br> self._target(*self._args, **self._kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/gui/wxpython/animati<br>on/provider.py", line 493, in RenderProcess2D<br> os.environ['GRASS_REGION'] = gcore.region_env(**region)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 1003, in region_env<br> s = read_command('g.region', flags=flgs, **kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 427, in read_command<br> return handle_errors(returncode, stdout, args, kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 312, in handle_errors<br> returncode=returncode)<br>CalledModuleError: Module run None ['g.region', '-ug',<br>'e=45.0583333333', 'projection=3', 'zone=0',<br>'n=12.3696969697', 's=4.51363636364', 'w=35.0613636364',<br>'ewres=0.012559007157', 'nsres=0.0166441961993'] ended with<br>error<br>Process ended with non-zero return code 1. See errors in the<br>(error) output.<br>Process Process-29:<br>Traceback (most recent call last):<br> File "/usr/lib/python2.7/multiprocessing/process.py", line<br>258, in _bootstrap<br> self.run()<br> File "/usr/lib/python2.7/multiprocessing/process.py", line<br>114, in run<br> self._target(*self._args, **self._kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/gui/wxpython/animati<br>on/provider.py", line 493, in RenderProcess2D<br> os.environ['GRASS_REGION'] = gcore.region_env(**region)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 1003, in region_env<br> s = read_command('g.region', flags=flgs, **kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 427, in read_command<br> return handle_errors(returncode, stdout, args, kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 312, in handle_errors<br> returncode=returncode)<br>CalledModuleError: Module run None ['g.region', '-ug',<br>'e=44.325', 'projection=3', 'zone=0', 'n=11.7371212121',<br>'s=4.81287878788', 'w=35.5787878788',<br>'ewres=0.0109877036699', 'nsres=0.0146700051361'] ended with<br>error<br>Process ended with non-zero return code 1. See errors in the<br>(error) output.<br>Description:<br> Manages the boundary definitions for the geographic region.<br>Keywords:<br> general, settings<br>Usage:<br> g.region [-dsplectwmn3bgau] [region=name]<br>[raster=name[,name,...]]<br> [raster_3d=name] [vector=name[,name,...]] [n=value]<br>[s=value]<br> [e=value] [w=value] [t=value] [b=value] [rows=value]<br>[cols=value]<br> [res=value] [res3=value] [nsres=value] [ewres=value]<br>[tbres=value]<br> [zoom=name] [align=name] [save=name] [--overwrite]<br>[--help]<br> [--verbose] [--quiet] [--ui]<br>Flags:<br> -d Set from default region<br> -s Save as default region<br> Only possible from the PERMANENT mapset<br> -p Print the current region<br> -l Print the current region in lat/long using the<br>current ellipsoid/datum<br> -e Print the current region extent<br> -c Print the current region map center coordinates<br> -t Print the current region in GMT style<br> -w Print the current region in WMS style<br> -m Print region resolution in meters (geodesic)<br> -n Print the convergence angle (degrees CCW)<br> The difference between the projection's grid north<br>and true north, measured at the center coordinates of the<br>current region.<br> -3 Print also 3D settings<br> -b Print the maximum bounding box in lat/long on WGS84<br> -g Print in shell script style<br> -a Align region to resolution (default = align to<br>bounds, works only for 2D resolution)<br> -u Do not update the current region<br> --o Allow output files to overwrite existing files<br> --h Print usage summary<br> --v Verbose module output<br> --q Quiet module output<br> --ui Force launching GUI dialog<br>Parameters:<br> region Set current region from named region<br> raster Set region to match raster map(s)<br> raster_3d Set region to match 3D raster map(s) (both 2D<br>and 3D values)<br> vector Set region to match vector map(s)<br> n Value for the northern edge<br> s Value for the southern edge<br> e Value for the eastern edge<br> w Value for the western edge<br> t Value for the top edge<br> b Value for the bottom edge<br> rows Number of rows in the new region<br> cols Number of columns in the new region<br> res 2D grid resolution (north-south and east-west)<br> res3 3D grid resolution (north-south, east-west and<br>top-bottom)<br> nsres North-south 2D grid resolution<br> ewres East-west 2D grid resolution<br> tbres Top-bottom 3D grid resolution<br> zoom Shrink region until it meets non-NULL data<br>from this raster map<br> align Adjust region cells to cleanly align with this<br>raster map<br> save Save current region settings in named region<br>file<br>ERROR: g.region: Sorry, <projection> is not a valid<br>parameter<br>ERROR: g.region: Sorry, <zone> is not a valid parameter<br>Process Process-30:<br>Traceback (most recent call last):<br> File "/usr/lib/python2.7/multiprocessing/process.py", line<br>258, in _bootstrap<br> self.run()<br> File "/usr/lib/python2.7/multiprocessing/process.py", line<br>114, in run<br> self._target(*self._args, **self._kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/gui/wxpython/animati<br>on/provider.py", line 493, in RenderProcess2D<br> os.environ['GRASS_REGION'] = gcore.region_env(**region)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 1003, in region_env<br> s = read_command('g.region', flags=flgs, **kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 427, in read_command<br> return handle_errors(returncode, stdout, args, kwargs)<br> File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr<br>ipt/core.py", line 312, in handle_errors<br> returncode=returncode)<br>CalledModuleError: Module run None ['g.region', '-ug',<br>'e=40.6583333333', 'projection=3', 'zone=0',<br>'n=8.57424242424', 's=6.30909090909', 'w=38.1659090909',<br>'ewres=0.0031311862342', 'nsres=0.00479904982024'] ended<br>with error<br>Process ended with non-zero return code 1. See errors in the<br>(error) output.<br>(Mon Jul 6 20:02:42 2015) Command finished (52 sec) <br><br></div></div></div>
<br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div>