Closed jack-rory-staunton closed 4 years ago
thanks for reporting @jack-rory-staunton. I'll push a fix soon
@jack-rory-staunton I just pushed version 0.1.7, can you try it out?
thanks for your quick reaction - I'm running it now, I will let you know how it goes!
I had previously edited that line to sys.exit(1) and it didn't fix the issue. Using 0.1.7 I get the same error (below). I think iPython handles quit/exit/sys.exit somehow differently to Python and a different workaround is required.
SystemExit Traceback (most recent call last)
In any case, when using the convert() function on a whole directory, it would be nice if there was a way to skip over any files that throw such exceptions (e.g. wrap in a try/except).
I tried processing the same file using the CLI and get this:
| => docx2pdf ./ ./ 0%| | 0/2 [00:00<?, ?it/s]{'input': '/Users/jrs/Documents/GitHub/nndata-research-bundle/services/BAAM_raw/ASED draft BAA 7.20.2017.docx', 'output': '/Users/jrs/Documents/GitHub/nndata-research-bundle/services/BAAM_raw/ASED draft BAA 7.20.2017.pdf', 'result': 'error', 'error': 'Error: Message not understood.'}
Got it. We can make that happen.
On Tue, Apr 28, 2020 at 9:30 AM Jack Rory Staunton notifications@github.com wrote:
I tried processing the same file using the CLI and get this:
| => docx2pdf ./ ./ 0%| | 0/2 [00:00<?, ?it/s]{'input': '/Users/jrs/Documents/GitHub/nndata-research-bundle/services/BAAM_raw/ASED draft BAA 7.20.2017.docx', 'output': '/Users/jrs/Documents/GitHub/nndata-research-bundle/services/BAAM_raw/ASED draft BAA 7.20.2017.pdf', 'result': 'error', 'error': 'Error: Message not understood.'}
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/AlJohri/docx2pdf/issues/6#issuecomment-620609042, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVJFTBZBQYYRCH5ELDFMZ3RO3K65ANCNFSM4MSEER2Q .
I also get the Error: Message not understood.
-- is there any way to figure out what is causing this in the input file?
I'm also getting this error. Is there any news about this?
From jupyter the code breaks at line 73
exit(1)
with the following traceback:
NameError Traceback (most recent call last)