[GRASS-dev] Problem with the wxpython gui

2016-01-22 Thread Ahmadou Dicko
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 + (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.di...@ucad.edu.sn
twitter : @dickoah
github : github/dickoa 
tel : +221 33 827 55 16
portable: +221 77 123 81 69
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] Problem with the wxpython gui

2016-01-22 Thread Ahmadou Dicko
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 <nete...@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.mar...@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.di...@ucad.edu.sn
twitter : @dickoah
github : github/dickoa <https://github.com/dickoa>
tel : +221 33 827 55 16
portable: +221 77 123 81 69
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev