Bug #3808
closedExport to zip file doesn't work
0%
Description
When trying to use the 'Export: Export to a zip file...' feature fails. It first reports that it successfully exported, but then throws an error:
Exception in exporting to zip file (AbstractDataPackage)
A zip file is created, but is corrupt.
Updated by Jing Tao almost 16 years ago
I tried to export two packages - one with data and one without data. Importing the package without data succeed but importing the package with data failed.
Updated by Shaun Walbridge almost 16 years ago
Tested the fix which Jing wrote, and it works under both Linux and Windows.
Updated by Jing Tao almost 16 years ago
I also tested in Mac, it worked too.
The reason why "export zip file" was broken is that the data file structure was changed. It is tao.12296.1.package/data/tao.12295.1/object-file-name. But when we do zip process, morpho thought it is tao.12296.1.package/data/tao.12295.1.