zine
zine copied to clipboard
resourceFetchError when templates is called "template"
I've gotten the following error:
thread 14658 panic: TODO: error reporting in resourceFetchError: FileNotFound
/nix/store/hnr4v45krhbjqrcs02jbidg6y3cqi1yx-zig-0.12.0-dev.3192+e2cbbd0c2/lib/std/debug.zig:434:22: 0x107ff85 in panicExtra__anon_8891 (super_exe)
std.builtin.panic(msg, trace, ret_addr);
^
/nix/store/hnr4v45krhbjqrcs02jbidg6y3cqi1yx-zig-0.12.0-dev.3192+e2cbbd0c2/lib/std/debug.zig:409:15: 0x107fd35 in panic__anon_8432 (super_exe)
panicExtra(null, null, format, args);
^
/home/nightmare/.cache/zig/p/122019e58fa52177a8496613a252ad1d6c0f94f5ebe239abadcb87971e6b7ddf7700/super/src/interpreter.zig:117:28: 0x10214e4 in resourceFetchError (super_exe)
std.debug.panic(
^
/home/nightmare/.cache/zig/p/122019e58fa52177a8496613a252ad1d6c0f94f5ebe239abadcb87971e6b7ddf7700/zine/src/super.zig:210:44: 0x101faba in main (super_exe)
super_vm.resourceFetchError(ioerr);
^
/nix/store/hnr4v45krhbjqrcs02jbidg6y3cqi1yx-zig-0.12.0-dev.3192+e2cbbd0c2/lib/std/start.zig:511:37: 0x1021752 in main (super_exe)
const result = root.main() catch |err| {
^
???:?:?: 0x7f88593540cd in ??? (libc.so.6)
Unwind information for `libc.so.6:0x7f88593540cd` was not available, trace may be incomplete
this error appears to be referencing, that "templates" was called "template", therefore it could not find my "base" template.
This error could be improved to show the user that the template should in fact be in a "templates" folder.