[GRASS-user] r.in.gdal don't start in 7.0.1

Hi,
I install the wingrass 7.0.1 on my win7 64bit.

The program start normally, but when try to open the r.in.gdal tool I
see this error:

Traceback (most recent call last):
  File "C:\Program Files (x86)\GRASS GIS
7.0.1\gui\wxpython\lmgr\frame.py", line 1679, in
OnImportGdalLayers

dlg = GdalImportDialog(parent = self, giface = self._giface)
  File "C:\Program Files (x86)\GRASS GIS
7.0.1\gui\wxpython\gui_core\dialogs.py", line 1878, in
__init__

" ({mightNotWork})".format(mightNotWork=mightNotWork)))
UnicodeEncodeError
:
'ascii' codec can't encode character u'\xf9' in position 37:
ordinal not in range(128)

I try to re-install but the issue is still here.
however I'm not sure this s a grass issue or a local issue.

Should I open a ticket ?

A.

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------

On Wed, Aug 12, 2015, 3:30 AM Andrea Peri <aperi2007@gmail.com> wrote:

Hi,
I install the wingrass 7.0.1 on my win7 64bit.

The program start normally, but when try to open the r.in.gdal tool I
see this error:

Traceback (most recent call last):
File “C:\Program Files (x86)\GRASS GIS
7.0.1\gui\wxpython\lmgr\frame.py”, line 1679, in
OnImportGdalLayers

dlg = GdalImportDialog(parent = self, giface = self._giface)
File “C:\Program Files (x86)\GRASS GIS
7.0.1\gui\wxpython\gui_core\dialogs.py”, line 1878, in
init

" ({mightNotWork})".format(mightNotWork=mightNotWork)))
UnicodeEncodeError
:
‘ascii’ codec can’t encode character u’\xf9’ in position 37:
ordinal not in range(128)

I try to re-install but the issue is still here.
however I’m not sure this s a grass issue or a local issue.

Should I open a ticket ?

Yes please open a ticket. Which locale do you use?

Anna

A.

Andrea Peri
. . . . . . . . .
qwerty àèìòù


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

On Wed, Aug 12, 2015 at 9:30 AM, Andrea Peri <aperi2007@gmail.com> wrote:

Hi,
I install the wingrass 7.0.1 on my win7 64bit.

The program start normally, but when try to open the r.in.gdal tool I
see this error:

Traceback (most recent call last):
  File "C:\Program Files (x86)\GRASS GIS
7.0.1\gui\wxpython\lmgr\frame.py", line 1679, in
OnImportGdalLayers

dlg = GdalImportDialog(parent = self, giface = self._giface)
  File "C:\Program Files (x86)\GRASS GIS
7.0.1\gui\wxpython\gui_core\dialogs.py", line 1878, in
__init__

" ({mightNotWork})".format(mightNotWork=mightNotWork)))

...

This code is from

./gui/wxpython/gui_core/dialogs.py: mightNotWork = _("this
might not work for multiple bands")
./gui/wxpython/gui_core/dialogs.py: "
({mightNotWork})".format(mightNotWork=mightNotWork)))
./gui/wxpython/gui_core/dialogs.py: "
({mightNotWork})".format(mightNotWork=mightNotWork)))

which only exists in GRASS 7.0 but not 7.1. Perhaps potential for backport?

Markus

Is a customized italian locale.
Is an italian, but with dot "." as decimal separator (instead of
comma) and comma as thousand separator (instead of dot).

A.

2015-08-12 13:27 GMT+02:00 Anna Petrášová <kratochanna@gmail.com>:

On Wed, Aug 12, 2015, 3:30 AM Andrea Peri <aperi2007@gmail.com> wrote:

Hi,
I install the wingrass 7.0.1 on my win7 64bit.

The program start normally, but when try to open the r.in.gdal tool I
see this error:

Traceback (most recent call last):
  File "C:\Program Files (x86)\GRASS GIS
7.0.1\gui\wxpython\lmgr\frame.py", line 1679, in
OnImportGdalLayers

dlg = GdalImportDialog(parent = self, giface = self._giface)
  File "C:\Program Files (x86)\GRASS GIS
7.0.1\gui\wxpython\gui_core\dialogs.py", line 1878, in
__init__

" ({mightNotWork})".format(mightNotWork=mightNotWork)))
UnicodeEncodeError
:
'ascii' codec can't encode character u'\xf9' in position 37:
ordinal not in range(128)

I try to re-install but the issue is still here.
however I'm not sure this s a grass issue or a local issue.

Should I open a ticket ?

Yes please open a ticket. Which locale do you use?

Anna

A.

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------

On Wed, Aug 12, 2015 at 7:54 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Aug 12, 2015 at 9:30 AM, Andrea Peri <aperi2007@gmail.com> wrote:
> Hi,
> I install the wingrass 7.0.1 on my win7 64bit.
>
> The program start normally, but when try to open the r.in.gdal tool I
> see this error:
>
> Traceback (most recent call last):
> File "C:\Program Files (x86)\GRASS GIS
> 7.0.1\gui\wxpython\lmgr\frame.py", line 1679, in
> OnImportGdalLayers
>
> dlg = GdalImportDialog(parent = self, giface = self._giface)
> File "C:\Program Files (x86)\GRASS GIS
> 7.0.1\gui\wxpython\gui_core\dialogs.py", line 1878, in
> __init__
>
> " ({mightNotWork})".format(mightNotWork=mightNotWork)))
...

This code is from

./gui/wxpython/gui_core/dialogs.py: mightNotWork = _("this
might not work for multiple bands")
./gui/wxpython/gui_core/dialogs.py: "
({mightNotWork})".format(mightNotWork=mightNotWork)))
./gui/wxpython/gui_core/dialogs.py: "
({mightNotWork})".format(mightNotWork=mightNotWork)))

which only exists in GRASS 7.0 but not 7.1. Perhaps potential for backport?

It seems r64372 was not backported, I tried to backport it, but there is
some error when testing it, so I'll have to look at it later...

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

Open ticket.
https://trac.osgeo.org/grass/ticket/2720

Thx,
A.

2015-08-12 13:27 GMT+02:00 Anna Petrášová <kratochanna@gmail.com>:

On Wed, Aug 12, 2015, 3:30 AM Andrea Peri <aperi2007@gmail.com> wrote:

Hi,
I install the wingrass 7.0.1 on my win7 64bit.

The program start normally, but when try to open the r.in.gdal tool I
see this error:

Traceback (most recent call last):
  File "C:\Program Files (x86)\GRASS GIS
7.0.1\gui\wxpython\lmgr\frame.py", line 1679, in
OnImportGdalLayers

dlg = GdalImportDialog(parent = self, giface = self._giface)
  File "C:\Program Files (x86)\GRASS GIS
7.0.1\gui\wxpython\gui_core\dialogs.py", line 1878, in
__init__

" ({mightNotWork})".format(mightNotWork=mightNotWork)))
UnicodeEncodeError
:
'ascii' codec can't encode character u'\xf9' in position 37:
ordinal not in range(128)

I try to re-install but the issue is still here.
however I'm not sure this s a grass issue or a local issue.

Should I open a ticket ?

Yes please open a ticket. Which locale do you use?

Anna

A.

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------