Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra error when writing empty entry #1048

Closed
micahellison opened this issue Sep 19, 2020 · 2 comments · Fixed by #1053
Closed

Extra error when writing empty entry #1048

micahellison opened this issue Sep 19, 2020 · 2 comments · Fixed by #1053
Assignees
Labels
bug Something isn't working

Comments

@micahellison
Copy link
Member

Bug Report

Environment

  • Jrnl --diagnostic output:
jrnl: v2.4.5
Python: 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 00:11:34) [MSC v.1916 64 bit (AMD64)]
OS: Windows 10
  • Install method: latest from develop, running w/ poetry shell

Current Behavior

I'm now getting an error message when trying to add an empty entry, beyond the usual [Nothing saved to file] message:

C:\dev\jrnl>jrnl
[Nothing saved to file]
ERROR    root         Write mode: couldn't get raw text

Expected Behavior

Should just be seeing: [Nothing saved to file]

Repro Steps

  • run jrnl with no parameters
  • If using an editor, close your editor. Or if using console input, press Ctrl+Z to end the input

Other Information

I don't think this is related to my development environment (like some sort of verbose logging variable?), but please let me know if it is.

@micahellison micahellison added bug Something isn't working 🆕 New! labels Sep 19, 2020
@antanasb
Copy link

antanasb commented Oct 2, 2020

No such behavior here:
$ jrnl
[Nothing saved to file]
$ jrnl --diagnostic
jrnl: v2.4.5
Python: 3.7.5 (default, Nov 7 2019, 10:50:52)
[GCC 8.3.0]
OS Ubuntu 18.04.5 LTS

@wren
Copy link
Member

wren commented Oct 2, 2020

Yeah, I don't see it on v2.4.5 either. Maybe this is running from source on the develop branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants