OpenLP crashing on startup (Ubuntu 20.10)

Sorry, I need help again. I'm now on Ubuntu 20.10 and I can't start OpenLP, it crashes. I cleaned up OpenLP with
$ apt-get purge openlp
and removed
.config/OpenLP
.local/share/openlp
reinstalled to start with a clean installation but it does not solve the issue.
$ apt show openlp
Package: openlp
Version: 2.4.6-1
Priority: optional
Section: universe/x11
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Raoul Snyman <raoul@snyman.info>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 19,3 MB
Depends: libqt5multimedia5-plugins, python3-alembic, python3-bs4, python3-chardet, python3-dbus, python3-enchant, python3-lxml, python3-mako, python3-pyqt5, python3-pyqt5.qtmultimedia, python3-pyqt5.qtopengl, python3-pyqt5.qtwebkit, python3-sqlalchemy, python3-uno, python3-xdg, python3:any (>= 3.4~)
Suggests: python3-mysql.connector, python3-psycopg2
Homepage: https://openlp.org/
Download-Size: 2.837 kB
APT-Manual-Installed: yes
APT-Sources: http://hu.archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
Description: Church lyrics projection application
OpenLP is free church presentation software, or lyrics projection software,
used to display slides of songs, Bible verses, videos, images, and even
presentations for church worship using a computer and a data projector.
I get this on startup:
$ openlp -l debug
Logging to: /home/gellert/.cache/openlp/openlp.log
/usr/share/openlp/openlp/core/utils/languagemanager.py:96: FutureWarning: Possible nested set at position 1
if re.match(r'[[].*[]]', language):
Szegmentálási hiba (core készült)

$ cat /home/gellert/.cache/openlp/openlp.log
2020-11-19 10:58:43,089 openlp.core.common.registry INFO Registry Initialising
2020-11-19 10:58:43,090 openlp.core.utils.__init__ INFO Openlp version 2.4.6
2020-11-19 10:58:43,090 openlp.core.OpenLP DEBUG Entering is_already_running
2020-11-19 10:58:43,090 openlp.core.OpenLP DEBUG Entering is_data_path_missing
2020-11-19 10:58:43,092 openlp.core.common.__init__ DEBUG check_directory_exists /home/gellert/.local/share/openlp
2020-11-19 10:58:43,093 openlp.core.utils.languagemanager INFO Language file: '[en]' Loaded from conf file
2020-11-19 10:58:43,097 openlp.core.OpenLP DEBUG Entering event
2020-11-19 10:58:43,098 openlp.core.OpenLP DEBUG Entering event
2020-11-19 10:58:43,098 openlp.core.OpenLP DEBUG Entering event
2020-11-19 10:58:43,098 openlp.core.OpenLP DEBUG Entering run
2020-11-19 10:58:43,099 openlp.core.lib.screen INFO Screen 0 found with resolution PyQt5.QtCore.QRect(0, 0, 1920, 1080)
2020-11-19 10:58:43,099 openlp.core.lib.screen INFO Screen 1 found with resolution PyQt5.QtCore.QRect(1920, 0, 1920, 1200)
2020-11-19 10:58:43,100 openlp.core.lib.screen DEBUG set_current_display 1
2020-11-19 10:58:43,100 openlp.core.lib.screen DEBUG reset_current_display
2020-11-19 10:58:43,100 openlp.core.lib.screen DEBUG set_current_display 1
2020-11-19 10:58:43,156 openlp.core.OpenLP DEBUG Entering backup_on_upgrade
2020-11-19 10:58:43,170 openlp.core.OpenLP DEBUG Entering event
2020-11-19 10:58:43,248 openlp.core.lib.pluginmanager.PluginManager INFO Plugin manager Initialising
2020-11-19 10:58:43,248 openlp.core.lib.pluginmanager.PluginManager DEBUG Base path /usr/share/openlp/openlp/plugins
2020-11-19 10:58:43,248 openlp.core.lib.pluginmanager.PluginManager INFO Plugin manager Initialised
2020-11-19 10:58:43,248 openlp.core.lib.renderer.Renderer DEBUG _calculate default PyQt5.QtCore.QRect(1920, 0, 1920, 1200), 0.625000
2020-11-19 10:58:43,464 openlp.core.lib.dockwidget DEBUG Initialise the media_manager_dock widget
2020-11-19 10:58:43,465 openlp.core.lib.dockwidget DEBUG Initialise the service_manager_dock widget
2020-11-19 10:58:43,469 openlp.core.lib.dockwidget DEBUG Initialise the theme_manager_dock widget
2020-11-19 10:58:43,471 openlp.core.lib.dockwidget DEBUG Initialise the projector_manager_dock widget
2020-11-19 10:58:43,472 openlp.core.ui.projector.manager DEBUG __init__()
2020-11-19 10:58:43,529 openlp.core.utils.languagemanager DEBUG Translation files: /usr/share/openlp/i18n
2020-11-19 10:58:43,563 openlp.core.utils.languagemanager INFO Language file: '[en]' Loaded from conf file
2020-11-19 10:58:43,594 openlp.core.OpenLP DEBUG Entering set_busy_cursor
2020-11-19 10:58:43,635 openlp.core.OpenLP DEBUG Entering set_normal_cursor
2020-11-19 10:58:43,636 openlp.core.ui.media.mediacontroller.MediaController DEBUG Entering bootstrap_initialise
2020-11-19 10:58:43,636 openlp.core.ui.media.mediacontroller DEBUG _check_available_media_players
2020-11-19 10:58:43,636 openlp.core.ui.media.mediacontroller DEBUG Importing controller openlp.core.ui.media.webkitplayer
2020-11-19 10:58:43,637 openlp.core.ui.media.mediacontroller DEBUG Importing controller openlp.core.ui.media.vlcplayer
2020-11-19 10:58:43,637 openlp.core.ui.media.mediacontroller DEBUG Importing controller openlp.core.ui.media.systemplayer
2020-11-19 10:58:43,638 openlp.core.ui.media.mediacontroller.MediaController DEBUG Entering register_players
2020-11-19 10:58:43,681 openlp.core.ui.media.mediacontroller.MediaController DEBUG Entering register_players

Comments

  • I experience the exact same behaviour on my ubuntu 20.10. I also attempted to disable all plugins (status=0 in OpenLP.conf) and initialised OpenLP anew for another user - all resulting in segmentation fault.
  • Just to mention: OpenLP trunk runs without any problem.
  • edited November 25
    Similar issue on Linux Mint 20, fresh install of the OS and OpenLP, but it won't start.

    # 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' from 'distutils' (/usr/lib/python3.8/distutils/__init__.py)
    Error in sys.excepthook:
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
        with os.fdopen(os.open(pr_filename,
    PermissionError: [Errno 13] Permission denied: '/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' from 'distutils' (/usr/lib/python3.8/distutils/__init__.py)


    After creating/chmoding /var/crash (which didn't exist), the first error went away, leaving only the "cannot import name 'dir_util'..." error.
  • @jlg89tx, thank you for your suggestion. Unfortunately it doesn't help me: python3-distutils and vlc is already installed.

  • @gellert I don't see an error in your log file, can you tell me what happens when OpenLP crashes?
  • Hi @raoul, thanks for the replay. I do not see anything useful, except segmentation fault. I hope this screencast tells you something: https://youtu.be/Yfumd-tGLoU
Sign In or Register to comment.