openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #04328
[Bug 667871] [NEW] Theme importer does not accept xml files
Public bug reported:
Hello
While investigating Bug #667865 I attempted to import a theme directly
(without exporting it before). This attempt to import a xml file product
a traceback. I think the theme importer should be able to deal with both
xml and the exported theme. (The exported theme does only consists of
the xml file.)
Traceback (most recent call last):
File "/home/andreas/Projekte/openlp/trunk/openlp/core/ui/thememanager.py", line 452, in onImportTheme
self.unzipTheme(file, self.path)
File "/home/andreas/Projekte/openlp/trunk/openlp/core/ui/thememanager.py", line 540, in unzipTheme
zip = zipfile.ZipFile(filename)
File "/usr/lib/python2.6/zipfile.py", line 696, in __init__
self._GetContents()
File "/usr/lib/python2.6/zipfile.py", line 716, in _GetContents
self._RealGetContents()
File "/usr/lib/python2.6/zipfile.py", line 728, in _RealGetContents
raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file
** Affects: openlp
Importance: Undecided
Status: New
** Tags: themes
--
Theme importer does not accept xml files
https://bugs.launchpad.net/bugs/667871
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
Status in OpenLP - Worship Presentation Software: New
Bug description:
Hello
While investigating Bug #667865 I attempted to import a theme directly (without exporting it before). This attempt to import a xml file product a traceback. I think the theme importer should be able to deal with both xml and the exported theme. (The exported theme does only consists of the xml file.)
Traceback (most recent call last):
File "/home/andreas/Projekte/openlp/trunk/openlp/core/ui/thememanager.py", line 452, in onImportTheme
self.unzipTheme(file, self.path)
File "/home/andreas/Projekte/openlp/trunk/openlp/core/ui/thememanager.py", line 540, in unzipTheme
zip = zipfile.ZipFile(filename)
File "/usr/lib/python2.6/zipfile.py", line 696, in __init__
self._GetContents()
File "/usr/lib/python2.6/zipfile.py", line 716, in _GetContents
self._RealGetContents()
File "/usr/lib/python2.6/zipfile.py", line 728, in _RealGetContents
raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file
Follow ups
References