[GRASS-dev] g.gui.timeline Bad file descriptor on exit

Anna Petrášová kratochanna at gmail.com
Wed Feb 15 19:03:38 PST 2017


On Wed, Feb 15, 2017 at 4:59 PM, Markus Neteler <neteler at osgeo.org> wrote:
> Hi,
>
> currently exiting from g.gui.timeline does not work properly:
>
> # test case
> grass72 ~/grassdata/nc_climate_spm_2000_2012/climate_1970_2012/
> g.gui.timeline tempmean_2012
> Error in atexit._run_exitfuncs:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File "/home/neteler/software/grass72/dist.x86_64-pc-linux-gnu/etc/python/grass/temporal/core.py",
> line 437, in stop_subprocesses
>     c_library_interface.stop()
>   File "/home/neteler/software/grass72/dist.x86_64-pc-linux-gnu/etc/python/grass/pygrass/rpc/base.py",
> line 176, in stop
>     self.client_conn.send([0, ])
> IOError: [Errno 9] Bad file descriptor
> Error in sys.exitfunc:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File "/home/neteler/software/grass72/dist.x86_64-pc-linux-gnu/etc/python/grass/temporal/core.py",
> line 437, in stop_subprocesses
>     c_library_interface.stop()
>   File "/home/neteler/software/grass72/dist.x86_64-pc-linux-gnu/etc/python/grass/pygrass/rpc/base.py",
> line 176, in stop
>     self.client_conn.send([0, ])
> IOError: [Errno 9] Bad file descriptor
>
> Shall I open a ticket or is that easy to fix?
>

Fortunately it was easy, please test and I will backport.

Anna



> Markus
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list