Merge lp://qastaging/~tomasgroth/openlp/pysword-import into lp://qastaging/openlp

Proposed by Tomas Groth
Status: Merged
Merged at revision: 2652
Proposed branch: lp://qastaging/~tomasgroth/openlp/pysword-import
Merge into: lp://qastaging/openlp
Diff against target: 615 lines (+412/-7)
7 files modified
openlp/core/ui/lib/wizard.py (+2/-1)
openlp/plugins/bibles/forms/bibleimportform.py (+176/-3)
openlp/plugins/bibles/lib/manager.py (+8/-1)
openlp/plugins/bibles/lib/sword.py (+100/-0)
scripts/check_dependencies.py (+1/-0)
tests/functional/openlp_plugins/bibles/test_swordimport.py (+109/-0)
tests/interfaces/openlp_plugins/bibles/forms/test_bibleimportform.py (+16/-2)
To merge this branch: bzr merge lp://qastaging/~tomasgroth/openlp/pysword-import
Reviewer Review Type Date Requested Status
Raoul Snyman Approve
Review via email: mp+292713@code.qastaging.launchpad.net

This proposal supersedes a proposal from 2016-04-20.

Description of the change

Added support for importing SWORD bibles using PySword.

To post a comment you must log in.
Revision history for this message
Tomas Groth (tomasgroth) wrote : Posted in a previous version of this proposal
Revision history for this message
Raoul Snyman (raoul-snyman) wrote : Posted in a previous version of this proposal

I tried to do an import from a SWORD Bible I already have, and I got this error as the import itself started.

Traceback (most recent call last):
  File "/home/raoul/Projects/OpenLP/OpenLP/pysword-import/openlp/core/ui/wizard.py", line 217, in on_current_id_changed
    self.perform_wizard()
  File "/home/raoul/Projects/OpenLP/OpenLP/pysword-import/openlp/plugins/bibles/forms/bibleimportform.py", line 805, in perform_wizard
    if importer.do_import(license_version):
TypeError: do_import() takes 1 positional argument but 2 were given

review: Needs Fixing
Revision history for this message
Tomas Groth (tomasgroth) wrote :
Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

I only have 1 SWORD Bible at the moment, so I'm not sure if it's pysword or the Bible itself, but it imported in a weird order. Nothing seemed to be wrong afterward, just had the new testament first and then the old. I figure it's probably just the order of things in the SWORD module itself.

review: Approve
2590. By Tomas Groth

merge trunk

2591. By Tomas Groth

fix merge issues

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.