Error reading LayOut file help

Hi Mathias,

I took a look at your first file, and it looks like the file got corrupted somehow. Behind the scenes, a .layout file is simply a .zip file, but since your file was corrupted, LayOut couldn’t unzip it. Here’s how I fixed it:

  1. Rename the extension from .layout to .zip.
  2. On a command line, I ran the following command:
unzip ~/Downloads/Arbejdstegninger.zip -d ~/Downloads

Note that it might be a good idea to unzip into a temp folder, as there are a number of files that will be extracted to the root level. Also note that I was unable to do this through the UI, as it gave me an error when attempting to unzip the file.
3) This was showing that some things were corrupted within the zip file, but it was able to unzip most of the contents.
4) I then re-zipped what was successfully unzipped (including all of the .xml files, and the ref and pages folders), and changed the extension back to .layout from .zip.

This seems to have recovered most of your data for that file.

Hope that makes sense,
Adam

Arbejdstegninger_fixed.layout (3.7 MB)

2 Likes