Project

General

Profile

Bug #3808

Export to zip file doesn't work

Added by Shaun Walbridge over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
02/04/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3808

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.

History

#1 Updated by Jing Tao over 10 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.

#2 Updated by Shaun Walbridge over 10 years ago

Tested the fix which Jing wrote, and it works under both Linux and Windows.

#3 Updated by Jing Tao over 10 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.

#4 Updated by Jing Tao about 10 years ago

move to 1.7

#5 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 3808

Also available in: Atom PDF