← Back to team overview

openlp-core team mailing list archive

[Bug 1844044] Re: Dev build (2.5) MySQL error during boot, some tables created but not all

 

And subsequently, I re-ran the 1st-time wizard, with MySQL mode still
enabled of course. I selected all plugins for enablement.

Caused the following error:

Traceback (most recent call last):
  File "/home/bevand10/Documents/fbc/git/digial-music-stand/OpenLP-2.5.dev2902/openlp/core/ui/mainwindow.py", line 700, in on_first_time_wizard_clicked
    self.first_time()
  File "/home/bevand10/Documents/fbc/git/digial-music-stand/OpenLP-2.5.dev2902/openlp/core/common/mixins.py", line 69, in wrapped
    raise e
  File "/home/bevand10/Documents/fbc/git/digial-music-stand/OpenLP-2.5.dev2902/openlp/core/common/mixins.py", line 64, in wrapped
    return func(*args)
  File "/home/bevand10/Documents/fbc/git/digial-music-stand/OpenLP-2.5.dev2902/openlp/core/ui/mainwindow.py", line 672, in first_time
    plugin.first_time()
  File "/home/bevand10/Documents/fbc/git/digial-music-stand/OpenLP-2.5.dev2902/openlp/plugins/songs/songsplugin.py", line 373, in first_time
    self.on_tools_reindex_item_triggered()
  File "/home/bevand10/Documents/fbc/git/digial-music-stand/OpenLP-2.5.dev2902/openlp/plugins/songs/songsplugin.py", line 257, in on_tools_reindex_item_triggered
    max_songs = self.manager.get_object_count(Song)
  File "/home/bevand10/Documents/fbc/git/digial-music-stand/OpenLP-2.5.dev2902/openlp/core/lib/db.py", line 519, in get_object_count
    query = self.session.query(object_class)
AttributeError: 'NoneType' object has no attribute 'query'

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1844044

Title:
  Dev build (2.5) MySQL error during boot, some tables created but not
  all

Status in OpenLP:
  New

Bug description:
  OpenLP 2.5 dev2902

  Ubuntu 18.04.3 LTS

  Configured for MySQL (happens to be MariaDB 10.1.41-MariaDB-
  0ubuntu0.18.4.1)

  Debug log: (full is attached)

  MySQL tables after the error:

  MariaDB [openlp]> show tables;
  +------------------+
  | Tables_in_openlp |
  +------------------+
  | authors          |
  | metadata         |
  | song_books       |
  | songs            |
  | topics           |
  +------------------+
  5 rows in set (0.00 sec)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1844044/+subscriptions


References