daisy / ace

Ace by DAISY, an Accessibility Checker for EPUB
MIT License
74 stars 22 forks source link

ACE crashes #402

Open clapierre opened 5 months ago

clapierre commented 5 months ago

EPUB crashes ACE both GUI and Command line version.

Ace v1.3.2 Node v21.6.2 OS: Windows 11

Error Message:

node:9184) electron: Failed to load URL: https://player.wwnorton.com/iframe?playertype=audio&layout=wide&theme=default&themecolor=&file=/wwnorton.college.public.editorial/history/give/VO-06-1-edit.mp3 with error: ERR_BLOCKED_BY_CLIENT (node:9184) electron: Failed to load URL: https://player.wwnorton.com/iframe?playertype=audio&layout=wide&theme=default&themecolor=&file=/wwnorton.college.public.editorial/history/give/VO-06-2-edit.mp3 with error: ERR_BLOCKED_BY_CLIENT info: - content/2.2.7-chapter06.xhtml: No issues found info: - content/2.2.6-chapter06.xhtml: 2 issues found TypeError: Cannot read properties of null (reading 'toString') at C:\Users\kalai\AppData\Roaming\npm\node_modules\@daisy\ace\node_modules\@daisy\ace-core\lib\checker\checker-chromium.js:147:93 at Array.forEach () at C:\Users\kalai\AppData\Roaming\npm\node_modules\@daisy\ace\node_modules\@daisy\ace-core\lib\checker\checker-chromium.js:120:27 at Array.forEach () at checkSingle (C:\Users\kalai\AppData\Roaming\npm\node_modules\@daisy\ace\node_modules\@daisy\ace-core\lib\checker\checker-chromium.js:118:48) at async C:\Users\kalai\AppData\Roaming\npm\node_modules\@daisy\ace\node_modules\p-map\index.js:57:22 error: Ace HTML check error: Failed to check Content Document 'content/2.2.6-chapter06.xhtml': Cannot read properties of null (reading 'toString') info: - content/2.2.8-chapter06.xhtml: No issues found error: Ace processing error: Error: Failed to check Content Document 'content/2.2.6-chapter06.xhtml': Cannot read properties of null (reading 'toString') error: Error: Failed to check Content Document 'content/2.2.6-chapter06.xhtml': Cannot read properties of null (reading 'toString') info: Closing logs. Re-run Ace using the --verbose option to enable full debug logging.

Gui Version had the following error msg: Error: Failed to check Content Document 'content/0.1-cover-1vol.xhtml': window.tryAceAxe 15

I can ask the publisher for permission to share the EPUB if necessary, please let me know, I can send the EPUB out of band if required and if the publisher gives permission.