Git Product home page Git Product logo

Comments (8)

Vouivre avatar Vouivre commented on July 27, 2024

Sorry, I forgot, perhaps you know the problem, because you are doing
some modifications. In this case, could you tell me which version I can install ?

from rofi-pass.

carnager avatar carnager commented on July 27, 2024

update rofi from git. The drawbacks of bleeding edge dependencies :)

from rofi-pass.

Vouivre avatar Vouivre commented on July 27, 2024

No, it still doesn't work. I have tested on my gentoo system. I have the same error message. I think the problem is with the argument '--type' for xdotool. Does it works for you ? If yes, perhaps the problem is with xdotool. I have the version 2.20110530.1 and there is a newer version (3.20150503.1). If it's the problem, I'll try to create the package for gentoo to see if it fixes the issue.

from rofi-pass.

carnager avatar carnager commented on July 27, 2024

no, there is something fishy going on. can you show the output of bash -x /path/to/rofi-pass?
if you have the time, you can join #gmpc on freenode.

The first strange thing already seems to happen way before xdotool is even called.

from rofi-pass.

Vouivre avatar Vouivre commented on July 27, 2024

Tell me if it's easier to for you to you that I join #gmpc. In fact I don't use freenode but I notice it will be necessary in the future ;-). So first information, but it seems it changes nothing: my shell is zsh. But bash in installed, no problem. If I run the command you gave me, I get the following:

http://pastebin.fr/40705

Just one thing, perhaps something is missing in my package (gentoo) and that's the reason why it doesn't work:

Content of rofi-pass:

/etc
/etc/rofi-pass.conf
/usr
/usr/bin
/usr/bin/addpass
/usr/bin/rofi-pass
/usr/share
/usr/share/doc
/usr/share/doc/rofi-pass
/usr/share/doc/rofi-pass/README.md.bz2
/usr/share/doc/rofi-pass/config.example.bz2
/usr/share/doc/rofi-pass/parsers
/usr/share/doc/rofi-pass/parsers/chromium.bz2
/usr/share/doc/rofi-pass/parsers/firefox.bz2`

from rofi-pass.

carnager avatar carnager commented on July 27, 2024
offtopic

First of all. that was not the command i gave you and i am surprised it worked at all 😄 (plus vs minus)
something is very odd. every call is doubled in that output. that is not normal. anyway

back to problem

Apart from that I don't believe that you run latest rofi from git. Your output is a "6" (line 145) which is not present in the echo before (lines 106-124). This can only happen if rofi was told to return the index instead of the actual content. This was done with "-i" in rofi before 3rd of august. and it's the only thing I added in those last commits. From august the 3rd "-i" will instead use case insensitive matchings.

Here the relevant commit in rofi: davatorium/rofi@8ca3c27

Long story short: Everything points to you not running rofi from master.

anyway

I added a fix, which I wanted to introduce anyway. All custom rofi options are now set in config file.

# optional rofi parameters:
rofiopts="-i -no-levenshtein-sort"

You might want to update rofi-pass again and add this to your config. make sure to NOT include the "-i". That one will break with rofi versions older than the above commit

If you are 100% certain that your rofi is up-to-date, make sure you don't have an old version in your PATH. Find out with where rofi

from rofi-pass.

Vouivre avatar Vouivre commented on July 27, 2024

Not the command you gave me ? I still not see the difference :-(.

Ok, now I understand: the problem has to do with rofi. I use the last version of rofi-pass, but rofi 0.15.7. So that's the problem. On Archlinux it works without a problem after reinstalling rofi-git. At the moment I have chosen for Gentoo to install the version of the commit "fcac25e8fb9f0111d00142b5cf61e471584480d5", it's the version of 22 th July. Perhaps on Gentoo I will create a rofi-git package.

Now everything works as expected, thank you! I let you close this issue if everything is also alright for you!

Thank you!

from rofi-pass.

carnager avatar carnager commented on July 27, 2024

you can install latest version of rofi-pass, like i explained. it will work now with rofi 0.15.7.
just set rofiopts="-no-levenshtein-sort" in config file
in later rofi versions add "-i" to these options, if you want case-insensitive search.

and my command had a "-x" yours had a "+x" :)

from rofi-pass.

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.