Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in <module>
File "/usr/share/openlp/openlp/core/__init__.py", line 437, in main
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in execute
result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in bootstrap_initialise
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in hook_media_manager
File "/usr/share/openlp/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 "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in __init__
super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in __init__
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in setup_item
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, in setup_display
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in setup
display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in __new__
return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3629, in libvlc_new
_Cfunction('libvlc_new', ((1,), (1,),), class_result(Instance),
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in _Cfunction
raise NameError('no function %r' % (name,))
NameError: no function 'libvlc_new'
I am working with a Windows 10 system, and have been using OpenLP with voracious regularity for at least 2 years. We have built up a substantial song library, and we use the program constantly.
I recently opened the program to work up a service and received a fatal error message as described above. I was able to download VideoPsalm and the database imported almost seamlessly. We do not want to continue using this substantially different program, however, but have not been able to open the program--even the previous versions. Any help in this area would be wonderful.
A. R. H. (Jeruel Baptist)
The surest way to fix this is to reinstall OpenLP....your current database should be OK provided it isn't the cause!
I was able to reinstall it in a new folder in my "Program Files" and it worked great. I was also able to reimport my library perfectly. Thanks for your help! We are so glad to have our preferred program back up and running.
The OpenLP registry folder is found here: Computer\HKEY_CURRENT_USER\SOFTWARE\OpenLP
OpenLP won't run on Linux Mint 19.3.
Error while running in console:
Traceback (most recent call last):
File "/usr/bin/openlp", line 27, in <module>
from openlp.core.common import is_win, is_macosx
File "/usr/share/openlp/openlp/__init__.py", line 26, in <module>
from openlp import core, plugins
File "/usr/share/openlp/openlp/core/__init__.py", line 43, in <module>
from openlp.core.ui.mainwindow import MainWindow
File "/usr/share/openlp/openlp/core/ui/mainwindow.py", line 29, in
from distutils import dir_util
ImportError: cannot import name 'dir_util'
Error in sys.excepthook:
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line
154, in apport_excepthook
os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory:
Original exception was:
I helped advice from a neighboring topic for Ubuntu 20:
sudo apt install python3-distutils