Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No preview, RuntimeError in log #12

Open
Dronakurl opened this issue Oct 28, 2024 · 2 comments
Open

No preview, RuntimeError in log #12

Dronakurl opened this issue Oct 28, 2024 · 2 comments

Comments

@Dronakurl
Copy link

I don't see a preview.

  • glow is installed and can be used from the command line with no problem
  • checked .local/state/yazi/yazi.log and found this:
  2024-10-28T22:02:49.666340Z ERROR yazi_plugin::isolate::peek: RuntimeError("[string \"glow\"]:45: attempt to index a nil value (field 'Text')\nstack traceback:\n\t[string \"glow\"]:45: in function <[string \"glow\"]:3>")
    at /home/konrad/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yazi-plugin-0.3.3/src/isolate/peek.rs:50
  • yazi version: Yazi 0.3.3 (VERGEN_IDEMPOTENT_OUTPUT 2024-10-05)
  • Installation of glow.yazi just now using the instructions
@Dronakurl Dronakurl changed the title No preview No preview, RuntimeError in log Oct 28, 2024
@diego-velez
Copy link

diego-velez commented Oct 29, 2024

It's not working for me either. I'm seeing the same error in the logs.

@Reledia
Copy link
Owner

Reledia commented Oct 30, 2024

It was my bad. I merged a patch that upgraded ui.Paragraph to ui.Text. This is something that happened on the upstream too, but it's not in the release version yet. It will be useful only when an eventual 0.3.4 or 0.4.0 will come out. For now, I'm reverting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants