openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #10854
[Bug 795027] Re: Cannot import zipped OpenSong songs
** Branch linked: lp:~googol/openlp/bug-795027
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/795027
Title:
Cannot import zipped OpenSong songs
Status in OpenLP - Worship Presentation Software:
Fix Committed
Bug description:
Hello,
http://support.openlp.org/issues/97
When importing the zipped file I get this error:
Traceback (most recent call last):
File "/home/andreas/Projekte/openlp/trunk/openlp/core/ui/wizard.py", line 191, in onCurrentIdChanged
self.performWizard()
File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/songs/forms/songimportform.py", line 754, in performWizard
importer.do_import()
File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/songs/lib/opensongimport.py", line 146, in do_import
self.do_import_file(song_file)
File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/songs/lib/opensongimport.py", line 162, in do_import_file
tree = objectify.parse(file)
File "lxml.objectify.pyx", line 1866, in lxml.objectify.parse (src/lxml/lxml.objectify.c:18773)
File "lxml.etree.pyx", line 2942, in lxml.etree.parse (src/lxml/lxml.etree.c:54187)
File "parser.pxi", line 1551, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:79701)
File "apihelpers.pxi", line 1452, in lxml.etree._encodeFilenameUTF8 (src/lxml/lxml.etree.c:23127)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x90 in position 36: invalid start byte
The terminal shows this error:
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 842, in emit
msg = self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 719, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
msg = msg % self.args
UnicodeDecodeError: 'ascii' codec can't decode byte 0x82 in position 3: ordinal not in range(128)
Logged from file opensongimport.py, line 144
The interesting thing is, that the files import fine, when I unzip the
file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/795027/+subscriptions
References