Hello,
I have an error with wxpython GUI using the latest version and commit of GRASS 7.1
g.version -rge
version=7.1.svn
date=2016
revision=67468M
build_date=2016-01-02
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=67275
libgis_date="2015-12-20 12:50:48 +0000 (Sun, 20 Dec 2015) "
proj4=4.9.1
gdal=2.0.1
geos=3.5.0
sqlite=3.9.2
The error is from ./gui/wxpython/core/gconsole.py line 384
if Debug.GetLevel() == 0 and grass.debug_level(force=True) == 0:
In the version of python grass script I use, the command grass.debug_level(force=True) raises an error.
For now, I can use the gui by replacing grass.debug_level(force=True) by grass.debug_level().
I want to know if I’m anyone has experienced this bug and if the fix will not cause other issues ?
Best,
···
Ahmadou H. DICKO
statistician economist (Ingénieur Statisticien Économiste)
PhD candidate in Climate change economics
Faculty of economics and managment - Cheikh Anta Diop University
West African Science Service Center on Climate Change and Adaptated Land Use (WASCAL)
Center for Development Research (ZEF) - University of Bonn
email : ahmadou.dicko@ucad.edu.sn
twitter : @dickoah
github : github/dickoa
tel : +221 33 827 55 16
portable: +221 77 123 81 69
Hi,
2016-01-22 13:41 GMT+01:00 Ahmadou Dicko <dicko.ahmadou@gmail.com>:
The error is from ./gui/wxpython/core/gconsole.py line 384
if Debug.GetLevel() == 0 and grass.debug_level(force=True) == 0:
In the version of python grass script I use, the command
grass.debug_level(force=True) raises an error.
For now, I can use the gui by replacing grass.debug_level(force=True) by
grass.debug_level().
I want to know if I'm anyone has experienced this bug and if the fix will
not cause other issues ?
it's not the bug, please upgrade your GRASS installation as whole. You
cannot use up-to-date wxGUI code against out-dated python libs. The
debug_level() function has been modified in [1] together with GUI. Ma
[1] https://trac.osgeo.org/grass/changeset/67609/
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
Hi,
maybe to clarify: "trunk" alias 7.1.svn develops rather fast. Your version:
On Fri, Jan 22, 2016 at 1:41 PM, Ahmadou Dicko wrote:
g.version -rge
version=7.1.svn
date=2016
revision=67468M
is not much, so rather days that weeks behind the actual state:
On Fri, Jan 22, 2016 at 2:09 PM, Martin Landa <landa.martin@gmail.com> wrote:
[1] https://trac.osgeo.org/grass/changeset/67609/
which is as of now r67620.
If course no need to update every day, but in this case it will be needed.
Hope this helps,
Markus
Thanks a lot Martin and Markus, I updated the repos and it works now.
I had an issue with my script that was suppose to update automatically my svn repos.
Thanks again
···
On Fri, Jan 22, 2016 at 3:55 PM, Markus Neteler <neteler@osgeo.org> wrote:
Hi,
maybe to clarify: “trunk” alias 7.1.svn develops rather fast. Your version:
On Fri, Jan 22, 2016 at 1:41 PM, Ahmadou Dicko wrote:
g.version -rge
version=7.1.svn
date=2016
revision=67468M
is not much, so rather days that weeks behind the actual state:
On Fri, Jan 22, 2016 at 2:09 PM, Martin Landa <landa.martin@gmail.com> wrote:
[1] https://trac.osgeo.org/grass/changeset/67609/
which is as of now r67620.
If course no need to update every day, but in this case it will be needed.
Hope this helps,
Markus
–
Ahmadou H. DICKO
statistician economist (Ingénieur Statisticien Économiste)
PhD candidate in Climate change economics
Faculty of economics and managment - Cheikh Anta Diop University
West African Science Service Center on Climate Change and Adaptated Land Use (WASCAL)
Center for Development Research (ZEF) - University of Bonn
email : ahmadou.dicko@ucad.edu.sn
twitter : @dickoah
github : github/dickoa
tel : +221 33 827 55 16
portable: +221 77 123 81 69