Hi, I’am trying to start the latest osgeo4w grass on windows 7 but I get an error when I select the dataset. Is it about the language? How can I start grass in english and not in portuguese?
Regards,
Pablo.
Here is the error:
C:>“C:\OSGeo4W\apps\grass\grass-6.4.0svn”\etc\init.bat -wxpython access: Invalid argument
ERRO:LOCAÃ├O << C:\teste/ >> indisponÝvel
Traceback (most recent call last):
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 853,
in
GRASSStartUp = StartUp(0)
File “C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-unicode\wx_core.p
y”, line 7935, in init
self._BootstrapApp()
File “C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-unicode\wx_core.p
y”, line 7509, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 824,
in OnInit
StartUp = GRASSStartup()
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 165,
in init
self._set_properties()
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 206,
in _set_properties
self.OnSetDatabase(None)
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 664,
in OnSetDatabase
self.OnSelectLocation(None)
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 616,
in OnSelectLocation
self.listOfLocations[self.lblocations.GetSelection()]))
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 584,
in UpdateMapsets
stderr=None)
File “C:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gui_modules\gcmd.py”,
line 356, in init
_("Error: ") + self.GetError()))
File “C:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gui_modules\gcmd.py”,
line 449, in GetError
return unicode(msg, “utf-8”)
UnicodeDecodeError: ‘utf8’ codec can’t decode bytes in position 4-5: invalid dat
a
Coloque sua foto num tema anos 60, 70 e 80. Conheça o novo site de I Love Messenger.
I had just installed WinGRASS RC6 with the installer and it worked very well.
Pablo Torres Carreira
From: pablotcarreira@hotmail.com
To: grass-user@lists.osgeo.org
Date: Mon, 22 Mar 2010 12:03:01 -0300
Subject: [GRASS-user] Osgeo4W grass error
Hi, I’am trying to start the latest osgeo4w grass on windows 7 but I get an error when I select the dataset. Is it about the language? How can I start grass in english and not in portuguese?
Regards,
Pablo.
Here is the error:
C:>“C:\OSGeo4W\apps\grass\grass-6.4.0svn”\etc\init.bat -wxpython access: Invalid argument
ERRO:LOCAÃ├O << C:\teste/ >> indisponÝvel
Traceback (most recent call last):
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 853,
in
GRASSStartUp = StartUp(0)
File “C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-unicode\wx_core.p
y”, line 7935, in init
self._BootstrapApp()
File “C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-unicode\wx_core.p
y”, line 7509, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 824,
in OnInit
StartUp = GRASSStartup()
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 165,
in init
self._set_properties()
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 206,
in _set_properties
self.OnSetDatabase(None)
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 664,
in OnSetDatabase
self.OnSelectLocation(None)
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 616,
in OnSelectLocation
self.listOfLocations[self.lblocations.GetSelection()]))
File “C:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 584,
in UpdateMapsets
stderr=None)
File “C:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gui_modules\gcmd.py”,
line 356, in init
_("Error: ") + self.GetError()))
File “C:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gui_modules\gcmd.py”,
line 449, in GetError
return unicode(msg, “utf-8”)
UnicodeDecodeError: ‘utf8’ codec can’t decode bytes in position 4-5: invalid dat
a
Coloque sua foto num tema anos 60, 70 e 80. Conheça o novo site de I Love Messenger.
Fale com seus amigos do Messenger direto da Caixa de Entrada do Hotmail. Clique aqui
Hi Pablo,
good to hear!
Could you check if exporting a vectormap to shp works for you?
see: http://trac.osgeo.org/grass/ticket/1022
Thank you,
Milena
2010/3/22 Pablo Carreira <pablotcarreira@hotmail.com>:
I had just installed WinGRASS RC6 with the installer and it worked very
well.
Pablo Torres Carreira
--
Milena Nowotarska
http://wiki.osgeo.org/wiki/Milena_Nowotarska
http://quantum-gis.pl/
Hi Milena,
It works,
but as reported on ticket 1022 it can’t write to c:
(it’s a windows restriction?).
look at the tests:
Test 1:
v.out.ogr input=areas_recuperacao_trabalhado@geral dsn=c:\temp\teste.shp
The map contains islands. To preserve them in the output map, use the -c flag
Vector map areas_recuperacao_trabalhado@geral is 3D. Use format specific layer creation options (parameter ‘lco’) to export in 3D rather than 2D (default)
131 centroid(s) found, but not requested to be exported. Verify ‘type’ parameter.
Exporting 564 points/lines…
484 features written
91 features without category were written
272 features without attributes were written
(Mon Mar 22 15:54:17 2010) Comando terminado (1 sec)
then I had opened the shp in qgis and the dbf in OO, everithing is ok.
Test 2:
v.out.ogr input=areas_recuperacao_trabalhado@geral dsn=c:\teste.shp
ERROR 1: Failed to create file .shp file.
ERROR 4: Failed to open Shapefile `c:\teste.shp’.
The map contains islands. To preserve them in the output map, use the -c flag
Vector map areas_recuperacao_trabalhado@geral is 3D. Use format specific layer creation options (parameter ‘lco’) to export in 3D rather than 2D (default)
ERROR: Unable to create OGR layer
(Mon Mar 22 16:00:05 2010) Comando terminado (0 sec)
Regards,
Pablo.
Hi Pablo,
good to hear!
Could you check if exporting a vectormap to shp works for you?
see: http://trac.osgeo.org/grass/ticket/1022
Thank you,
Milena
2010/3/22 Pablo Carreira pablotcarreira@hotmail.com:
I had just installed WinGRASS RC6 with the installer and it worked very
well.
Pablo Torres Carreira
–
Milena Nowotarska
http://wiki.osgeo.org/wiki/Milena_Nowotarska
http://quantum-gis.pl/
Fale com seus amigos do Messenger direto da Caixa de Entrada do Hotmail. Clique aqui
Are you using Win7? I think this is a windows restriction that you
can't write to the c:\ root. This gave me a couple of headaches
also....
Cheers
Daniel
On Mon, Mar 22, 2010 at 4:09 PM, Pablo Carreira
<pablotcarreira@hotmail.com> wrote:
Hi Milena,
It works,
but as reported on ticket 1022 it can't write to c:\
(it's a windows restriction?).
look at the tests:
Test 1:
v.out.ogr input=areas_recuperacao_trabalhado@geral
dsn=c:\temp\teste.shp
The map contains islands. To preserve them in the output map, use the -c
flag
Vector map <areas_recuperacao_trabalhado@geral> is 3D. Use format specific
layer creation options (parameter 'lco') to export in 3D rather than 2D
(default)
131 centroid(s) found, but not requested to be exported. Verify 'type'
parameter.
Exporting 564 points/lines...
484 features written
91 features without category were written
272 features without attributes were written
(Mon Mar 22 15:54:17 2010) Comando terminado (1 sec)
then I had opened the shp in qgis and the dbf in OO, everithing is ok.
Test 2:
v.out.ogr input=areas_recuperacao_trabalhado@geral
dsn=c:\teste.shp
ERROR 1: Failed to create file .shp file.
ERROR 4: Failed to open Shapefile `c:\teste.shp'.
The map contains islands. To preserve them in the output map, use the -c
flag
Vector map <areas_recuperacao_trabalhado@geral> is 3D. Use format specific
layer creation options (parameter 'lco') to export in 3D rather than 2D
(default)
ERROR: Unable to create OGR layer
(Mon Mar 22 16:00:05 2010) Comando terminado (0 sec)
Regards,
Pablo.
Hi Pablo,
good to hear!
Could you check if exporting a vectormap to shp works for you?
see: http://trac.osgeo.org/grass/ticket/1022
Thank you,
Milena
2010/3/22 Pablo Carreira <pablotcarreira@hotmail.com>:
> I had just installed WinGRASS RC6 with the installer and it worked very
> well.
>
> Pablo Torres Carreira
>
--
Milena Nowotarska
http://wiki.osgeo.org/wiki/Milena_Nowotarska
http://quantum-gis.pl/
________________________________
Fale com seus amigos do Messenger direto da Caixa de Entrada do Hotmail.
Clique aqui
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Yes, it’s Win 7.
I did some internet research and this restriction was confirmed.
Pablo Torres Carreira
Date: Mon, 22 Mar 2010 16:15:43 -0300
Subject: Re: [GRASS-user] Osgeo4W grass error
From: daniel.victoria@gmail.com
To: pablotcarreira@hotmail.com
CC: do.milenki@gmail.com; grass-user@lists.osgeo.org
Are you using Win7? I think this is a windows restriction that you
can’t write to the c:\ root. This gave me a couple of headaches
also…
Cheers
Daniel
On Mon, Mar 22, 2010 at 4:09 PM, Pablo Carreira
pablotcarreira@hotmail.com wrote:
Hi Milena,
It works,
but as reported on ticket 1022 it can’t write to c:
(it’s a windows restriction?).
look at the tests:
Test 1:
v.out.ogr input=areas_recuperacao_trabalhado@geral
dsn=c:\temp\teste.shp
The map contains islands. To preserve them in the output map, use the -c
flag
Vector map areas_recuperacao_trabalhado@geral is 3D. Use format specific
layer creation options (parameter ‘lco’) to export in 3D rather than 2D
(default)
131 centroid(s) found, but not requested to be exported. Verify ‘type’
parameter.
Exporting 564 points/lines…
484 features written
91 features without category were written
272 features without attributes were written
(Mon Mar 22 15:54:17 2010) Comando terminado (1 sec)
then I had opened the shp in qgis and the dbf in OO, everithing is ok.
Test 2:
v.out.ogr input=areas_recuperacao_trabalhado@geral
dsn=c:\teste.shp
ERROR 1: Failed to create file .shp file.
ERROR 4: Failed to open Shapefile `c:\teste.shp’.
The map contains islands. To preserve them in the output map, use the -c
flag
Vector map areas_recuperacao_trabalhado@geral is 3D. Use format specific
layer creation options (parameter ‘lco’) to export in 3D rather than 2D
(default)
ERROR: Unable to create OGR layer
(Mon Mar 22 16:00:05 2010) Comando terminado (0 sec)
Regards,
Pablo.
Hi Pablo,
good to hear!
Could you check if exporting a vectormap to shp works for you?
see: http://trac.osgeo.org/grass/ticket/1022
Thank you,
Milena
2010/3/22 Pablo Carreira pablotcarreira@hotmail.com:
I had just installed WinGRASS RC6 with the installer and it worked very
well.
Pablo Torres Carreira
–
Milena Nowotarska
http://wiki.osgeo.org/wiki/Milena_Nowotarska
http://quantum-gis.pl/
Fale com seus amigos do Messenger direto da Caixa de Entrada do Hotmail.
Clique aqui
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Quer falar com seus amigos do Messenger sem instalar nada? Clique aqui e veja como.
Hi Pablo,
thank you for the tests. Did you used wxpython interface for them?
for me it still looks like this:
v.out.ogr -c input=boundary_municp@PERMANENT dsn=M:/testy/test.shp
Bad file descriptor: Files
Regards,
Milena
2010/3/22 Pablo Carreira <pablotcarreira@hotmail.com>:
Hi Milena,
It works,
but as reported on ticket 1022 it can't write to c:\
(it's a windows restriction?).
look at the tests:
Test 1:
v.out.ogr input=areas_recuperacao_trabalhado@geral
dsn=c:\temp\teste.shp
The map contains islands. To preserve them in the output map, use the -c
flag
Vector map <areas_recuperacao_trabalhado@geral> is 3D. Use format specific
layer creation options (parameter 'lco') to export in 3D rather than 2D
(default)
131 centroid(s) found, but not requested to be exported. Verify 'type'
parameter.
Exporting 564 points/lines...
484 features written
91 features without category were written
272 features without attributes were written
(Mon Mar 22 15:54:17 2010) Comando terminado (1 sec)
then I had opened the shp in qgis and the dbf in OO, everithing is ok.
Test 2:
v.out.ogr input=areas_recuperacao_trabalhado@geral
dsn=c:\teste.shp
ERROR 1: Failed to create file .shp file.
ERROR 4: Failed to open Shapefile `c:\teste.shp'.
The map contains islands. To preserve them in the output map, use the -c
flag
Vector map <areas_recuperacao_trabalhado@geral> is 3D. Use format specific
layer creation options (parameter 'lco') to export in 3D rather than 2D
(default)
ERROR: Unable to create OGR layer
(Mon Mar 22 16:00:05 2010) Comando terminado (0 sec)
Regards,
Pablo.
Hi Pablo,
good to hear!
Could you check if exporting a vectormap to shp works for you?
see: http://trac.osgeo.org/grass/ticket/1022
Thank you,
Milena
2010/3/22 Pablo Carreira <pablotcarreira@hotmail.com>:
> I had just installed WinGRASS RC6 with the installer and it worked very
> well.
>
> Pablo Torres Carreira
>
--
Milena Nowotarska
http://wiki.osgeo.org/wiki/Milena_Nowotarska
http://quantum-gis.pl/
________________________________
Fale com seus amigos do Messenger direto da Caixa de Entrada do Hotmail.
Clique aqui
--
Milena Nowotarska
http://wiki.osgeo.org/wiki/Milena_Nowotarska
http://quantum-gis.pl/
Hi Milena,
Yes, I used wxpython WinGrass RC6 installer, not the osgeo4w version.
I’ve tried / and , with -c , without -c but I couldn’t reproduce that error.
Regards,
Pablo Torres Carreira
Date: Mon, 22 Mar 2010 23:18:10 +0100
Subject: Re: [GRASS-user] Osgeo4W grass error
From: do.milenki@gmail.com
To: pablotcarreira@hotmail.com
CC: grass-user@lists.osgeo.org
Hi Pablo,
thank you for the tests. Did you used wxpython interface for them?
for me it still looks like this:
v.out.ogr -c input=boundary_municp@PERMANENT dsn=M:/testy/test.shp
Bad file descriptor: Files
Regards,
Milena
2010/3/22 Pablo Carreira pablotcarreira@hotmail.com:
Hi Milena,
It works,
but as reported on ticket 1022 it can’t write to c:
(it’s a windows restriction?).
look at the tests:
Test 1:
v.out.ogr input=areas_recuperacao_trabalhado@geral
dsn=c:\temp\teste.shp
The map contains islands. To preserve them in the output map, use the -c
flag
Vector map areas_recuperacao_trabalhado@geral is 3D. Use format specific
layer creation options (parameter ‘lco’) to export in 3D rather than 2D
(default)
131 centroid(s) found, but not requested to be exported. Verify ‘type’
parameter.
Exporting 564 points/lines…
484 features written
91 features without category were written
272 features without attributes were written
(Mon Mar 22 15:54:17 2010) Comando terminado (1 sec)
then I had opened the shp in qgis and the dbf in OO, everithing is ok.
Test 2:
v.out.ogr input=areas_recuperacao_trabalhado@geral
dsn=c:\teste.shp
ERROR 1: Failed to create file .shp file.
ERROR 4: Failed to open Shapefile `c:\teste.shp’.
The map contains islands. To preserve them in the output map, use the -c
flag
Vector map areas_recuperacao_trabalhado@geral is 3D. Use format specific
layer creation options (parameter ‘lco’) to export in 3D rather than 2D
(default)
ERROR: Unable to create OGR layer
(Mon Mar 22 16:00:05 2010) Comando terminado (0 sec)
Regards,
Pablo.
Hi Pablo,
good to hear!
Could you check if exporting a vectormap to shp works for you?
see: http://trac.osgeo.org/grass/ticket/1022
Thank you,
Milena
2010/3/22 Pablo Carreira pablotcarreira@hotmail.com:
I had just installed WinGRASS RC6 with the installer and it worked very
well.
Pablo Torres Carreira
–
Milena Nowotarska
http://wiki.osgeo.org/wiki/Milena_Nowotarska
http://quantum-gis.pl/
Fale com seus amigos do Messenger direto da Caixa de Entrada do Hotmail.
Clique aqui
–
Milena Nowotarska
http://wiki.osgeo.org/wiki/Milena_Nowotarska
http://quantum-gis.pl/
Transforme-se em personagens engraçados. Conheça o novo site de I Love Messenger.