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

Support Request #1681

Closed
prog1001 opened this issue Feb 16, 2023 · 1 comment
Closed

Support Request #1681

prog1001 opened this issue Feb 16, 2023 · 1 comment
Labels
support End user support

Comments

@prog1001
Copy link

Diagnostic output

┌─()────────────────────────────────────────(dt3777@dt3777-MacBookPro:pts/2)─┐
└─(11:07:14)──> jrnl ──(Thu,Feb16)─┘
┏━ Error ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ TypeError ┃
┃ argument of type 'NoneType' is not iterable ┃
┃ ┃
┃ This is probably a bug. Please file an issue at: ┃
https://github.com/jrnl-org/jrnl/issues/new/choose
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
┌─(
)────────────────────────────────────────(dt3777@dt3777-MacBookPro:pts/2)─┐
└─(11:07:15)──> 1 ↵ ──(Thu,Feb16)─┘

What are you trying to do?

Tried to move jrnl.txt files and config from a different computer and seems to have broken the installation and can't reinstall properly.

I also did try a chown command but i'm new maybe didn't take. :)

Really would love some specific support on this also if you have a good link for configuration files for jrnl i'd appreciate it.

What have you tried?

I have tried a number of fixes and removed a lot from my yaml config file as well as recreating directory and file for jrnl.txt

Other Information

jrnl.yml file:

GNU nano 6.4 /home/dt3777/.config/jrnl/jrnl.yaml
colors:
body: none
date: none
tags: none
title: none
default_hour: 9
default_journal: ~/.config/jrnls/jrnl.txt
default_minute: 0
editor: nano
encrypt: false
highlight: true
indent_character: ⥑
journals: null
linewrap: 79
tagsymbols: '#@'
template: false
timeformat: '%F %r'
version: v3.3


Results of "Tree" on the dir:

┌─(~)────────────────────────────────────────(dt3777@dt3777-MacBookPro:pts/2)─┐
└─(11:10:41)──> tree ~/.config/jrnl/jrnls 2 ↵ ──(Thu,Feb16)─┘
/home/dt3777/.config/jrnl/jrnls
└── jrnl.txt

0 directories, 1 file

@prog1001 prog1001 added 🆕 New! support End user support labels Feb 16, 2023
@micahellison
Copy link
Member

Hi @prog1001, it looks like your journals aren't being specified correctly. I think it's crashing when it's trying to parse your "journals" key.

You'll want to remove this lines from your config, since it isn't doing anything:

default_journal: ~/.config/jrnls/jrnl.txt

Then replace this line:

journals: null

With this:

journals:
  default: ~/.config/jrnls/jrnl.txt

As for more reading, the Advanced Usage page is a decent step-by-step guide to getting started with the config file, while the Configuration Reference page covers all the details.

I'm going to close this since I'm pretty confident that's the solution, but still feel free to respond here if it's not working after that change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support End user support
Projects
None yet
Development

No branches or pull requests

2 participants