Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Expected boundary; Line 11 #28

Open
chdagenais opened this issue Nov 14, 2021 · 3 comments
Open

Error: Expected boundary; Line 11 #28

chdagenais opened this issue Nov 14, 2021 · 3 comments

Comments

@chdagenais
Copy link

Trying to use from command line to convert mhtml to html

Always getting this error, with any mhtml files I have to convert.

Error: Expected boundary; Line 11
    at i (/usr/local/lib/node_modules/mhtml2html/dist/mhtml2html.js:1:1684)
    at Object.parse (/usr/local/lib/node_modules/mhtml2html/dist/mhtml2html.js:1:3565)
    at Object.convert (/usr/local/lib/node_modules/mhtml2html/dist/mhtml2html.js:1:4442)
    at /usr/local/lib/node_modules/mhtml2html/index.js:34:36
    at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)

V 3.0.0

enabling or disabling the convertIframe option gives the same error

@msindwan
Copy link
Owner

msindwan commented Nov 30, 2021

Hi @charlesdagenais can you please provide an example mhtml file you are using? Were these files generated by chrome?

@fira42073
Copy link

I have the same problem, while trying to convert this file

Оскорбление чувств играющих — Ртуть.zip

@rg-software
Copy link

rg-software commented Sep 21, 2023

Same for me, using these examples.

Upd: I made a quick fix it in my own fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants