Bug #3808
closed
Export to zip file doesn't work
Added by Shaun Walbridge almost 16 years ago.
Updated over 15 years ago.
Category:
morpho - general
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.
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.
Tested the fix which Jing wrote, and it works under both Linux and Windows.
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.
Original Bugzilla ID was 3808
Also available in: Atom
PDF