Project

General

Profile

Actions

Bug #3808

closed

Export to zip file doesn't work

Added by Shaun Walbridge over 15 years ago. Updated almost 15 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.

Actions #1

Updated by Jing Tao over 15 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.

Actions #2

Updated by Shaun Walbridge over 15 years ago

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

Actions #3

Updated by Jing Tao over 15 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.

Actions #4

Updated by Jing Tao almost 15 years ago

move to 1.7

Actions #5

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 3808

Actions

Also available in: Atom PDF