openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #05519
[Bug 701624] Re: Themes import failure - expects a .zip file
*** This bug is a duplicate of bug 667871 ***
https://bugs.launchpad.net/bugs/667871
** This bug has been marked a duplicate of bug 667871
Theme importer does not accept xml files
* You can subscribe to bug 667871 by following this link: https://bugs.launchpad.net/openlp/+bug/667871/+subscribe
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/701624
Title:
Themes import failure - expects a .zip file
Status in OpenLP - Worship Presentation Software:
Won't Fix
Bug description:
Windows XP sp 3
When trying to import a theme from v.1.2.x the following error message
is presented:
Traceback (most recent call last):
File "C:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.core.ui.thememanager", line 388, in onImportTheme
File "C:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.core.ui.thememanager", line 478, in unzipTheme
File "C:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/zipfile", line 693, in __init__
File "C:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/zipfile", line 713, in _GetContents
File "C:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/zipfile", line 725, in _RealGetContents
BadZipfile: File is not a zip file
The existing theme assumed to be an .xml file - two possible
solutions, either expand the import to allow .xml files or limit the
selection browser to *.zip during initialisation.
Having saved the theme (the built in "blue.xml" from v1.2.x) I got an
error popup saying that the file was not a valid theme....
Next attempt was to save the xml and bmp files into a zip - this worked OK.
This needs a bit of careful wording around the themes importer to explain how to prepare the files for import.
References