← Back to team overview

openlp-core team mailing list archive

[Bug 1317003] Re: Exception when running the "Find duplicate songs" wizard

 

Please confirm this is still a problem

** Changed in: openlp/trunk
       Status: New => Incomplete

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

Title:
  Exception when running the "Find duplicate songs" wizard

Status in OpenLP - Worship Presentation Software:
  Incomplete
Status in OpenLP trunk series:
  Incomplete

Bug description:
  Traceback (most recent call last):
    File "/home/samuel/programming/openlp/bug-1316979/openlp/core/ui/wizard.py", line 221, in on_current_id_changed
      self.custom_page_changed(page_id)
    File "/home/samuel/programming/openlp/bug-1316979/openlp/plugins/songs/forms/duplicatesongremovalform.py", line 211, in custom_page_changed
      self.process_current_duplicate_entry()
    File "/home/samuel/programming/openlp/bug-1316979/openlp/plugins/songs/forms/duplicatesongremovalform.py", line 342, in process_current_duplicate_entry
      song_review_widget = SongReviewWidget(self.review_page, duplicate)
    File "/home/samuel/programming/openlp/bug-1316979/openlp/plugins/songs/forms/songreviewwidget.py", line 66, in __init__
      self.setupUi()
    File "/home/samuel/programming/openlp/bug-1316979/openlp/plugins/songs/forms/songreviewwidget.py", line 132, in setupUi
      authors_text = ', '.join([author.display_name for author in self.song.authors])
    File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/orm/attributes.py", line 233, in __get__
      return self.impl.get(instance_state(instance), dict_)
    File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/orm/attributes.py", line 579, in get
      value = self.callable_(state, passive)
    File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/orm/strategies.py", line 478, in _load_for_state
      (orm_util.state_str(state), self.key)
  sqlalchemy.orm.exc.DetachedInstanceError: Parent instance <Song at 0x7f91821cec50> 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/1317003/+subscriptions


References