sxyazi / yazi

💥 Blazing fast terminal file manager written in Rust, based on async I/O.
https://yazi-rs.github.io
MIT License
16.36k stars 381 forks source link

Folder contents no longer displaying #1244

Closed bertradio closed 4 months ago

bertradio commented 4 months ago

What system are you running Yazi on?

Linux X11

What terminal are you running Yazi in?

kitty 0.35.2

Did you try the latest code to see if this problem got fixed?

Tried, but the problem still

yazi --debug output

```sh ```

Yazi Version: 0.2.5 (VERGEN_IDEMPOTENT_OUTPUT 2024-07-01) OS: linux-x86_64 (unix) Debug: false

Emulator Emulator.via_env: ("xterm-kitty", "") Emulator.via_csi: Ok(Kitty) Emulator.detect: Kitty

Adaptor Adaptor.matches: Kitty

Desktop XDG_SESSION_TYPE: Some("x11") WAYLAND_DISPLAY: None DISPLAY: Some(":0")

SSH shared.in_ssh_connection: false

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

Variables SHELL: Some("/bin/bash") EDITOR: Some("nvim") ZELLIJ_SESSION_NAME: None YAZI_FILE_ONE: None YAZI_CONFIG_HOME: None

file(1) Version: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "file-5.41\nmagic file from /etc/magic:/usr/share/misc/magic\n", stderr: "" })

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 })

tmux TMUX: false

Ueberzug++ Version: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })

Describe the bug

With latest version the contents of directories no longer display. The same version with the same config on my laptop runing Debian 12 behaves properly.

Expected Behavior

When focused on a directory the files in the directory should display in the pane to the right

To Reproduce

HIghlight a directory in yazi

Configuration

No response

Anything else?

No response

bertradio commented 4 months ago

Also see this repeated error in yazi.log:

2024-07-01T19:26:48.284843Z ERROR yazi_plugin::isolate::peek: runtime error: [string "/home/bert/.cargo/registry/src/index.crates.i..."]:56: attempt to index a nil value (local 'child') stack traceback:

at /home/bert/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yazi-plugin-0.2.5/src/isolate/peek.rs:50
sxyazi commented 4 months ago

Is it still without any config? If not please upload your ~/.config/yazi

bertradio commented 4 months ago

Just tried with no config and the problem is not there. So it must be somewhere in my config. The strange thing is that I have the identical config on my laptop and the problem is not there.

Attached is my config.

On Mon, Jul 1, 2024, at 18:07, 三咲雅 · Misaki Masa wrote:

Is it still without any config? If not please upload your ~/.config/yazi

— Reply to this email directly, view it on GitHub https://github.com/sxyazi/yazi/issues/1244#issuecomment-2201590813, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLYYROY33CEFIMVBDFM22DZKH4OJAVCNFSM6AAAAABKGE67HOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBRGU4TAOBRGM. You are receiving this because you authored the thread.Message ID: @.***>

sxyazi commented 4 months ago

I can't see any attached config

bertradio commented 4 months ago

I found the problem. It was in my yazi.toml, not yazi itself. Thanks for the reply. All is well now.

On Tue, Jul 2, 2024, at 06:48, 三咲雅 · Misaki Masa wrote:

I can't see any attached config

— Reply to this email directly, view it on GitHub https://github.com/sxyazi/yazi/issues/1244#issuecomment-2203220619, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLYYRPITJM2W42U2QNMDBDZKKVRJAVCNFSM6AAAAABKGE67HOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBTGIZDANRRHE. You are receiving this because you authored the thread.Message ID: @.***>

sxyazi commented 4 months ago

Alright lets close this issue then

bertradio commented 4 months ago

Thanks. Sorry for the bother. It was my problem. I was away for 2 months. I did a lot of modifications with yazi. I had added the eza plugin. When I copied everything to my desktop I forgot to install eza. So yazi was calling a non-existent program. When I installed eza on my desktop everything worked as it should.

Really appreciate your work on yazi. It's the BEST>

On Tue, Jul 2, 2024, at 06:56, 三咲雅 · Misaki Masa wrote:

Alright lets close this issue then

— Reply to this email directly, view it on GitHub https://github.com/sxyazi/yazi/issues/1244#issuecomment-2203257454, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLYYROP7IPAJJCBMLXX3T3ZKKWQHAVCNFSM6AAAAABKGE67HOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBTGI2TONBVGQ. You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 3 months ago

I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.