grass-addons icon indicating copy to clipboard operation
grass-addons copied to clipboard

[Bug] r.skyview raises error but seems to run fine

Open cmbarton opened this issue 3 years ago • 2 comments

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

cmbarton avatar Mar 09 '21 20:03 cmbarton

Could you post a reproducible example?

petrasovaa avatar Mar 10 '21 03:03 petrasovaa

Probably reverting part of this commit dealing with messages would help, although I am not sure what is causing the error exactly.

petrasovaa avatar Mar 10 '21 03:03 petrasovaa