On Wednesday, July 6, 2016 10:31:45 AM WEST Andrew Parsloe wrote:
> LyX 2.1.5 has no trouble saving and reading its own compressed files.

That is good, I was being thoroughly in order to not to discart any 
possibility.

> If I save a compressed file in 2.2.0, LyX 2.1.5 can read it. If I export 
> a compressed file from 2.2.0 to 2.1.x, LyX 2.1.5 cannot read it.
> 
> I've attached four files:
> 
> test.lyx  The original 2.2.0 file ("A quick brown fox jumps over the 
> lazy dog.") *saved* as a compressed file.

That is OK.

> test.21.lyx  This is test.lyx *exported* as a compressed file to 2.1.x 
> format.

This file is corrupted as you show up in _stdout_

> test  This is test.lyx as extracted by 7zip. After adding the .lyx 
> extension it can be read in LyX 2.1.5.
> 
> _stdout_  This is what 7zip produces when attempting to extract 
> test.21.lyx. A dialog pops up with the message "CRC failed: <stdout>". 
> Looked at in a text editor, some extraction has occurred, but obviously 
> not to completion.

Yes, the file is corrupted.
 
> Windows' builtin zip mechanism is unable to extract either test.lyx or 
> test.21.lyx. I have to change the extensions to .zip for it to recognize 
> them as zipped, but it claims both zipped folders are empty.

This is a nicety of windows. :-(

> Andrew

Could you try the following:

*) go to Tools->Preferences->File Handling->Converters

*) choose in the Converter Definition "LyX -> LyX 2.1.x"

*) change the converter from

"python -tt $$s/lyx2lyx/lyx2lyx -t 474 $$i > $$o"

to

"python -tt $$s/lyx2lyx/lyx2lyx -t 474 $$i -o $$o"

that is the change > to -o.

*) select Modify in upper right side and then Save in the lower part.

*) repeat the export to 2.1.x and see if it works now.

As I have told you before this works in Linux.

Regards,
-- 
José Abílio

Reply via email to