dedukun / bookmarks.yazi

MIT License
59 stars 2 forks source link

`ya.sync` doesn't work #26

Closed Jaehaks closed 1 month ago

Jaehaks commented 1 month ago

Thank you for your efforts,

when I press 'm' and 'a' (or other character) to save current location to 'a' register, it doesn't work and get error but I don't know what is the reason. image

I set configuration using default config.

Is it problem of yazi?

dedukun commented 1 month ago

Hey,

It's weird that it's not working, what's your Yazi version? Can you add the output of yazi --debug here?

Also, there are some logs in ~/.local/state/yazi/yazi.log ( or C:\Users\USERNAME\AppData\Roaming\yazi\state\yazi.log if you are on windows), if you could also trigger the error and put the log here it would be helpful.

Jaehaks commented 1 month ago

Ya Version: 0.3.1 (4112bf4 2024-08-15)

Emulator Emulator.via_env: ("xterm-256color", "WezTerm") Emulator.via_csi: Ok(Unknown([])) Emulator.detect : WezTerm

Adapter Adapter.matches: Iterm2

Desktop XDG_SESSION_TYPE: None WAYLAND_DISPLAY : None DISPLAY : None

SSH shared.in_ssh_connection: false

WSL /proc/sys/fs/binfmt_misc/WSLInterop: false

Variables SHELL : None EDITOR : None VISUAL : None YAZI_FILE_ONE : Some("C:\Program Files\Git\usr\bin\file.exe") YAZI_CONFIG_HOME : Some("C:\Users\USER\.config\Dotfiles\yazi")

Text Opener default: Some(Opener { run: "nvim %", block: true, orphan: false, desc: "nvim", for_: None, spread: true }) block : Some(Opener { run: "nvim %", block: true, orphan: false, desc: "nvim", for_: None, spread: true })

Multiplexers TMUX : false tmux version : program not found ZELLIJ_SESSION_NAME: None Zellij version : program not found

Dependencies file : 5.45 ueberzugpp : program not found ffmpegthumbnailer: program not found magick : 7.1.1-36 fzf : 0.53.0 fd : 10.1.0 rg : 14.1.0 chafa : program not found zoxide : 0.9.4 7z : 24.07 7zz : program not found jq : 1.7.1


When reporting a bug, please also upload the yazi.log log file - only upload the most recent content by time. You can find it in the "C:\Users\USER\AppData\Roaming\yazi\state" directory.



I'm windows user
Jaehaks commented 1 month ago

I'm sorry to my mistake. ya.sync works well.

but Folder:by_kind() got a nil value

I think Folder.CURRENT returns nil. When I dump the content of Folder, it doesn't have anything. but its type is 'table'

sxyazi commented 1 month ago

but Folder:by_kind() got a nil value

Hey, your Yazi version is 0.3, but you are using the 0.2.5 branch of this plugin. Please upgrade the plugin to the latest main branch.

dedukun commented 1 month ago

Yeah, that's it, please use the main branch of the plugin.

I think I'll remove the 0.2.5 branch. It was created before the 0.3 Yazi release, but it's not needed anymore.

Jaehaks commented 1 month ago

@sxyazi @dedukun I understand what the problem is. Thanks:)