What I’m trying to do
Get my Day One entries into Obsidian.
I’m trying to get my obsidian export (JSON or MD) into Obsidian and access them in a way that mimics, as far as possible, the day one style. This includes voice memos; I make a lot of these.
Things I have tried
Currently i’ve exported as MarkDown files which gives me this:
But when I put that into Obsidian it just gives me access to the folders with no structure.
I’ve tried exporting as JSON and using the latest script I could find dayone-to-obsidian](https://github.com/edoardob90/dayone-to-obsidian)
But running that I got errors that I couldn’t understand.
(base) james@JVs-MacBook dayone-to-obsidian-main % python import.py --yaml --convert-links /Users/james/Documents/JSON-03-21-2023_6-39-pm
ℹ Processing journals...
Processing entries of 'Instagram.json' ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:--
Traceback (most recent call last):
File "/Users/james/Downloads/dayone-to-obsidian-main/import.py", line 165, in <module>
convert()
File "/Users/james/opt/anaconda3/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/Users/james/opt/anaconda3/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/Users/james/opt/anaconda3/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/james/opt/anaconda3/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/Users/james/Downloads/dayone-to-obsidian-main/import.py", line 143, in convert
process_journal(
File "/Users/james/Downloads/dayone-to-obsidian-main/utils.py", line 239, in process_journal
extra_tags=extra_tags,
UnboundLocalError: local variable 'extra_tags' referenced before assignment
(base) james@JVs-MacBook dayone-to-obsidian-main %
Any help greatly appreciated.
I think it must be a new thing that day one now exports as markdown but I can’t find a way to get that to work for me.