-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Description
Check if applicable
- I have searched the existing issues (required)
- I'm willing to help fix the problem and contribute a pull request
Describe the bug
The following output is produced when running zk:
zk: warning: sql: Scan error on column index 2, name "source_path": converting NULL to string is unsupported
zk: warning: sql: Scan error on column index 2, name "source_path": converting NULL to string is unsupported
zk: warning: sql: Scan error on column index 2, name "source_path": converting NULL to string is unsupported
zk: warning: sql: Scan error on column index 2, name "source_path": converting NULL to string is unsupported
zk: warning: sql: Scan error on column index 2, name "source_path": converting NULL to string is unsupported
How to reproduce?
This happens when I create new notes on another host and sync them over. I need to narrow down the exact sequence, but generally, I:
- Sync notes between two hosts using syncthing.
- Edit and create notes on host B.
- Let notes sync.
- Run
zkon host B
zk configuration
[notebook]
dir = "~/zk"
[note]
filename = "{{id}}"
[format.markdown]
hashtags = true
link-format = "[{{title}}]({{rel-path}})"
[lsp.diagnostics]
dead-link = "error"
[alias]
n = "zk new"
nj = "zk new ~/zk/journal/"
e = "zk edit --interactive --exclude journal"
ea = "zk edit --interactive"
ej = "zk edit --interactive journal --sort path-"
[group.journal]
paths = ["journal"]
[group.journal.note]
filename = "{{format-date now '%Y-%m-%d_%H%M'}}"
template = "journal.md"
[tool]
# pandoc wraps even if told not to; --columns works around this
fzf-preview = "pandoc {-1} --wrap none --columns=8000 -t ansi"Environment
zk
system: Linux 6.15.0-0-edge x86_64 LinuxMetadata
Metadata
Assignees
Labels
No labels