harshankur / officeParser

A Node.js library to parse text out of any office file. Currently supports docx, pptx, xlsx and odt, odp, ods..
MIT License
123 stars 17 forks source link

TypeError: Cannot read properties of undefined (reading 'nodeValue') #24

Closed yejue closed 7 months ago

yejue commented 8 months ago

I got an error "TypeError: Cannot read properties of undefined (reading 'nodeValue')" when i try to parse "pptx" file. Some of my files are okay, and some are not.

ladrians commented 8 months ago

I have the same problem, had 4.0.4 and updated to 4.0.5 just in case with the same problem, any idea?

harshankur commented 8 months ago

I got an error "TypeError: Cannot read properties of undefined (reading 'nodeValue')" when i try to parse "pptx" file. Some of my files are okay, and some are not.

@yejue Any chance you can upload any of the pptx files here (or mail to me) that were failing for you with which I can debug my code?

gerkim62 commented 8 months ago

11. heart.pptx

I have the same problem, the above file is giving this error for me

yejue commented 7 months ago

I got an error "TypeError: Cannot read properties of undefined (reading 'nodeValue')" when i try to parse "pptx" file. Some of my files are okay, and some are not.

@yejue Any chance you can upload any of the pptx files here (or mail to me) that were failing for you with which I can debug my code?

cccc.pptx

harshankur commented 7 months ago

Thank you for sharing test files for me @yejue and @gerkim62. I have fixed it. Please test it with the new version 4.0.6.