Giter Club home page Giter Club logo

Comments (3)

jghauser avatar jghauser commented on June 15, 2024

Thanks for the report! Just a quick question before I look into this, how is jq involved here at all? I thought we exclusively depend on yq (and that yq doesn't depend on jq). Am I understanding things wrong here?

Is it possible that you're using the python yq? Currently papis.nvim only works with the go yq (sometimes the package is called yq-go). I just checked and my yq is version v4.35.1 whereas the last python yq is at version 3.2.2 which aligns with what you're seeing.

from papis.nvim.

maxmahlke avatar maxmahlke commented on June 15, 2024

Ah that's it! I installed yq from the arch repository with pacman -S yq and it installs https://github.com/kislyuk/yq, which depends on jq. The correct version is named go-yq in the arch repos. That explains why the oj parameters did not appear at all in the man page.

Sorry about that, I just saw that you point out the two different versions in the readme as well.

There is a positive side though: To support python-yq, all that's needed is to replace -oj by -j .

from papis.nvim.

jghauser avatar jghauser commented on June 15, 2024

Ok, great! I'm going to close this issue then. Feel free to open another one if you think we should implement compatibility with python yq. It might be neat to automatically detect which one is installed and change the command as needed (especially if the fix is as simple as you said). I'll have a look if I get some time!

from papis.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.