$ 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.