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

JS error in example #9

Closed
adjenks opened this issue Apr 2, 2019 · 7 comments
Closed

JS error in example #9

adjenks opened this issue Apr 2, 2019 · 7 comments

Comments

@adjenks
Copy link

adjenks commented Apr 2, 2019

When I load a msg file on the demo page: https://ykarpovich.github.io/msg.reader/examples/example.html

I get:

TypeError: fileData.body.substring is not a function[Learn More] example.html:141:33

Using FireFox 66.

@adjenks
Copy link
Author

adjenks commented Apr 2, 2019

It appears to only give the error with a particular email. I tried another email and it worked.

@adjenks
Copy link
Author

adjenks commented Apr 2, 2019

I'll try to supply a sample file, but I don't want to share the email that is giving the error.... Hopefully that error msg is enough for you to debug it in case I cannot supply the email sample.

@ykarpovich
Copy link
Owner

It's so strange...

I've double-checked with Chrome 73 and Firefox 66.0.2. I have no one error.

I guess only email example (maybe dummy, but with error as original) helps us to solve the problem.

@adjenks
Copy link
Author

adjenks commented Apr 3, 2019

I'm sorry, I can't recreate the error with a non-confidential email. I'll post one if I can find one at a later date.

@jagant11
Copy link

I'm also facing the same issue, Unit8Array is returned as body. please find attached for sample email with the issue.

3113.xlsx.zip

@ykarpovich
Copy link
Owner

@adjenks
Copy link
Author

adjenks commented Apr 30, 2019

I think it appears to work. I'm not sure if I'm using the same email I tested with before, but I haven't had trouble with any. Before I had trouble with several.

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

3 participants