XPost: linux.debian.maint.hams
Package: pyqso
Version: 1.1.0-9
Severity: grave
PyQSO crashes right after being started on Debian Trixie:
$ pyqso
/usr/bin/pyqso:33: DeprecationWarning: pkg_resources is deprecated as an
API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
INFO:root:PyQSO version 1.1.0
INFO:root:Using version 2.2.4 of numpy.
INFO:root:Using version 3.10.1+dfsg1 of matplotlib.
INFO:root:Using version 0.24.1 of cartopy.
WARNING:root:Could not import the geocoder module!
WARNING:root:Could not import the geocoder module!
Traceback (most recent call last):
File "/usr/bin/pyqso", line 174, in <module>
application = PyQSO(args.logbook) # Populate the main window and show it.
File "/usr/bin/pyqso", line 95, in __init__
self.toolbox = Toolbox(self)
~~~~~~~^^^^^^
File "/usr/lib/python3/dist-packages/pyqso/toolbox.py", line 41, in __init__
self.world_map = WorldMap(self.application)
~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pyqso/world_map.py", line 165, in __ init__
toolbar = NavigationToolbar(self.canvas, self.application.window)
TypeError: NavigationToolbar2GTK3.__init__() takes 2 positional arguments
but 3 were given
I had the same issue when working on my PyQSO snap and have fixed it by
using the following patch:
https://git.launchpad.net/pyqso-snap/tree/snap/local/patches/0001-Fix- NavigationToolbar2GTK3-TypeError.patch
And indeed I can confirm that this change also fixed the issue in the deb version on Trixie.
--=_3c226b0661c0bae6605d4797Jd059da-3a22-5a6f-a03f-b94b63079549_Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div>Package: pyqso</div><div>Version: 1.1.0-9</div><div>Severity: grave</div><div><br></div><div>PyQSO crashes right after being started on Debian Trixie:</div><div><br></div><div><div class="-wm-de1">$ pyqso</div><div class="-wm-de1">/usr/
bin/pyqso:33: DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html</div><div class="-wm-de1"> import pkg_resources</div><div class="-wm-de1">INFO:root:PyQSO version 1.1.0</div><div
class="-wm-de1">INFO:root:Using version 2.2.4 of numpy.</div><div class="-wm-de1">INFO:root:Using version 3.10.1+dfsg1 of matplotlib.</div><div class="-wm-de1">INFO:root:Using version 0.24.1 of cartopy.</div><div class="-wm-de1">WARNING:root:Could not
import the geocoder module!</div><div class="-wm-de1">WARNING:root:Could not import the geocoder module!</div><div class="-wm-de1">Traceback (most recent call last):</div><div class="-wm-de1"> File "/usr/bin/pyqso", line 174, in <module></div><
div class="-wm-de1"> application = PyQSO(args.logbook) # Populate the main window and show it.</div><div class="-wm-de1"> File "/usr/bin/pyqso", line 95, in __init__</div><div class="-wm-de1"> self.toolbox = Toolbox(self)</div><div class="-wm-
de1"> ~~~~~~~^^^^^^</div><div class="-wm-de1"> File "/usr/lib/python3/dist-packages/pyqso/toolbox.py", line 41, in __init__</div><div class="-wm-de1"> self.world_map = WorldMap(self.application)</div><div class="-wm-de1">
~~~~~~~~^^^^^^^^^^^^^^^^^^</div><div class="-wm-de1"> File "/usr/lib/python3/dist-packages/pyqso/world_map.py", line 165, in __init__</div><div class="-wm-de1"> toolbar = NavigationToolbar(self.canvas, self.application.window)</div>
TypeError: NavigationToolbar2GTK3.__init__() takes 2 positional arguments but 3 were given</div><div><br></div><div>I had the same issue when working on my PyQSO snap and have fixed it by using the following patch:</div><div><br></div><div>
https://git.
launchpad.net/pyqso-snap/tree/snap/local/patches/0001-Fix-NavigationToolbar2GTK3-TypeError.patch</div><div><br></div><div>And indeed I can confirm that this change also fixed the issue in the deb version on Trixie.</div></body></html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)