OOXML2Txt

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
MSpagni
Expert Member
Posts: 537
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

OOXML2Txt

Post 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).
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: OOXML2Txt

Post 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.
psguru
PrestoSoft
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: OOXML2Txt

Post 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.
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 537
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: OOXML2Txt

Post by MSpagni »

As always, thank you very much.
User avatar
patrickdrd
New Member
Posts: 2
Joined: Wed Feb 22, 2023 2:22 am

Re: OOXML2Txt

Post 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).
Last edited by patrickdrd on Wed Feb 22, 2023 2:25 am, edited 1 time in total.
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: OOXML2Txt

Post 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.
psguru
PrestoSoft
User avatar
patrickdrd
New Member
Posts: 2
Joined: Wed Feb 22, 2023 2:22 am

Re: OOXML2Txt

Post 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?
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: OOXML2Txt

Post 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.
psguru
PrestoSoft
Post Reply