Opened 17 years ago
Closed 17 years ago
#563 closed defect (fixed)
Zip Error using Ois.UseModule
Reported by: | César Pérez Álvarez | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | System | Version: | 1.1.6 |
Severity: | major | Keywords: | |
Cc: |
Description
If we have two files, file1.tol and file2.tol with the following codes:
file1.tol
Text path = "file2.tol";
Real caducity = 3;
Real oisUpdt = Ois.CheckIsUpdated(path);
Date oisTime = Ois.GetModuleTime (path);
/*Real obsolete = If(oisUpdt & (DateDif(Daily, oisTime, Now)<=caducity), 0,
Ois.RemoveModule(path));*/
Set Ois.UseModule(path);
file2.tol
Set A = Empty.
If we compile and decompile file1.tol, TOL runs ok. But, if we uncomment the two lines in file1.tol we obtain the following error.
ERROR: [1] [ZipArchive]Error while processing archive C:/Documents and Settings/Administrador/Datos de programa/tol/OIS/module.oza: Bad file number
I erased all in Ois.DefRoot before compile and decompile file1.tol each time.
This error happens in CVS version and 1.1.6, b5 sub-version
Change History (2)
comment:1 Changed 17 years ago by
Status: | new → assigned |
---|
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Problem has been solved in CVS (1.1.6 and head)
In BOisLoader::Remove () (at file OIS/oisloader.cpp) must close and reconnect for writing before to call RemoveImage
Thanks for reporting
We are working about this problem
Thanks for reporting