<div>Hi all,<br></div><div><br></div><div>the error message below is happening with GRASS 7.8.0 installed from the stable PPA on Ubuntu 18.04. It is a type mismatch exception from Python, happens with services from MapServer, all of which QGis can digest correctly. Could this be related to packaging? Or is it a bug with GRASS itself?<br></div><div><br></div><div>Thank you.<br></div><div><br></div><div>> r.in.wms url="<a href="https://maps.isric.org/mapserv?map=/map/soc.map">https://maps.isric.org/mapserv?map=/map/soc.map</a>" layer=soc_0-5cm_mean  output=soc_0-5cm_mean srs=152160 format=png password="s3cret" username="user"<br></div><div>Downloading data from WMS server...<br></div><div>Traceback (most recent call last):<br></div><div>  File "/usr/lib/python3.6/base64.py", line 510, in _input_type_check<br></div><div>    m = memoryview(s)<br></div><div>TypeError: memoryview: a bytes-like object is required, not 'str'<br></div><div><br></div><div>The above exception was the direct cause of the following exception:<br></div><div><br></div><div>Traceback (most recent call last):<br></div><div>  File "/usr/lib/grass78/scripts/r.in.wms", line 267, in <module><br></div><div>    sys.exit(main())<br></div><div>  File "/usr/lib/grass78/scripts/r.in.wms", line 253, in main<br></div><div>    fetched_map = wms.GetMap(options, flags)<br></div><div>  File "/usr/lib/grass78/etc/<a href="http://r.in.wms/wms_base.py">r.in.wms/wms_base.py</a>", line 214, in GetMap<br></div><div>    self.temp_map = self._download()<br></div><div>  File "/usr/lib/grass78/etc/<a href="http://r.in.wms/wms_drv.py">r.in.wms/wms_drv.py</a>", line 69, in _download<br></div><div>    self.cap_file = self._fetchCapabilities(self.params)<br></div><div>  File "/usr/lib/grass78/etc/<a href="http://r.in.wms/wms_base.py">r.in.wms/wms_base.py</a>", line 246, in _fetchCapabilities<br></div><div>    cap = self._fetchDataFromServer(cap_url, options['username'], options['password'])<br></div><div>  File "/usr/lib/grass78/etc/<a href="http://r.in.wms/wms_base.py">r.in.wms/wms_base.py</a>", line 271, in _fetchDataFromServer<br></div><div>    base64string = base64.encodestring('%s:%s' % (username, password)).replace('\n', '')<br></div><div>  File "/usr/lib/python3.6/base64.py", line 540, in encodestring<br></div><div>    return encodebytes(s)<br></div><div>  File "/usr/lib/python3.6/base64.py", line 527, in encodebytes<br></div><div>    _input_type_check(s)<br></div><div>  File "/usr/lib/python3.6/base64.py", line 513, in _input_type_check<br></div><div>    raise TypeError(msg) from err<br></div><div>TypeError: expected bytes-like object, not str<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div>-- <br></div><div>Luís</div></div></div><div><br></div>