← Back to team overview

openlp-core team mailing list archive

[Bug 1730414] [NEW] Duplicate song db error: sqlalchemy.orm.exc.DetachedInstanceError

 

Public bug reported:

Reported on the tracker
https://support.openlp.org/scp/tickets.php?id=4513

**OpenLP Bug Report**
Version: {'full': '2.4.6', 'version': '2.4.6', 'build': None}

--- Details of the Exception. ---

Well, I was deletening some repeated songs when suddenly this tab showed
up. I don't know what could've caused this issue. So please, I want to
know what happened.

 --- Exception Traceback ---
Traceback (most recent call last):
  File "openlp\plugins\songs\forms\duplicatesongremovalform.py", line 280, in validateCurrentPage
  File "openlp\plugins\songs\forms\duplicatesongremovalform.py", line 322, in proceed_to_next_review
  File "openlp\plugins\songs\forms\duplicatesongremovalform.py", line 336, in process_current_duplicate_entry
  File "openlp\plugins\songs\forms\songreviewwidget.py", line 59, in __init__
  File "openlp\plugins\songs\forms\songreviewwidget.py", line 125, in setupUi
  File "site-packages\sqlalchemy\orm\attributes.py", line 237, in __get__
  File "site-packages\sqlalchemy\orm\attributes.py", line 583, in get
  File "site-packages\sqlalchemy\orm\strategies.py", line 505, in _load_for_state
sqlalchemy.orm.exc.DetachedInstanceError: Parent instance <Song at 0xab07b0> is not bound to a Session; lazy load operation of attribute 'authors' cannot proceed

--- System information ---
Plataforma: Windows-10-10.0.14393-SP0

--- Library Versions ---
Python: 3.4.4
Qt5: 5.5.1
PyQt5: 5.5.1
QtWebkit: 538.1
SQLAlchemy: 1.0.11
SQLAlchemy Migrate: -
BeautifulSoup: 4.4.1
lxml: 3.4.4
Chardet: 2.3.0
PyEnchant: 1.6.6
Mako: 1.0.3
pyICU: 1.9.2
pyUNO bridge: -
VLC: -

** Affects: openlp
     Importance: Low
         Status: New

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

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

Title:
  Duplicate song db error: sqlalchemy.orm.exc.DetachedInstanceError

Status in OpenLP:
  New

Bug description:
  Reported on the tracker
  https://support.openlp.org/scp/tickets.php?id=4513

  **OpenLP Bug Report**
  Version: {'full': '2.4.6', 'version': '2.4.6', 'build': None}

  --- Details of the Exception. ---

  Well, I was deletening some repeated songs when suddenly this tab
  showed up. I don't know what could've caused this issue. So please, I
  want to know what happened.

   --- Exception Traceback ---
  Traceback (most recent call last):
    File "openlp\plugins\songs\forms\duplicatesongremovalform.py", line 280, in validateCurrentPage
    File "openlp\plugins\songs\forms\duplicatesongremovalform.py", line 322, in proceed_to_next_review
    File "openlp\plugins\songs\forms\duplicatesongremovalform.py", line 336, in process_current_duplicate_entry
    File "openlp\plugins\songs\forms\songreviewwidget.py", line 59, in __init__
    File "openlp\plugins\songs\forms\songreviewwidget.py", line 125, in setupUi
    File "site-packages\sqlalchemy\orm\attributes.py", line 237, in __get__
    File "site-packages\sqlalchemy\orm\attributes.py", line 583, in get
    File "site-packages\sqlalchemy\orm\strategies.py", line 505, in _load_for_state
  sqlalchemy.orm.exc.DetachedInstanceError: Parent instance <Song at 0xab07b0> is not bound to a Session; lazy load operation of attribute 'authors' cannot proceed

  --- System information ---
  Plataforma: Windows-10-10.0.14393-SP0

  --- Library Versions ---
  Python: 3.4.4
  Qt5: 5.5.1
  PyQt5: 5.5.1
  QtWebkit: 538.1
  SQLAlchemy: 1.0.11
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.4.1
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.3
  pyICU: 1.9.2
  pyUNO bridge: -
  VLC: -

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