Page 1 of 1

Error “File 1: File could not be opened” message occurs

Posted: Tue Dec 22, 2015 2:24 pm
by jovivier
If trying to open a design and receive the message:-
File could not be opened. An attempt was made to move the file pointer before the beginning of the file.
File1.png
this indicates something went wrong with the saving of the design and the DEZ (archive) file is broken in some way. This could be caused by a hard-disk error or the save process may have been interrupted, which may be related to saving directly to a network drive rather than saving locally and backing up later.

If you have been working on the file recently look in the backup folder for the last autosave ( See Settings|Miscellaneous for the location) – this should open without issue but will probably be missing some information, depending on your backup frequency.

Some files are recoverable by using a freeware zip-file repair program. We use Zip_Repair from DiskInternals, which can be downloaded from http://www.diskinternals.com/zip-repair/ .

In order to use a zip repair program you will first have to rename the .DEZ file to .ZIP by locating the file via My Computer:-
ZipRepair.png
Then follow the instructions in the zip file repair program.
Browse for the broken file and enter the path for the repaired design if this is to be saved in a different place.
ZipRepaired.png
Click Next for the zip file to be repaired. The contents of the dez/zip file can be viewed.
ZipRepaired2.png
After the repair process rename the .ZIP file back to .DEZ and open in IRRICAD.

Note, if any files are 'repaired' to be folders rather than files then the dez is unrecoverable.