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

Getting a new error wit the extension: TypeError: Cannot call method "replace" of null. #182

Open
serferdinand2 opened this issue Oct 22, 2024 · 1 comment

Comments

@serferdinand2
Copy link

When trying to convert doc to MD I get an error above. Never happened before. It happens in only one Doc file.

What could potentially be causing this?

@evbacher
Copy link
Owner

Thanks for filing this bug. It appears to be happening very rarely (although there have been a number in the past week: about 100 times in more than 4 million executions), and it is related to the TOC in the Google Doc, which we use to create intra-doc hyperlinks.

So I am guessing that the doc in question contains some intra-doc links and that there is some problem where the heading ID or the URL is null. I can do some more null checking there.

I'm not sure if you can share view access to the Doc file where this occurs, but if so that would be great to have a reproducible bug.

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

2 participants