Boostnote: [Bug] - Notes cannot be shown

Created on 12 Jun 2017  路  10Comments  路  Source: BoostIO/Boostnote

Version: 0.8.10
Operating System: Linux (Arch x64)

Trying to use the latest version notes just will not show. When I select a note this view remains (the new post screen):
deepinscreenshot20170612191915

The console is showing following error:
deepinscreenshot20170612191740

Following that link shows the exact contents of the error:
deepinscreenshot20170612192237

Most helpful comment

Continuing to identify where the root of the problem is I finally found an actual helpful error which might give you an idea of where the issue can be found:
deepinscreenshot20170614113604
Which leads to a real error message pointing to an actual function:
deepinscreenshot20170614113350
So something related to the MarkdownNoteDetail rendering method passing a wrong element type or so.

__EDIT: Found the file where the problem is.__ Alright the error is to be found in _MarkdownNoteDetail.js_, the reason why is that I placed the old version of the file back (from v0.8.9) and everything works! So something inside that file leads to the errors.

__EDIT 2: More info.__ Looking at all the changes made I eventually was able to isolate the problem to _TodolistPercentage.js_. Something there leads to the error, trying to find the real issue but I'm not that familiar with React.

All 10 comments

Hi, @clone1612. Could you paste the note as long as you can? The note is probably located in ~/Boostnote/notes/*.cson.

This is the full content of the note:

type: "MARKDOWN_NOTE"
folder: "95437e1f8b7bd1705f81"
title: "Chapter 5"
content: '''
  # Chapter 5
  What is the pattern of Model-Driven Architectures (MDA)?
  - Design a Platform Independent Model (PIM)
  - Automatically transform to a Platform Specific Model (PSM)
  - Repeat until you reach code

  Benefits?
  - __Productivity__ with a shift of focus from PSM -> PIM and reusing the PIM->PSM transformations
  - __Portability__ since PIMs are portable to multiple platforms
  - __Maintenance and Documentation__ because automatic transformations keep (derived) artefacts in sync

  All models predefined by MDA:
  - __CIM:__ Computation Independent Model which is a conceptual data-centric model of the system's _application domain_
  - __PIM__
  - __PSM__
  - __PM:__ Platform Model describing platform features that we can interface with
'''
tags: []
isStarred: false
createdAt: "2017-06-11T16:28:39.518Z"
updatedAt: "2017-06-11T16:34:59.547Z"

Happens with all notes and I can't seem to figure out why. They worked fine with 0.8.9 yesterday but with the new version none can be shown, all showing the same error.

Umm, actually, we're working for release the version now. It means v0.8.10 should not be released yet :fearful:

Ow well that explains a lot :) But maybe change the release page then, thanks for the very quick response!
deepinscreenshot20170612193545

__EDIT:__ I now notice I was looking at releases from this repository and not the boostnote-releases repository which got me confused. It's not released yet on the other, sorry for the inconvenience.

__EDIT 2:__ Since it now seems to have been officially released -> I still encounter the error. Version 0.8.10, _built from source_ shows the previously described behavior.

More specific error + a new one which pops up after switching between notes:
deepinscreenshot20170612202558
So to summarize my problem:

  • Notes can not be shown, screen remains on create a new post
  • Clicking on different notes leads to the errors shown in the previous image
  • Not happening in 0.8.9 (same note storage, did not add anything new with 0.8.10)
  • Happens in 0.8.10 on Arch Linux (x64) when _compiled from source_, being from the tar.gz provided in this Boostnote repository https://github.com/BoostIO/Boostnote/archive/v0.8.10.tar.gz

__EDIT:__ Continued doing research and tried some different things but no effect. Experimented with different yarn/node versions, .zip or .tar.gz all to no avail. The exact same procedure to build and use the application works perfectly with v0.8.9 but not with the new version.

Continuing to identify where the root of the problem is I finally found an actual helpful error which might give you an idea of where the issue can be found:
deepinscreenshot20170614113604
Which leads to a real error message pointing to an actual function:
deepinscreenshot20170614113350
So something related to the MarkdownNoteDetail rendering method passing a wrong element type or so.

__EDIT: Found the file where the problem is.__ Alright the error is to be found in _MarkdownNoteDetail.js_, the reason why is that I placed the old version of the file back (from v0.8.9) and everything works! So something inside that file leads to the errors.

__EDIT 2: More info.__ Looking at all the changes made I eventually was able to isolate the problem to _TodolistPercentage.js_. Something there leads to the error, trying to find the real issue but I'm not that familiar with React.

:+1:

Probably improved in v0.8.11.
Is this bug still occurring?

Fixed with v0.8.11, thanks!

Cool! Thanks for waiting!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

croulibri picture croulibri  路  3Comments

shunchuan picture shunchuan  路  3Comments

dtgay picture dtgay  路  3Comments

NonlinearFruit picture NonlinearFruit  路  3Comments

louiealmeda picture louiealmeda  路  3Comments