Change this line to return require("mime"):fetch(args) seems to fix the problem.
Failed to run fetcher `mime-ext` with:
/mnt/remote/Movie/To Every You I've Loved Before (2022) [tmdbid-874743]/backdrop.jpg
...
Error message:
runtime error: [string "mime"]:14: attempt to index a nil value (local 'args')
stack traceback:
[string "mime"]:14: in function 'mime.fetch'
stack traceback:
[C]: in local 'poll'
[string "?"]:4: in main chunk
(...tail calls...)
Task initialization failed:
runtime error: [string "mime"]:14: attempt to index a nil value (local 'args')
stack traceback:
[string "mime"]:14: in function 'mime.fetch'
stack traceback:
[C]: in local 'poll'
[string "?"]:4: in main chunk
(...tail calls...)
Minimal reproducer
Update yazi to latest version using main branch. Set fallback_file1 = true
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
kitty 0.37.0
yazi --debug
outputDescribe the bug
After spotter PR, mime-ext.yazi plugin not work anymore. https://github.com/yazi-rs/plugins/blob/4a6edc3349a2a9850075363965d05b9063817df4/mime-ext.yazi/init.lua#L1086
Change this line to
return require("mime"):fetch(args)
seems to fix the problem.Minimal reproducer
fallback_file1 = true
mime
plugin.Anything else?
No response