Comment 7 for bug 1844044

Revision history for this message
Dave Bevan (dave-bevan) wrote :

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'