← Back to team overview

openlp-core team mailing list archive

[Bug 1366198] [NEW] Duplicate Song Finder displays blank "match" page

 

Public bug reported:

Traceback (most recent call last):
  File "/Users/raoul/Projects/OpenLP/trunk/openlp/core/ui/wizard.py", line 223, in on_current_id_changed
    self.custom_page_changed(page_id)
  File "/Users/raoul/Projects/OpenLP/trunk/openlp/plugins/songs/forms/duplicatesongremovalform.py", line 211, in custom_page_changed
    self.process_current_duplicate_entry()
  File "/Users/raoul/Projects/OpenLP/trunk/openlp/plugins/songs/forms/duplicatesongremovalform.py", line 341, in process_current_duplicate_entry
    song_review_widget = SongReviewWidget(self.review_page, duplicate)
  File "/Users/raoul/Projects/OpenLP/trunk/openlp/plugins/songs/forms/songreviewwidget.py", line 66, in __init__
    self.setupUi()
  File "/Users/raoul/Projects/OpenLP/trunk/openlp/plugins/songs/forms/songreviewwidget.py", line 132, in setupUi
    authors_text = ', '.join([author.display_name for author in self.song.authors])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/sqlalchemy/orm/attributes.py", line 239, in __get__
    return self.impl.get(instance_state(instance), dict_)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/sqlalchemy/orm/attributes.py", line 591, in get
    value = self.callable_(state, passive)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/sqlalchemy/orm/strategies.py", line 507, in _load_for_state
    (orm_util.state_str(state), self.key)
sqlalchemy.orm.exc.DetachedInstanceError: Parent instance <Song at 0x118d91910> is not bound to a Session; lazy load operation of attribute 'authors' cannot proceed

** Affects: openlp
     Importance: Critical
         Status: New

** Changed in: openlp
   Importance: Undecided => Critical

** Changed in: openlp
    Milestone: None => 2.1.1

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

Title:
  Duplicate Song Finder displays blank "match" page

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  Traceback (most recent call last):
    File "/Users/raoul/Projects/OpenLP/trunk/openlp/core/ui/wizard.py", line 223, in on_current_id_changed
      self.custom_page_changed(page_id)
    File "/Users/raoul/Projects/OpenLP/trunk/openlp/plugins/songs/forms/duplicatesongremovalform.py", line 211, in custom_page_changed
      self.process_current_duplicate_entry()
    File "/Users/raoul/Projects/OpenLP/trunk/openlp/plugins/songs/forms/duplicatesongremovalform.py", line 341, in process_current_duplicate_entry
      song_review_widget = SongReviewWidget(self.review_page, duplicate)
    File "/Users/raoul/Projects/OpenLP/trunk/openlp/plugins/songs/forms/songreviewwidget.py", line 66, in __init__
      self.setupUi()
    File "/Users/raoul/Projects/OpenLP/trunk/openlp/plugins/songs/forms/songreviewwidget.py", line 132, in setupUi
      authors_text = ', '.join([author.display_name for author in self.song.authors])
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/sqlalchemy/orm/attributes.py", line 239, in __get__
      return self.impl.get(instance_state(instance), dict_)
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/sqlalchemy/orm/attributes.py", line 591, in get
      value = self.callable_(state, passive)
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/sqlalchemy/orm/strategies.py", line 507, in _load_for_state
      (orm_util.state_str(state), self.key)
  sqlalchemy.orm.exc.DetachedInstanceError: Parent instance <Song at 0x118d91910> is not bound to a Session; lazy load operation of attribute 'authors' cannot proceed

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


Follow ups

References