Exporting a note crashes bear and generates a zero byte file

Operation system:
macOS
Web Browser:
haven’t been able to test anything on web because of the previous bug i filed

Bug report

What were you doing:
I noticed this after i was invited into web app testing group, so i am assuming it is related. I’ve tried to export a single note(which I had opened on the web) to a bunch of formats but every single, bear crashes and i end up with a zero byte file. I’ve tried it with PDF, markdown, bearnote, etc.
What feature did you use:
Exporting a note
What happened:
bear crashed and a zero byte file was created. I’ve attached macOS generated crash log.
What did you expect to happen:
my file would have been exported.
crash_report.txt (85.5 KB)


Feedback:

Forgot to add - I am able to export other notes, but not the ones I tried opening on the web.

So you open them via the web, then export via desktop and it crashes that?

Hi there, this is super interesting. We’ve never experienced this, but adding it to the high priority list of bugs to reproduce!

Would you be open to share one of those note with us? Just copy/paste the text and send it via DM to me :slight_smile:

Thanks.

I tried to replicate again but noticed a few other things

  1. Now i do not see the bug i reported in Clicking on an existing note turns the note into a blank note - #8.
  2. I tried to open a few other notes on web and replicate the behavior but i dont see it happening with most of the notes but just one note.
  3. I thought may be this note is too large, that’s why it is crashing but i was able to export larger notes (in terms of word count, character count) but not this one specific note.
  4. @matteo I can DM the note to you, please let me know what format will be the most beneficial.

Markdown is fine as a format, you can directly copy/paste the note into a text file. My guess is that there is a funky code block that Bear is not handling correctly.

ohh probably. this one has lot of bash commands, sql scripts and other stuff! DM’ing you in a min