close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 15 years ago

Closed 15 years ago

Last modified 10 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 15 years ago.

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by Alfredo Torre

Attachment: Test_Oza_v1.7_To_v2.oza added

comment:1 Changed 15 years ago by Víctor de Buen Remiro

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 Changed 15 years ago by Alfredo Torre

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

Thank you very much!

comment:3 Changed 15 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

comment:4 Changed 15 years ago by Víctor de Buen Remiro

Component: KernelOIS
Milestone: Manteinance
Type: defectdoubt

comment:5 Changed 10 years ago by Pedro Gea

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 Changed 10 years ago by Pedro Gea

Véase #1812

Note: See TracTickets for help on using tickets.