← Back to team overview

openlp-core team mailing list archive

[Bug 701624] Re: Themes import failure - expects a .zip file

 

This will be covered in the documentation.
V2 imports are from V1 exports or V2 exports not hand crafted files.

** Changed in: openlp
       Status: New => Won't Fix

-- 
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