[GRASS-dev] r.in.wms: decode() is not defined

Veronica Andreo veroandreo at gmail.com
Wed Sep 19 08:40:36 PDT 2018


Now I get a different one:

Traceback (most recent call last):
  File
"/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/gui/scripts/d.wms",
line 214, in <module>
    sys.exit(main())
  File
"/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/gui/scripts/d.wms",
line 207, in main
    temp_map = wms.GetMap(options, flags)
  File
"/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/etc/r.in.wms/wms_base.py",
line 215, in GetMap
    self.temp_map = self._download()
  File
"/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/etc/r.in.wms/wms_drv.py",
line 232, in _download
    temp_map_dataset.SetProjection(projection)
  File "/usr/lib64/python2.7/site-packages/osgeo/gdal.py", line 1851, in
SetProjection
    return _gdal.Dataset_SetProjection(self, *args)
TypeError: in method 'Dataset_SetProjection', argument 2 of type 'char
const *'

GRASS_INFO_END(3660,1)
ERROR 4:
/home/veroandreo/grassdata/latlong_wgs84/pruebas/.tmp/localhost.localdomain/3210.4:
No such file or directory
ERROR 4:
/home/veroandreo/grassdata/latlong_wgs84/pruebas/.tmp/localhost.localdomain/3210.4:
No such file or directory

using r73371

Vero

El mié., 19 sept. 2018 a las 15:27, Anna Petrášová (<kratochanna at gmail.com>)
escribió:

> Try r73369.
>
> On Wed, Sep 19, 2018 at 8:17 AM Veronica Andreo <veroandreo at gmail.com>
> wrote:
>
>> I use the module from the GUI and I get the same error as Yann in the
>> terminal, plus:
>>
>> GRASS_INFO_END(28730,1)
>> ERROR 4:
>> /home/veroandreo/grassdata/nc_spm_08_grass7/user1/.tmp/localhost.localdomain/28556.4:
>> No such file or directory
>> ERROR 4:
>> /home/veroandreo/grassdata/nc_spm_08_grass7/user1/.tmp/localhost.localdomain/28556.4:
>> No such file or directory
>>
>> Vero
>>
>> El mié., 19 sept. 2018 a las 8:50, Yann Chemin (<dr.yann.chemin at gmail.com>)
>> escribió:
>>
>>> Hi
>>>
>>> maybe I am missing a library?
>>>
>>> /usr/local/grass-7.7.svn/scripts/r.in.wms url=url="
>>> https://tiles.maps.eox.at/wms?" output=sen2cloudless layers=s2cloudless
>>> Traceback (most recent call last):
>>>   File "/usr/local/grass-7.7.svn/scripts/r.in.wms", line
>>> 241, in <module>
>>>     sys.exit(main())
>>>   File "/usr/local/grass-7.7.svn/scripts/r.in.wms", line
>>> 227, in main
>>>     fetched_map = wms.GetMap(options, flags)
>>>   File "/usr/local/grass-7.7.svn/etc/r.in.wms/wms_base.py",
>>> line 212, in GetMap
>>>     self._initializeParameters(options, flags)
>>>   File "/usr/local/grass-7.7.svn/etc/r.in.wms/wms_base.py",
>>> line 137, in _initializeParameters
>>>     self.proj_srs = decode(self.proj_srs).rstrip('\n')
>>> NameError: global name 'decode' is not defined
>>>
>>>
>>>
>>> ----------
>>> Dr. Yann Chemin
>>> Freelancer
>>> +33 7 83 85 5234
>>> 3 Toulmelin, 56400 Plumergat, FR
>>> https://www.paypal.me/yannchemin
>>> _______________________________________________
>>> grass-dev mailing list
>>> grass-dev at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/grass-dev
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180919/9c50f7e8/attachment-0001.html>


More information about the grass-dev mailing list