Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle GDAL parallel process closing on quit #48

Open
dakk opened this issue Jun 9, 2021 · 0 comments
Open

Handle GDAL parallel process closing on quit #48

dakk opened this issue Jun 9, 2021 · 0 comments
Labels

Comments

@dakk
Copy link
Owner

dakk commented Jun 9, 2021

[2021-06-09 13:43:00,748] mainwindow: Quitting...
Process Process-14:
Traceback (most recent call last):
  File "/usr/lib/python3.9/multiprocessing/managers.py", line 801, in _callmethod
    conn = self._tls.connection
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.9/site-packages/gweatherrouting-0.1-py3.9.egg/gweatherrouting/ui/gtk/charts/gdalrasterchart.py", line 104, in worker
    return_dict['surface'] = self.bandToSurface(i)
  File "<string>", line 2, in __setitem__
  File "/usr/lib/python3.9/multiprocessing/managers.py", line 805, in _callmethod
    self._connect()
  File "/usr/lib/python3.9/multiprocessing/managers.py", line 792, in _connect
    conn = self._Client(self._token.address, authkey=self._authkey)
  File "/usr/lib/python3.9/multiprocessing/connection.py", line 507, in Client
    c = SocketClient(address)
  File "/usr/lib/python3.9/multiprocessing/connection.py", line 635, in SocketClient
    s.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
dakk ~/Repositories/MyRepos/gweatherrouting 
@dakk dakk added the bug label Jun 9, 2021
@dakk dakk modified the milestone: 0.1.4 Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant