SopCast Player 安装后无法运行

SopCast Player 安装后无法运行

我只是按照 sopcast 的安装说明一步步操作 http://mauriziosiagri.wordpress.com/tag/sopcast/。尽管说明中有一些拼写错误,但我相信我遵循了正确的说明,但当我尝试运行 sopcast-player 时,它却无法启动。在控制台中,我得到以下信息:

    mark@mark-Studio:~/sopcast-player$ sopcast-player

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown attribute `swapped' for <signal>.

(sopcast-player.py:9932): libglade-WARNING **: unknown property `ubuntu_local' for class `GtkMenu'
Traceback (most recent call last):
  File "/usr/share/sopcast-player/lib/sopcast-player.py", line 785, in <module>
    pySop.main()
  File "/usr/share/sopcast-player/lib/sopcast-player.py", line 135, in main
    self.vlc = VLCWidget(self.eb, self)
  File "/usr/share/sopcast-player/lib/VLCWidget.py", line 49, in __init__
    instance=vlc.Instance()
  File "/usr/share/sopcast-player/lib/vlc.py", line 885, in __new__
    return libvlc_new(len(args), args)
  File "/usr/share/sopcast-player/lib/vlc.py", line 2811, in libvlc_new
    ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
  File "/usr/share/sopcast-player/lib/vlc.py", line 164, in _Cfunction
    raise NameError('no function %r' % (name,))
NameError: no function 'libvlc_new'

答案1

我刚刚按照@Jos 的建议安装了 VLC sudo apt-get install vlc,然后重新运行sopcast-player,它就正常工作了

相关内容