Giter Site home page Giter Site logo

Comments (3)

jonathanslenders avatar jonathanslenders commented on July 27, 2024 1

Hi @immunIT,

It's not a bug. Prompt_toolkit went from 1.0.15 to 2.0.1. This is a major upgrade and is not compatible.
See: https://python-prompt-toolkit.readthedocs.io/en/2.0/pages/upgrading.html It is also clearly documented in the changelog. So, in fact it's a bug in drupwn, by not pinning major version numbers.

There are many improvements in the 2.0 version, so you might want to have a look at upgrading. See also: prompt-toolkit/python-prompt-toolkit#647 for instance.
Let me know if you need some help upgrading, but please read the documentation first. ;)

from drupwn.

 avatar commented on July 27, 2024

Hi @C1ph3rFlux,

Thanks for your feedback. It seems that the author of the prompt_toolkit library released a new version a few days ago which is, as you detected it, buggy. (I will open an issue on their repo ASAP)

To fix this issue, I set a version for this lib in the setup.py and the requirements.txt. The problem should be solve now :)

from drupwn.

Script-Nomad avatar Script-Nomad commented on July 27, 2024

This bug resurfaced for me because of the changes between prompt_toolkit's major versions. Rather than submitting a new issue, I went ahead and fixed the problem, or so I believe.

This bug should be resolved by the most recent PR #19 I just submitted. The only major component that was not working was the prompt_toolkit.completion.WordCompleter class, because it used to exist in prompt_toolkit.contrib. I did not note any other major usage changes, and every aspect of the tool worked as intended as far as I could tell from testing. Hopefully this resolves the problem.

from drupwn.

Related Issues (18)

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.