Bug #10305
closednew beta of chirp radio reference is not popping
100%
Description
the download from radio reference is not popping up when selected
Files
Updated by Jim Unroe 7 days ago
- File 2023-01-22 17_13_37-Query RadioReference.png 2023-01-22 17_13_37-Query RadioReference.png added
- Status changed from New to Feedback
Ricco march wrote:
the download from radio reference is not popping up when selected
I just tried with today's build (CHIRP next-20230122) and it popped up for me (Windows 10 Pro). I don't have a RadioReference account so I can't proceed any further.
Jim KC9HI
Updated by Dan Smith 6 days ago
Please attach a debug log per the instructions in How_To_Report_Issues.
Updated by Mark Leigh 4 days ago
Traceback (most recent call last): File "/home/user/PycharmProjects/chirp/chirp/wxui/main.py", line 1349, in _menu_query_rr self._do_network_query(query_sources.RRQueryDialog) File "/home/user/PycharmProjects/chirp/chirp/wxui/main.py", line 1340, in _do_network_query d = query_cls(self, title=_('Query %s') % query_cls.NAME) File "/home/user/PycharmProjects/chirp/chirp/wxui/query_sources.py", line 152, in __init__ vbox = self.build() File "/home/user/PycharmProjects/chirp/chirp/wxui/query_sources.py", line 518, in build value=CONF.get_password('password', File "/home/user/PycharmProjects/chirp/chirp/wxui/config.py", line 83, in get_password return base64.b64decode(encoded.encode()).decode() UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 1: invalid start byte
It's related to the new (and important) effort to store passwords in something slightly less dicey than plaintext. But for anyone (most users I expect) who have their passwords already stored plaintext, it will not launch the query dialog. Just as proof of confirmation, config.py lines 82 onwards below; this works for me...
try: return encoded #return base64.b64decode(encoded.encode()).decode() except binascii.Error: # Likely not stored encoded, return as-is return encoded
Updated by Mark Leigh 4 days ago
It's plaintext in the chirp conf; and the password IS valid base64 :)
Updated by Dan Smith 4 days ago
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
Applied in changeset github|d1c2bc74dadd7b17b8909dbb0aa172013023f1c5.