Unable to import 1.9.0 databases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Low
|
Raoul Snyman |
Bug Description
The OpenLP 2.0 importer doesn't handle version 1.9.0 databases, where we didn't have XML in the verses just yet. I have a 1.9.0 database if you are looking for a test database.
An example traceback:
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
if importer.
File "/usr/lib/
File "/usr/lib/
verses = SongXML(
File "/usr/lib/
xml_iter = self.song_
AttributeError: 'NoneType' object has no attribute 'getiterator'
Related branches
- Tim Bentley: Approve
- Jonathan Corwin (community): Approve
-
Diff: 48 lines (+18/-3)2 files modifiedopenlp/plugins/songs/lib/__init__.py (+4/-1)
openlp/plugins/songs/lib/xml.py (+14/-2)
Changed in openlp: | |
assignee: | nobody → Raoul Snyman (raoul-snyman) |
status: | Confirmed → Fix Committed |
Changed in openlp: | |
status: | Fix Committed → Fix Released |