curseradio: crashes on some "by language" nodes

  • Open
  • quality assurance status badge
Details
One participant
  • Christopher Howard
Owner
unassigned
Submitted by
Christopher Howard
Severity
normal
C
C
Christopher Howard wrote on 17 Jul 2020 19:34
(address . bug-guix@gnu.org)
4d42f95b0284157fc0772b34643b79a2cede154c.camel@alaskasi.com
I was trying to view Gaelic internet radio stations, but if I select By
Language >> Gaelic in the curseradio menu, the program crashes with the
stderr output:

"""
Traceback (most recent call last):
File "/gnu/store/x7x07z4f84np5x6ryhb713l8k94rrjxp-curseradio-0-
1.1bd4bd0/bin/.curseradio-real", line 11, in <module>
load_entry_point('curseradio==0.2', 'console_scripts',
'curseradio')()
File "/gnu/store/x7x07z4f84np5x6ryhb713l8k94rrjxp-curseradio-0-
1.1bd4bd0/lib/python3.8/site-packages/curseradio/__main__.py", line 5,
in main
curses.wrapper(OPMLBrowser)
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-
3.8.2/lib/python3.8/curses/__init__.py", line 105, in wrapper
return func(stdscr, *args, **kwds)
File "/gnu/store/x7x07z4f84np5x6ryhb713l8k94rrjxp-curseradio-0-
1.1bd4bd0/lib/python3.8/site-packages/curseradio/curseradio.py", line
280, in __init__
self.interact()
File "/gnu/store/x7x07z4f84np5x6ryhb713l8k94rrjxp-curseradio-0-
1.1bd4bd0/lib/python3.8/site-packages/curseradio/curseradio.py", line
396, in interact
for msg in self.selected.activate():
File "/gnu/store/x7x07z4f84np5x6ryhb713l8k94rrjxp-curseradio-0-
1.1bd4bd0/lib/python3.8/site-packages/curseradio/curseradio.py", line
220, in activate
fakeroot = OPMLOutline.from_xml(self.url)
File "/gnu/store/x7x07z4f84np5x6ryhb713l8k94rrjxp-curseradio-0-
1.1bd4bd0/lib/python3.8/site-packages/curseradio/curseradio.py", line
64, in from_xml
result.children = [OPMLNode.from_element(o)
File "/gnu/store/x7x07z4f84np5x6ryhb713l8k94rrjxp-curseradio-0-
1.1bd4bd0/lib/python3.8/site-packages/curseradio/curseradio.py", line
64, in <listcomp>
result.children = [OPMLNode.from_element(o)
File "/gnu/store/x7x07z4f84np5x6ryhb713l8k94rrjxp-curseradio-0-
1.1bd4bd0/lib/python3.8/site-packages/curseradio/curseradio.py", line
94, in from_element
return node
UnboundLocalError: local variable 'node' referenced before assignment

"""

I got similar results selecting a few other language categories.

My Guix and system info:

christopher@theoden ~$ guix describe
Generation 4 Jul 14 2020 09:19:31 (current)
guix 7c86ef0
branch: master
commit: 7c86ef098d2dbc61cf0b827be1800f575ab00a5e

christopher@theoden ~$ neofetch --stdout
christopher@theoden
-------------------
OS: Guix System 7c86ef098d2dbc61cf0b827be1800f575ab00a5e x86_64
Host: OptiPlex 9020 00
Kernel: 5.4.50-gnu
Uptime: 2 days, 23 hours, 34 mins
Packages: 86 (guix-system), 58 (guix-user)
Shell: bash 5.0.16
Resolution: 1920x1200
DE: GNOME
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: .gnome-terminal
CPU: Intel i5-4570 (4) @ 3.600GHz
GPU: Intel HD Graphics
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM
Memory: 4997MiB / 7872MiB

--
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com
?