grass-addons
grass-addons copied to clipboard
[Bug] r.skyview raises error but seems to run fine
Describe the bug When r.skyview is run, it displays this error in the console at the end of the run:
Computing skyview factor ...
Color table for raster map <skyview> set to 'grey'
Creating color table for output raster map...
Writing raster map <skyview_reds>...
r.composite complete. Raster map <skyview_reds> created.
Process Process-1:
Traceback (most recent call last):
File "/Applications/GRASS-7.8.app/Contents/Resources/lib/p
ython3.8/multiprocessing/process.py", line 315, in
_bootstrap
self.run()
File "/Applications/GRASS-7.8.app/Contents/Resources/lib/p
ython3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Applications/GRASS-7.8.app/Contents/Resources/etc/p
ython/grass/pygrass/messages/__init__.py", line 66, in
message_server
data = conn.recv()
File "/Applications/GRASS-7.8.app/Contents/Resources/lib/p
ython3.8/multiprocessing/connection.py", line 250, in recv
buf = self._recv_bytes()
File "/Applications/GRASS-7.8.app/Contents/Resources/lib/p
ython3.8/multiprocessing/connection.py", line 414, in
_recv_bytes
buf = self._recv(4)
File "/Applications/GRASS-7.8.app/Contents/Resources/lib/p
ython3.8/multiprocessing/connection.py", line 383, in _recv
raise EOFError
EOFError
It seems to produce the requisite maps, but I can't tell if these are inaccurate in come way.
System description (please complete the following information):
- Operating System: Mac OS 11.2.2
- GRASS GIS version 7.8.6
Could you post a reproducible example?
Probably reverting part of this commit dealing with messages would help, although I am not sure what is causing the error exactly.