Installing OpenLP in Lubuntu 15.04

I added packages until check_dependencies.py had FAILs only on optional modules.

OpenLP-2.1.6 gives this message at the command line:
/usr/share/themes/Lubuntu-default/gtk-2.0/apps/thunar.rc:55: error: invalid string constant "thunar-statusbar", expected valid string constant
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"

I don't understand the business about thunar. It's the file manager for XFCE4, and I'm using LXDE.

The splash logo comes up and then the program crashes with this code:


p, li { white-space: pre-wrap; }

Traceback (most recent call last):


File "./openlp.py", line 44, in <module>


main()


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/__init__.py", line 388, in main


sys.exit(application.run(qt_args))


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/__init__.py", line 142, in run


Registry().execute('bootstrap_initialise')


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/common/registry.py", line 137, in execute


result = function(*args, **kwargs)


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/lib/pluginmanager.py", line 60, in bootstrap_initialise


self.hook_media_manager()


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/lib/pluginmanager.py", line 122, in hook_media_manager


plugin.create_media_manager_item()


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/lib/plugin.py", line 204, in create_media_manager_item


self.media_item = self.media_item_class(self.main_window.media_dock_manager.media_dock, self)


File "/mnt/bigone/OpenLP-2.1.6/openlp/plugins/media/lib/mediaitem.py", line 63, in __init__


super(MediaMediaItem, self).__init__(parent, plugin)


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/lib/mediamanageritem.py", line 82, in __init__


self.setup_item()


File "/mnt/bigone/OpenLP-2.1.6/openlp/plugins/media/lib/mediaitem.py", line 81, in setup_item


self.media_controller.setup_display(self.display_controller.preview_display, False)


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/ui/media/mediacontroller.py", line 322, in setup_display


player.setup(display)


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/ui/media/vlcplayer.py", line 145, in setup


display.vlc_instance = vlc.Instance(command_line_options)


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/ui/media/vendor/vlc.py", line 1359, in __new__


return libvlc_new(len(args), args)


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/ui/media/vendor/vlc.py", line 3355, in libvlc_new


ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))


File "/mnt/bigone/OpenLP-2.1.6/openlp/core/ui/media/vendor/vlc.py", line 211, in _Cfunction


raise NameError('no function %r' % (name,))


NameError: no function 'libvlc_new'


Lane

Comments

  • Hi Lane,

    There is a bug in 2.1.6 that prevents it from starting on lniux, unless VLC is installed. Fix will of course be fixed in the next release.
    To work around it for now, simply intall VLC.
  • edited September 2015
    I apologize for not remembering this bug. Installing VLC did indeed allow OLP to run.
    I look forward to this bug being fixed, because I don't use VLC and installing it added 60 packages to my system.

    OLP seems to be running OK, but it popped up the crash window with these details:


    p, li { white-space: pre-wrap; }

    Traceback (most recent call last):


    File "/mnt/bigone/OpenLP-2.1.6/openlp/core/__init__.py", line 251, in event


    def event(self, event):


    KeyboardInterrupt


    The terminal window in which I started OLP has lots of complaints, although I don't know if any of them are serious:

    Failed to run XInitThreads(), VLC might not work properly!
    Traceback (most recent call last):
    File "/mnt/bigone/OpenLP-2.1.6/openlp/core/ui/media/vlcplayer.py", line 109, in <module>
    x11 = ctypes.cdll.LoadLibrary('libX11.so')
    File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
    File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
    OSError: libX11.so: cannot open shared object file: No such file or directory
    /usr/share/themes/Lubuntu-dark-panel/gtk-2.0/apps/thunar.rc:55: error: invalid string constant "thunar-statusbar", expected valid string constant
    AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
    [0acd6d60] pulse audio output error: PulseAudio server connection failure: Connection refused
    javaldx: Could not find a Java Runtime Environment!
    Warning: failed to read path from javaldx
    [0babfe98] pulse audio output error: PulseAudio server connection failure: Connection refused
    [0bae4e68] pulse audio output error: PulseAudio server connection failure: Connection refused
    [0bbf2a48] pulse audio output error: PulseAudio server connection failure: Connection refused
    [0babe208] pulse audio output error: PulseAudio server connection failure: Connection refused
    [0baaf688] pulse audio output error: PulseAudio server connection failure: Connection refused
    [0bbb4100] pulse audio output error: PulseAudio server connection failure: Connection refused
    [0b21c560] pulse audio output error: PulseAudio server connection failure: Connection refused


    Lane
  • Since I have several distros in separate partitions on my hard drive, I think I'll wait until the actual release of OLP 2.2 to install it in Lubuntu. Perhaps the VLC bug will be gone by then. :)

    Lane
Sign In or Register to comment.