I shut my Open LP down after church this morning, and now that I am trying to restart it, it keeps giving me this error message. "Open LP Returned -1. HELP!!!!!!!!!
This error seems to be a corrupted configuration. Did OpenLP shut down properly? Did you suspend your computer while OpenLP was running at all? Did you upgrade OpenLP recently?
Mine did the same thing last Sunday Sept 30th. Didn't come along this until today. I ended up having to install an older version (2.2.1 I think) to get it to run again. I tried changing back to v2.4.3 but no luck. Stuck with the 2.2 version I had been using. Will try v2.4.3 again and see if the config file is causing the issue. But wonder why it would work with the old version?
Was just looking at the link for where config file is. For Windows it is in the registry. You want us to rename the registry entry HKEY_CURRENT_USER\Software\OpenLP\OpenLP to something like HKEY_CURRENT_USER\Software\OpenLP\OpenLP_Backup ?
@bahenney : yes, if you rename the settings entry then a new OpenLP entry will be created by OpenLP when you start it the next time. Hopefully that will mean that the error will disappear.
I am getting this Fatal Error OpenLP Return -1 currently on the PC at church. The PC is windows 10. I have tried Uninstalling and reinstalling... also with rebooting in-between. Uninstalling Renaming the registry keys as pictured above, then reinstalling. I also searched for the location of the configuration file in windows 10 I can't seem to find that location. Is the location different in Windows 10? I have downloaded the portal version that is working so I might have to use that this Sunday. Any other ideas? Thank you for your time, Rob Allam
PLS SOMEONE SHOULD EDUCATE MMORE CAUSE MY I CANT SEEM TO MAKE MY ERROR DISAPPEAR I AM USING WINDOWS 10 I DONOT KNOW WHAT TO DOOO...... @RAllam @tgc @JohnM
Hello DANBIM, what have you tried so far. The upper comments state in two possible directions. One was a missconfiguration and is stored in the registry files of windows and the other is the missing video player software "vlc".
Was it an Update to Win 10 on your computer or what was the background while it's not working anymore?
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.
The surest way to fix this is to reinstall OpenLP....your current database should be OK provided it isn't the cause!
select the windows start button and type 'regeditor'
open the regeditor and look for the Openlp folder.
delete the OpenLP folder and close regeditor.
Run the OpenLP installer, you can download it from the website if you no longer have it....just be sure it is the same version as you used previously.
As the installer goes through the process you do NOT need to select any Bibles, songs or themes.
When it finishes you should be able to run OpenLP again and your data should be ready to use. You may have to modify your settings to get everything acting the same as it did before it stopped working.
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.
Comments
Backup your configuration by renaming it, and then re-run OpenLP. To find out where your configuration is stored, see this question in the Frequently Asked Questions section of our manual: https://manual.openlp.org/faq.html#where-do-i-find-the-configuration-file
Was just looking at the link for where config file is. For Windows it is in the registry. You want us to rename the registry entry HKEY_CURRENT_USER\Software\OpenLP\OpenLP to something like HKEY_CURRENT_USER\Software\OpenLP\OpenLP_Backup ?
Uninstalling and reinstalling... also with rebooting in-between.
Uninstalling Renaming the registry keys as pictured above, then reinstalling.
I also searched for the location of the configuration file in windows 10 I can't seem to find that location. Is the location different in Windows 10?
I have downloaded the portal version that is working so I might have to use that this Sunday.
Any other ideas?
Thank you for your time,
Rob Allam
Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in <module>
main()
File "/usr/share/openlp/openlp/core/__init__.py", line 437, in main
sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
Registry().execute('bootstrap_initialise')
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
self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in hook_media_manager
plugin.create_media_manager_item()
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__
self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in setup_item
self.media_controller.setup_display(self.display_controller.preview_display, False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, in setup_display
player.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 USING WINDOWS 10
I DONOT KNOW WHAT TO DOOO......
@RAllam
@tgc
@JohnM
Was it an Update to Win 10 on your computer or what was the background while it's not working anymore?
Greetings - Simon
Hello!
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.
Thank You!
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!
Thanks JohnM!
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.
God Bless!
A.R.H.
The OpenLP registry folder is found here: Computer\HKEY_CURRENT_USER\SOFTWARE\OpenLP
Hello.
OpenLP won't run on Linux Mint 19.3.
Error while running in console:
~$ openlp
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
<module>
from distutils import dir_util
ImportError: cannot import name 'dir_util'
Error in sys.excepthook:
Traceback (most recent call last):
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:
'/var/crash/_usr_share_openlp_openlp.py.1000.crash'
Original exception was:
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
<module>
from distutils import dir_util
ImportError: cannot import name 'dir_util'
I helped advice from a neighboring topic for Ubuntu 20: