You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
g show mynotename --raw
Traceback (most recent call last):
File "/usr/local/bin/g", line 1441, in main
Notes().show(**ARGS)
File "/usr/local/bin/g", line 1074, in show
out.showNoteRaw(note)
File "/home/vitaly/soft/geeknote/out.py", line 36, in wrapped
result = fn(*args, **kwargs)
File "/home/vitaly/soft/geeknote/out.py", line 223, in showNoteRaw
printLine(Editor.ENMLtoText(note.content, 'pre'))
File "/home/vitaly/soft/geeknote/editor.py", line 95, in ENMLtoText
content = u''.join((content, c))
TypeError: sequence item 1: expected string or Unicode, Tag found
It depends on content of the note (because fails not for every note but only for one). To reproduce - create note with this content:
Side question - is it possible to preserve monospace font for some notes? For example for this example above when I save output from some cli. In official Evernote client it is possible to mark area as code - nothing similar in Geeknote?
P.S.: Just thank you that you continue to maintain this project, I use Geeknote every day, this is one of my basic utilities.
The text was updated successfully, but these errors were encountered:
(In the meantime, I think that the monospace font is created by the <code></code> encapsulation, which should be available by creating a note in markdown format and backquoting the content, like this:
geeknote create --title "codetest" --notebook "Test" --tag "test" --rawmd --content "`This is a code test`"
If that's not working for you, please open a separate issue so that each issue contains only one topic).
Thanks for your continued interested in geeknote. I maintain it for the same reason - it's part of my daily/basic utilities.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It depends on content of the note (because fails not for every note but only for one). To reproduce - create note with this content:
Side question - is it possible to preserve monospace font for some notes? For example for this example above when I save output from some cli. In official Evernote client it is possible to mark area as code - nothing similar in Geeknote?
P.S.: Just thank you that you continue to maintain this project, I use Geeknote every day, this is one of my basic utilities.
The text was updated successfully, but these errors were encountered: