Opensong import fails on windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Low
|
Tomas Groth |
Bug Description
Reproduced using OpenLP 2.1.1 and windows 8.1.
When importing an OpenSong xml we get the errormessage "Error parsing XML" and this traceback in the log:
2014-11-27 10:35:37,431 openlp.
Traceback (most recent call last):
File "Z:\home\
File "lxml.objectify
File "lxml.etree.pyx", line 3239, in lxml.etree.parse (src\lxml\
File "parser.pxi", line 1769, in lxml.etree.
File "parser.pxi", line 1789, in lxml.etree.
File "parser.pxi", line 1684, in lxml.etree.
File "parser.pxi", line 1134, in lxml.etree.
File "parser.pxi", line 582, in lxml.etree.
File "parser.pxi", line 683, in lxml.etree.
File "parser.pxi", line 622, in lxml.etree.
File "<string>", line None
lxml.etree.
Should be solved by opening the file in "rb" mode.
Related branches
- Tim Bentley: Approve
- Raoul Snyman: Approve
-
Diff: 140 lines (+29/-10)8 files modifiedopenlp/core/common/registry.py (+0/-4)
openlp/core/ui/maindisplay.py (+10/-0)
openlp/core/ui/media/vlcplayer.py (+3/-1)
openlp/plugins/presentations/lib/impresscontroller.py (+1/-1)
openlp/plugins/presentations/lib/powerpointcontroller.py (+1/-1)
openlp/plugins/presentations/lib/pptviewcontroller.py (+1/-1)
openlp/plugins/songs/lib/importers/opensong.py (+1/-1)
tests/interfaces/openlp_core_ui/test_servicemanager.py (+12/-1)
Changed in openlp: | |
assignee: | nobody → Tomas Groth (tomasgroth) |
status: | New → Confirmed |
Changed in openlp: | |
status: | Confirmed → In Progress |
Changed in openlp: | |
milestone: | none → 2.1.2 |
status: | In Progress → Fix Committed |
importance: | Undecided → Low |
Changed in openlp: | |
status: | Fix Committed → Fix Released |