← Back to team overview

openlp-core team mailing list archive

[Bug 1393703] [NEW] Traceback/memory error on import of Easyworship DB

 

Public bug reported:

http://support.openlp.org/scp/tickets.php?id=2585

Can be reproduced with trunk on windows:

Traceback (most recent call last):
  File "Z:\home\tgc\OpenLP\trunk\openlp\core\ui\wizard.py", line 223, in on_current_id_changed
  File "Z:\home\tgc\OpenLP\trunk\openlp\plugins\songs\forms\songimportform.py", line 354, in perform_wizard
  File "Z:\home\tgc\OpenLP\trunk\openlp\plugins\songs\lib\importers\easyworship.py", line 85, in do_import
  File "Z:\home\tgc\OpenLP\trunk\openlp\plugins\songs\lib\importers\easyworship.py", line 289, in import_db
MemoryError

The error happens in code where we should be looping through the entire file to count number of records.
The DB file that causes this is only 510 KB, so we're clearly doing something wrong...

** Affects: openlp
     Importance: Undecided
         Status: New

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

Title:
  Traceback/memory error on import of Easyworship DB

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  http://support.openlp.org/scp/tickets.php?id=2585

  Can be reproduced with trunk on windows:

  Traceback (most recent call last):
    File "Z:\home\tgc\OpenLP\trunk\openlp\core\ui\wizard.py", line 223, in on_current_id_changed
    File "Z:\home\tgc\OpenLP\trunk\openlp\plugins\songs\forms\songimportform.py", line 354, in perform_wizard
    File "Z:\home\tgc\OpenLP\trunk\openlp\plugins\songs\lib\importers\easyworship.py", line 85, in do_import
    File "Z:\home\tgc\OpenLP\trunk\openlp\plugins\songs\lib\importers\easyworship.py", line 289, in import_db
  MemoryError

  The error happens in code where we should be looping through the entire file to count number of records.
  The DB file that causes this is only 510 KB, so we're clearly doing something wrong...

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


Follow ups

References