如题,目前的日记目录是 daily notes
,我把它手动改成 日记
以后,就无法创建日记了。在日志中看到如下信息:
I 2021/06/06 13:04:45 working.go:364: port [6806] is opened, try to check version of running kernel
I 2021/06/06 13:04:45 working.go:374: version of the running kernel is [1.2.0-beta2]
E 2021/06/06 13:04:52 log.go:48: PANIC RECOVERED: runtime error: slice bounds out of range [:-1]
/usr/local/go/src/runtime/panic.go:965 (0x403c158)
/usr/local/go/src/runtime/panic.go:98 (0x4039aa4)
/Users/Vanessa/Work/Code/siyuan-src/kernel/model/assets.go:237 (0x4aee429)
/Users/Vanessa/Work/Code/siyuan-src/kernel/cmd/unusedassets.go:17 (0x4ba95d8)
/Users/Vanessa/Work/Code/siyuan-src/kernel/cmd/cmd.go:209 (0x4ba9792)
/usr/local/go/src/runtime/asm_amd64.s:1371 (0x4076ce0)
I 2021/06/06 23:21:12 working.go:364: port [6806] is opened, try to check version of running kernel
I 2021/06/06 23:21:12 working.go:374: version of the running kernel is [1.2.0-beta2]
W 2021/06/06 23:21:34 file.go:744: render daily note template [] failed: read /Users/zyang/Share/Library/SiYuan/data/templates: is a directory
W 2021/06/06 23:25:44 file.go:744: render daily note template [] failed: read /Users/zyang/Share/Library/SiYuan/data/templates: is a directory
W 2021/06/07 07:19:40 file.go:744: render daily note template [] failed: read /Users/zyang/Share/Library/SiYuan/data/templates: is a directory
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于