Possibly because my notes are all ASCII text notes? I got this when pressing CTRL-M to see Markdown preview.
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1413, in call
return self.func(*args)
File "/home/ilesm/projects/nvpy-swestdijk/nvpy/view.py", line 902, in cmd_markdown
self.notify_observers('command:markdown', None)
File "/home/ilesm/projects/nvpy-swestdijk/nvpy/utils.py", line 177, in notify_observers
o(self, evt_type, evt)
File "/home/ilesm/projects/nvpy-swestdijk/nvpy/nvpy.py", line 409, in observer_view_markdown
fn = self.helper_markdown_to_html()
File "/home/ilesm/projects/nvpy-swestdijk/nvpy/nvpy.py", line 353, in helper_markdown_to_html
html = markdown.markdown(c)
File "/usr/local/lib/python2.7/dist-packages/markdown/init.py", line 401, in markdown
return md.convert(text)
File "/usr/local/lib/python2.7/dist-packages/markdown/init.py", line 271, in convert
source = unicode(source)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128). -- Note: Markdown only accepts unicode input!
Possibly because my notes are all ASCII text notes? I got this when pressing CTRL-M to see Markdown preview.
Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1413, in call return self.func(*args) File "/home/ilesm/projects/nvpy-swestdijk/nvpy/view.py", line 902, in cmd_markdown self.notify_observers('command:markdown', None) File "/home/ilesm/projects/nvpy-swestdijk/nvpy/utils.py", line 177, in notify_observers o(self, evt_type, evt) File "/home/ilesm/projects/nvpy-swestdijk/nvpy/nvpy.py", line 409, in observer_view_markdown fn = self.helper_markdown_to_html() File "/home/ilesm/projects/nvpy-swestdijk/nvpy/nvpy.py", line 353, in helper_markdown_to_html html = markdown.markdown(c) File "/usr/local/lib/python2.7/dist-packages/markdown/init.py", line 401, in markdown return md.convert(text) File "/usr/local/lib/python2.7/dist-packages/markdown/init.py", line 271, in convert source = unicode(source) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128). -- Note: Markdown only accepts unicode input!