Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912758 - media-radio/chirp fails to download from radio reference
Summary: media-radio/chirp fails to download from radio reference
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-21 16:21 UTC by Rick Farina (Zero_Chaos)
Modified: 2023-08-22 00:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Farina (Zero_Chaos) gentoo-dev 2023-08-21 16:21:55 UTC
Thanks for picking up chirp!

In the old net-wireless/chirp we had `radioreference? ( dev-python/suds[${PYTHON_USEDEP}] )` to add the dep needed for downloading from radio reference.  Up to you if that makes sense to have a use flag or not, but without suds chirp errors and fails

```
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/chirp/wxui/main.py", line 1750, in _menu_query_rr
    self._do_network_query(query_sources.RRQueryDialog)
  File "/usr/lib/python3.11/site-packages/chirp/wxui/main.py", line 1741, in _do_network_query
    d = query_cls(self, title=_('Query %s') % query_cls.NAME)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/chirp/wxui/query_sources.py", line 153, in __init__
    vbox = self.build()
           ^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/chirp/wxui/query_sources.py", line 653, in build
    self.result_radio = radioreference.RadioReferenceRadio()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/chirp/sources/radioreference.py", line 84, in __init__
    raise errors.RadioError(
chirp.errors.RadioError: Suds library required for RadioReference.com import.
Try installing your distribution's python-suds package.
```
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2023-08-21 16:23:05 UTC
Also, can you add myself or the radio project as maintainers?  I would be happy to help.
Comment 2 Marek Szuba (RETIRED) archtester gentoo-dev 2023-08-21 16:36:43 UTC
(In reply to Rick Farina (Zero_Chaos) from comment #0)

> In the old net-wireless/chirp we had `radioreference? (
> dev-python/suds[${PYTHON_USEDEP}] )` to add the dep needed for downloading
> from radio reference.

Looks like someone's forgotten to add suds to setup.py in chirp-next!

> Up to you if that makes sense to have a use flag or
> not, but without suds chirp errors and fails

I do like the idea of having a USE flag for this.

> Also, can you add myself or the radio project as maintainers?  I would be happy to help.

Done! Now you can fix it yourself ;-)
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2023-08-22 00:36:35 UTC
thanks, and so I shall :-)
Comment 4 Larry the Git Cow gentoo-dev 2023-08-22 00:36:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95452e9905aadded7a8177d0a6a644fb2c2e1fb0

commit 95452e9905aadded7a8177d0a6a644fb2c2e1fb0
Author:     Rick Farina <zerochaos@gentoo.org>
AuthorDate: 2023-08-22 00:36:00 +0000
Commit:     Rick Farina <zerochaos@gentoo.org>
CommitDate: 2023-08-22 00:36:39 +0000

    media-radio/chirp: add deps for rr
    
    Closes: https://bugs.gentoo.org/912758
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>

 media-radio/chirp/chirp-20230818.ebuild | 3 ++-
 media-radio/chirp/metadata.xml          | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)