pyradio

You think you have found a bug? Let us know about it.
Post Reply
guitarman
Posts: 4
Joined: 24. Sep 2022, 18:59

pyradio

Post by guitarman » 24. Sep 2022, 19:02

The pyradio package on salix 15 seems to be broken. It installs fine but when I run it from the terminal it reports the error message below. Any ideas how to fix?

guitarman[~]$ pyradio
Traceback (most recent call last):
File "/usr/bin/pyradio", line 11, in <module>
load_entry_point('pyradio==0.5.2', 'console_scripts', 'pyradio')()
File "/usr/lib64/python2.7/site-packages/pyradio/main.py", line 54, in shell
curses.wrapper(pyradio.setup)
File "/usr/lib64/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/lib64/python2.7/site-packages/pyradio/radio.py", line 56, in setup
self.player = player.probePlayer()(self.log)
TypeError: 'NoneType' object is not callable
guitarman[~]$

User avatar
laprjns
Salix Warrior
Posts: 1087
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: pyradio

Post by laprjns » 24. Sep 2022, 22:50

You need to install MPlayer.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"

guitarman
Posts: 4
Joined: 24. Sep 2022, 18:59

Re: pyradio

Post by guitarman » 25. Sep 2022, 00:16

Thanks, that fixed it. Shouldn't it be a dependency? I just noticed the description mentions mplayer and I'll know to look there for additional info in future.

User avatar
gapan
Salix Wizard
Posts: 6070
Joined: 6. Jun 2009, 17:40

Re: pyradio

Post by gapan » 25. Sep 2022, 07:14

Yes, I have now added the dependency, thanks!
Image
Image

guitarman
Posts: 4
Joined: 24. Sep 2022, 18:59

Re: pyradio

Post by guitarman » 25. Sep 2022, 19:44

Awesome. Thanks. :)

Post Reply