Opened 17 years ago

Closed 17 years ago

Last modified 11 years ago

#751 closed doubt (fixed)

Loading .oza files in v2 generated by v1

Reported by: Alfredo Torre Owned by: Víctor de Buen Remiro
Priority: high Milestone: Mantainance
Component: OIS Version: 2.0.1
Severity: major Keywords: OZA Load
Cc:

Description (last modified by Víctor de Buen Remiro)

Hi,
TOL gets closed when I try to load an OZA file in version 2 generated in version 1.1.7... and It doesn't give any error message!

Is there any incompatibility between these versions handling OZA files?

Please, try to load the file attached in v2.

Thanks in advance!

Attachments (1)

Test_Oza_v1.7_To_v2.oza​ (3.1 KB ) - added by Alfredo Torre 17 years ago.

Download all attachments as: .zip

Change History (7)

by Alfredo Torre, 17 years ago

Attachment: Test_Oza_v1.7_To_v2.oza​ added

comment:1 by Víctor de Buen Remiro, 17 years ago

Description: modified (diff)

In my machine, with both last versions (v1.1.7 b.19 and v2.0.1 b.0.17.alpha), this code returns an error, so you are using an old release.

ERROR: [1] [ZipArchive]Error while processing archive C:/users/vdebuen/prj/tolp/trunk/tol_tests/tol/Bugzilla/bug_000751/Test_Oza_v1.7_To_v2.oza: The central directory was not found in the archive (or you were trying to open not the last volume of a segmented archive).

I think is not a problem of OIS but of open source library ZipArchive that is used to compress OIS directories in .oza files.

You can try to open your old TOL version and save the OIS without compressing

  Set aux.1 = { Include("Test_Oza_v1.7_To_v2.oza") };  
  Real Ois.Store(aux.1,"Test_Oza_v1.7_To_v2");  

Then you will can to open a newer TOL version and load it with a sentence as this one

  Set Include("Test_Oza_v1.7_To_v2");

Sorry, I cannot debug nor solve this non reproducible problem.
Please, remember that backward compatibility is not warranted in OIS system.

comment:2 by Alfredo Torre, 17 years ago

Hi, I've tried what you suggest y it works perfect.

Thank you very much!

comment:3 by Víctor de Buen Remiro, 17 years ago

Resolution: → fixed
Status: new → closed

comment:4 by Víctor de Buen Remiro, 17 years ago

Component: Kernel → OIS
Milestone: → Manteinance
Type: defect → doubt

comment:5 by Pedro Gea, 11 years ago

El test produce una caída en TOL-GNU (v3.2) aunque en TOL-MSVC tampoco consigue leer el OZA, simplemente produce el fallo:

ERROR: [1] [ZipArchive]Error while processing archive C:/Users/pgea/BSD/tolp/trunk/tol_tests/tol/Bugzilla/bug_000751/Test_Oza_v1.7_To_v2.oza: The central directory was not found in the archive (or you were trying to open not the last volume of a segmented archive).

comment:6 by Pedro Gea, 11 years ago

Véase #1812

Note: See TracTickets for help on using tickets.