Fatal Error OpenLP Returned -1

edited April 2018 in Troubleshooting
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!!!!!!!!!  

Comments

  • 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?

    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

  • edited November 2016
    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
  • @RAllam On Windows 10 the settings are stored in the registry.  You can use Reg Editor to find and remove the registry item.
  • Hi, I am having this error as well after upgrading the church computer from Ubuntu 18.04.4 to 20.04.1:

    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'







  • You need to install vlc and python3-vlc.

  • 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?

    Greetings - Simon
Sign In or Register to comment.