GNU bug report logs - #42408
curseradio: crashes on some "by language" nodes

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> alaskasi.com>

Date: Fri, 17 Jul 2020 17:36:01 UTC

Severity: normal

To reply to this bug, email your comments to 42408 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42408; Package guix. (Fri, 17 Jul 2020 17:36:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Howard <christopher <at> alaskasi.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 17 Jul 2020 17:36:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> alaskasi.com>
To: bug-guix <at> gnu.org
Subject: curseradio: crashes on some "by language" nodes
Date: Fri, 17 Jul 2020 09:34:54 -0800
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 <at> theoden ~$ guix describe
Generation 4	Jul 14 2020 09:19:31	(current)
  guix 7c86ef0
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 7c86ef098d2dbc61cf0b827be1800f575ab00a5e

christopher <at> theoden ~$ neofetch --stdout
christopher <at> 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





This bug report was last modified 3 years and 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.