[GRASS-dev] create location in windows

Markus Neteler neteler at osgeo.org
Wed Jul 29 07:42:30 PDT 2015


On Wed, Jul 29, 2015 at 4:33 PM, Luca Delucchi <lucadeluge at gmail.com> wrote:
> Hi devs,
>
> a colleague of mine has problem creating new location on Windows7.
> Here the error that she got using epsg code or prj file
>
> Traceback (most recent call last):
>   File "C:\Program Files (x86)\GRASS GIS 7.0.1RC1\gui\wxpython\gis_set.py", line
>  500, in OnWizard
>     grassdatabase = self.tgisdbase.GetValue())
>   File "C:\Program Files (x86)\GRASS GIS 7.0.1RC1\gui\wxpython\location_wizard\w
> izard.py", line 1916, in __init__
>     msg = self.OnWizFinished()
>   File "C:\Program Files (x86)\GRASS GIS 7.0.1RC1\gui\wxpython\location_wizard\w
> izard.py", line 2111, in OnWizFinished
>     **addl_opts)
>   File "C:\Program Files (x86)\GRASS GIS 7.0.1RC1\etc\python\grass\script\core.p
> y", line 1396, in create_location
>     encoding='utf-8', mode='w')

... mhh, once again an encoding issue?

>   File "C:\Program Files (x86)\GRASS GIS 7.0.1RC1\Python27\lib\codecs.py", line
> 881, in open
>     file = __builtin__.open(filename, mode, buffering)
> IOError: [Errno 2] No such file or directory: u'D:\\GEOGRAPHY\\MODIS\\PERMANENT\
> \MYNAME'

I wonder why there are double \\ while two lines above there are only
the common single \.

Just guessing...

>
> D:\\GEOGRAPHY\\ exists and MODIS should be the location.

Is D:\\GEOGRAPHY\\MODIS\\PERMANENT\ there?

> Any idea? a bug already fixes in RC2?

Good question, maybe worth trying.

Markus


More information about the grass-dev mailing list