[GRASS-dev] [GRASS-user] GCP GUI error

On Fri, Jan 10, 2014 at 1:31 AM, Ahmadou Dicko <dicko.ahmadou@gmail.com> wrote:

Hi,

I'm using the GRASS GIS 7 :

g.version -g
version=7.0.svn
date=2014
revision=58660
build_date=2014-01-10

And since my last build (today) I can't use properly the gcp gui, more
precisely I can't select a maps. When I launch the gcp gui (from the
console) and try to select a mapset, I have this error message :

  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gcp/manager.py", line 390,
in OnLocation
    self.cb_mapset.SetItems(self.mapsetList)
AttributeError: 'MapsetSelect' object has no attribute 'SetItems'

I don't know if it's a bug or a problem with my setup and I hope that I gave
enough information to help to eventually fix this.

It seems that this is more general bug in the GUI, because a similar
bug appears with r.proj and v.proj, probably caused by recent changes
to gui/wxpython/gui_core/gselect.py

Markus M

Thanks

--
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

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hi,

2014/1/10 Markus Metz <markus.metz.giswork@gmail.com>:

It seems that this is more general bug in the GUI, because a similar
bug appears with r.proj and v.proj, probably caused by recent changes
to gui/wxpython/gui_core/gselect.py

right, this widget has been changed to accept multiple values. I will
fix reported issue ASAP. Sorry for inconvenience. Martin

Hi,

2014/1/11 Ahmadou Dicko <dicko.ahmadou@gmail.com>:

Thanks.
Meanwhile, are there any way to use the gcp ? Do I have to install GRASS 64
to do my georectification ?

no, I will fix the reported bug today. Thanks for patience, Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Hi,

2014/1/11 Martin Landa <landa.martin@gmail.com>:

Thanks.
Meanwhile, are there any way to use the gcp ? Do I have to install GRASS 64
to do my georectification ?

no, I will fix the reported bug today. Thanks for patience, Martin

please try r58674. Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Hi,

2014/1/11 Ahmadou Dicko <dicko.ahmadou@gmail.com>:

Thank you very much Martin.
I tried and it works but I have to copy the image I want to rectify to the
PERMANENT mapset
For some reason I cannot choose other mapset than the PERMANENT at the
'create or edit imagery group' window.

are you speaking about first page of the wizard. It's working for me.
Does your source location contain really more mapsets.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Hi,

2014/1/11 Ahmadou Dicko <dicko.ahmadou@gmail.com>:

Not the first page but at the second page when you click on 'create or edit
group'.
I just have two mapsets in my source location (one + PERMANENT).

right, should be fixed in r58675. I will check other parts of the
wxGUI for similar problem. Martin

On Sat, Jan 11, 2014 at 6:44 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2014/1/11 Ahmadou Dicko <dicko.ahmadou@gmail.com>:

Not the first page but at the second page when you click on 'create or edit
group'.
I just have two mapsets in my source location (one + PERMANENT).

right, should be fixed in r58675. I will check other parts of the
wxGUI for similar problem. Martin

The GUI for [r|v].ptoj is still not working: the list of mapsets does
not match the selected location.

Markus M

Hi,

2014/1/12 Markus Metz <markus.metz.giswork@gmail.com>:

The GUI for [r|v].ptoj is still not working: the list of mapsets does
not match the selected location.

thanks for reminder, should be fixed r58679. Anyway this part of
forms.py needs to be complete rewriten using signals.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Sun, Jan 12, 2014 at 12:10 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2014/1/12 Markus Metz <markus.metz.giswork@gmail.com>:

The GUI for [r|v].ptoj is still not working: the list of mapsets does
not match the selected location.

thanks for reminder, should be fixed r58679. Anyway this part of
forms.py needs to be complete rewriten using signals.

The GUI for [r|v].proj is still not working: the list of mapsets is
now correct, but the list of raster maps is wrong.

Please test before committing changes.

Markus M

Hi,

2014/1/13 Markus Metz <markus.metz.giswork@gmail.com>:

On Sun, Jan 12, 2014 at 12:10 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2014/1/12 Markus Metz <markus.metz.giswork@gmail.com>:

The GUI for [r|v].ptoj is still not working: the list of mapsets does
not match the selected location.

thanks for reminder, should be fixed r58679. Anyway this part of
forms.py needs to be complete rewriten using signals.

The GUI for [r|v].proj is still not working: the list of mapsets is
now correct, but the list of raster maps is wrong.

the problem is that this part of form.py need to be rewritten for
which I do not have time at this moment. Should be hopefully fixed in
r58701.

Please test before committing changes.

Sorry for inconvenience. Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Mon, Jan 13, 2014 at 8:15 AM, Martin Landa <landa.martin@gmail.com>wrote:

Hi,

2014/1/13 Markus Metz <markus.metz.giswork@gmail.com>:
> On Sun, Jan 12, 2014 at 12:10 PM, Martin Landa <landa.martin@gmail.com>
wrote:
>> Hi,
>>
>> 2014/1/12 Markus Metz <markus.metz.giswork@gmail.com>:
>>> The GUI for [r|v].ptoj is still not working: the list of mapsets does
>>> not match the selected location.
>>
>> thanks for reminder, should be fixed r58679. Anyway this part of
>> forms.py needs to be complete rewriten using signals.
>
> The GUI for [r|v].proj is still not working: the list of mapsets is
> now correct, but the list of raster maps is wrong.

the problem is that this part of form.py need to be rewritten for
which I do not have time at this moment. Should be hopefully fixed in
r58701.

The truth is that the whole forms needs to be rewritten and also parser

mechanism needs some improvements in the future and this should be
considered when rewriting forms. So, I'm not sure who and when is going to
do more than small improvements. I noted that there were some efforts
considering the parser...