Page 1 of 1

OOXML2Txt

Posted: Thu May 31, 2018 12:39 pm
by MSpagni
Compare a couple of files xlsx with plugins (OOXML2Txt): all is fine;
do a "manual synch",
remove it and... at least on Win7 it's a mess.
To get something meaningful iyou need to close EDP and restart.

On XP I get:
Plug-in "C:\Programmi\ExamDiff Pro\Plug-Ins\OOXML2Txt\OOXML2Txt.exe" "C:\Documents and Settings\Flurmy\Impostazioni locali\Temp\edD2900C98-3F3E-4114-AE2B-076D33EA2AB5.tmp.xlsx" "C:\DOCUME~1\Flurmy\IMPOST~1\Temp\ed5BCE5F4E-BAF4-4F5F-9764-34705B9451A6.tmp.xlsx" produced no output (its return code was 0).

The plug-in returned the following error: Cannot find central directory

File C:\Documents and Settings\Flurmy\Impostazioni locali\Temp\edD2900C98-3F3E-4114-AE2B-076D33EA2AB5.tmp.xlsx will be compared without applying plug-in(s).

Re: OOXML2Txt

Posted: Thu May 31, 2018 1:38 pm
by psguru
I doubt Windows version has anything to do with the results but I tried your steps on Windows 10, and all worked as expected: removing manual synchronization links one-by-one triggered recompare of plugin-generated files, and removing the last link resulted in re-running the plug-in.

Re: OOXML2Txt

Posted: Mon Jun 04, 2018 5:06 pm
by psguru
The culprit was "Save files before re-comparison" combined with manual links and removal of the last one. The fix will come in the next 10 Beta build.

Re: OOXML2Txt

Posted: Mon Jun 04, 2018 10:23 pm
by MSpagni
As always, thank you very much.

Re: OOXML2Txt

Posted: Wed Feb 22, 2023 2:24 am
by patrickdrd
same problem (version 13.0.1.7):

Code: Select all

Plug-in "C:\ExamDiff\Plug-Ins\OOXML2Txt\OOXML2Txt.exe" "C:\Downloads\2i.docx" "C:\Users\xxx\AppData\Local\Temp\ed2AC77C3A-0EED-4E4F-8277-205647CDECDC.tmp.docx" produced no output (its return code was 0).

The plug-in returned the following error: 

Cannot find central directory

File C:\Downloads\2i.docx will be compared without applying plug-in(s).

Re: OOXML2Txt

Posted: Thu Feb 23, 2023 4:23 pm
by psguru
What are the steps to reproduce? I try the original steps, with and without "Save files before re-comparison", and it worked as expected.

Re: OOXML2Txt

Posted: Thu Feb 23, 2023 11:31 pm
by patrickdrd
well, I've found out what the problem was,
actually the "2i.docx" document appeared to be corrupt,
so even word had trouble opening (it managed to after a couple questions though,
so I saved it again and that's it,
plugin opened without errors),
so maybe you would like to handle these cases in a better way?

Re: OOXML2Txt

Posted: Fri Feb 24, 2023 9:17 am
by psguru
If the document is corrupt to begin with, while the error message looks cryptic, it's what the OOXML library returns. Interpreting all possible errors is not feasible.