• Bug#1109825: PyQSO crashes on launch

    From [email protected]@21:1/5 to All on Thu Jul 24 15:30:01 2025
    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 &lt;module&gt;</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)
  • From Christoph Berg@21:1/5 to All on Thu Jul 24 16:50:01 2025
    XPost: linux.debian.maint.hams

    Re: [email protected]
    PyQSO crashes right after being started on Debian Trixie:

    TBH I had trusted you to have tested this when you filed #1109511.
    There was already a freeze exception for that.

    I do not use pyqso, and these ultra last minute fixes won't make the
    package more maintained, neither upstream nor in Debian. Perhaps we
    should just remove it.

    Christoph

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to All on Thu Jul 24 19:00:01 2025
    XPost: linux.debian.maint.hams

    Of course I have tested it, but it was sadly my own build (that I base the
    Snap on), not the Debian package. And to be honest, I trusted that Enrico actually tested it 5 months ago when he did the dependency fix.




    This time, I have also directly modified the Debian build, did some basic testing and confirmed that everything _works fine_ now after this one line
    fix.




    Removing some package that actually (as far as I know) has thousands of
    users in Debian, Ubuntu and Linux Mint is not a good idea, but it is up to
    you - it is probably better than keeping that package in such broken state
    if you do not want to maintain it and make one more fix (and one more trixie unblock).




    Regards,

    Daniel (OK2VLK)



    "Re: [email protected]
    PyQSO crashes right after being started on Debian Trixie:

    TBH I had trusted you to have tested this when you filed #1109511.
    There was already a freeze exception for that.

    I do not use pyqso, and these ultra last minute fixes won't make the
    package more maintained, neither upstream nor in Debian. Perhaps we
    should just remove it.

    Christoph
    "
    --=_066043853a53946633c529faJd059da-3a22-5a6f-a03f-b94b63079549_Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><body><div>Of course I have tested it, but it was sadly my own build (that I base the Snap on), not the Debian package. And to be honest, I trusted that Enrico actually tested it 5 months ago when he did the dependency fix.</div><div><br></div><div>
    This time, I have also directly modified the Debian build, did some basic testing and confirmed that everything _works fine_ now after this one line fix.</div><div><br></div><div>Removing some package that actually (as far as I know) has thousands of
    users in Debian, Ubuntu and Linux Mint is not a good idea, but it is up to you - it is probably better than keeping that package in such broken state if you do not want to maintain it and make one more fix (and one more trixie unblock).</div><div><br></
    <div>Regards,</div><div>Daniel (OK2VLK)</div><div><br></div><blockquote data-email="[email protected]">Re: [email protected]<br>&gt; PyQSO crashes right after being started on Debian Trixie:<br><br>TBH I had trusted you to have tested this when
    you filed #1109511.<br>There was already a freeze exception for that.<br><br>I do not use pyqso, and these ultra last minute fixes won't make the<br>package more maintained, neither upstream nor in Debian. Perhaps we<br>should just remove it.<br><
    Christoph<br></blockquote></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christoph Berg@21:1/5 to All on Fri Jul 25 18:30:01 2025
    XPost: linux.debian.maint.hams

    Re: [email protected]
    This time, I have also directly modified the Debian build, did some basic testing and confirmed that everything _works fine_ now after this one line fix.

    Hi Daniel,

    Enrico fixed the package. Could you please test that it works like you
    wanted?

    Removing some package that actually (as far as I know) has thousands of
    users in Debian, Ubuntu and Linux Mint is not a good idea, but it is up to you - it is probably better than keeping that package in such broken state
    if you do not want to maintain it and make one more fix (and one more trixie unblock).

    I think you are overestimating the number of hams on Linux.

    Christoph

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to All on Sat Jul 26 01:00:01 2025
    XPost: linux.debian.maint.hams

    Hi Christoph,




    Sure, I have just installed it and did some basic testing. Everything seems
    to work correctly now!




    Any chance you could do one more Trixie freeze unblock?




    Thanks a lot!




    Regards,

    Daniel




    P.S. I would not underestimate the amount of Linux hams either. :-) Of the
    100 of our local hams that I personally know, almost half use GNU/Linux
    (mostly Ubuntu or Mint). And my ham-related Flatpaks on Flathub also all
    have pretty good numbers of unique installations.



    "Re: [email protected]
    This time, I have also directly modified the Debian build, did some basic

    testing and confirmed that everything _works fine_ now after this one line

    fix.

    Hi Daniel,

    Enrico fixed the package. Could you please test that it works like you
    wanted?

    Removing some package that actually (as far as I know) has thousands of
    users in Debian, Ubuntu and Linux Mint is not a good idea, but it is up to

    you - it is probably better than keeping that package in such broken state

    if you do not want to maintain it and make one more fix (and one more
    trixie
    unblock).

    I think you are overestimating the number of hams on Linux.

    Christoph
    "
    --=_6419750727f50b6a4b589c3dJd059da-3a22-5a6f-a03f-b94b63079549_Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><body><div>Hi&nbsp;Christoph,</div><div><br></div><div>Sure, I have just installed it and did some basic testing. Everything seems to work correctly now!</div><div><br></div><div>Any chance you could do one more Trixie freeze unblock?</div><div><br>
    </div><div>Thanks a lot!</div><div><br></div><div>Regards,</div><div>Daniel</div><div><br></div><div>P.S. I would not underestimate the amount of Linux hams either. :-) Of the 100 of our local hams that I personally know, almost half use GNU/Linux (
    mostly Ubuntu or Mint). And my ham-related Flatpaks on Flathub also all have pretty good numbers of unique installations.</div><div><br></div><blockquote data-email="[email protected]">Re: [email protected]<br>&gt; This time, I have also directly
    modified the Debian build, did some basic <br>&gt; testing and confirmed that everything _works fine_ now after this one line<br>&gt; fix.<br><br>Hi Daniel,<br><br>Enrico fixed the package. Could you please test that it works like you<br>wanted?<
    <br>&gt; Removing some package that actually (as far as I know) has thousands of <br>&gt; users in Debian, Ubuntu and Linux Mint is not a good idea, but it is up to<br>&gt; you - it is probably better than keeping that package in such broken state<
    &gt; if you do not want to maintain it and make one more fix (and one more trixie<br>&gt; unblock).<br><br>I think you are overestimating the number of hams on Linux.<br><br>Christoph<br></blockquote></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)