Closed deining closed 2 years ago
Sorry that you're experiencing this crash!
I'm looking at the panicking line, and it might be one single word in one single file causing the crash. Could you send the markdown file that's causing the issue to me, either here or to my email stork@jameslittle.me
?
Thanks for your quick response!
Sorry that you're experiencing this crash!
Don't worry!
I'm looking at the panicking line, and it might be one single word in one single file causing the crash.
Bingo. I could track it down, and the offending line/word inside my markdown file is an URL:
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard
Nice, thanks for tracking that down. I'll get started on a PR to fix this.
Just so I know where to focus - is the URL "bare" within the text, or is it within a link? In other words, does the document look like this:
yadda yadda yadda your blog post talks about Prism, which you can read more about at https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard and I like using Prism because of these reasons
or is it like this:
yadda yadda yadda your blog post talks about [Prism](https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard) and I like using Prism because of these reasons
Nice, thanks for tracking that down. I'll get started on a PR to fix this.
Thanks for your commitment!
Just so I know where to focus - is the URL "bare" within the text
Yes. The URL is inside a fenced code block:
* Prism download link:
```none
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard
However, currently `stork` crashes on the URL on a single line (without fenced code block, as given in my [previous comment](https://github.com/jameslittle230/stork/issues/227#issuecomment-1003765913)), too.
This is now fixed in master, and will be part of the next minor release, 1.4.0! Thanks again for the report :)
I'm trying to index some markdown-files, and stork is crashing during index generation:
Stacktrace:
My environment:
stork
repo