Page 1 of 1

pyradio

Posted: 24. Sep 2022, 19:02
by guitarman
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[~]$

Re: pyradio

Posted: 24. Sep 2022, 22:50
by laprjns
You need to install MPlayer.

Re: pyradio

Posted: 25. Sep 2022, 00:16
by guitarman
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.

Re: pyradio

Posted: 25. Sep 2022, 07:14
by gapan
Yes, I have now added the dependency, thanks!

Re: pyradio

Posted: 25. Sep 2022, 19:44
by guitarman
Awesome. Thanks. :)