-
-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
'utf-8' codec can't decode byte 0xae in position 225: invalid start byte #1623
Comments
Hi @Ajay-056, thanks for the filing this. I suspect the issue is that you may have made an initial entry with a character that Python can't converted to UTF-8, probably because it is in a different character set, though I'm not sure. We know that some types of data can cause this but we haven't been able to reproduce it consistently. Is there anything in your default journal at the path you see when you run Also, could you let us know if you were using an external editor or the built-in editor? |
Here is the output of the jrnl --list Journals defined in config (/home/******/.config/jrnl/jrnl.yaml)
Its the built in editor BTW |
Thanks @Ajay-056 for the information. If there is nothing private in your default journal file, would you be willing to attach it or send it to us? And also, if you are willing to share the output of your And lastly, you may be able to get past this error by deleting your default journal file and starting again, though I am worried the issue may appear again until we can fix the root cause. |
Closing this issue as it was a mistake while changing the path. Missed the text file name as I thought it would create by default. |
Diagnostic output
jrnl: v3.2
Python: 3.10.7 (main, Sep 6 2022, 21:22:27) [GCC 12.2.0]
OS: Linux 5.15.74-3-MANJARO
Current Behavior
Changed the default path while started first. Can't able to add any notes stuck with this error
Expected Behavior
My note to be added in jornal.txt
Repro Steps
Not sure
Debug output
UnicodeDecodeError
Other Information
No response
The text was updated successfully, but these errors were encountered: