Coder Social home page Coder Social logo

Comments (9)

gnebbia avatar gnebbia commented on May 22, 2024

Thanks for the suggestion!

Fixed with commit 699ba35

from kb.

tddschn avatar tddschn commented on May 22, 2024

Thanks for the quick fix!

I'm not familiar with setup.py and couldn't figure out how to upgrade kb, can you help me?

Here's what I tried:

git pull origin master # checked, add.py and edit.py fixed with "shell=True" added to call()
python setup.py install
python setup.py install --force

and it seems that these 2 commands still don't work.

from kb.

gnebbia avatar gnebbia commented on May 22, 2024

do this:
within the kb direectory, execute:

pip install --upgrade .  # there is a dot after upgrade ;)

Let me know if it works!

from kb.

tddschn avatar tddschn commented on May 22, 2024

Thanks! :)

After upgrading kb with pip install --upgrade ., add works but edit doesn't.

I'll open a PR and try to fix it :)

from kb.

gnebbia avatar gnebbia commented on May 22, 2024

Ok, fixed again, sorry, my bad, I did not update the edit module!
Thanks for warning me!
Can you update and tell me if it is solved now?

from kb.

tddschn avatar tddschn commented on May 22, 2024

Yes, thanks! :)

from kb.

gnebbia avatar gnebbia commented on May 22, 2024

Ok I fixed it again and removed shell=True, since it may cause security issues through command injection.
Try to see if it works now, I tested and seems ok now!

from kb.

tddschn avatar tddschn commented on May 22, 2024

Yes it works! Thank you :)

from kb.

gnebbia avatar gnebbia commented on May 22, 2024

You are welcome! Happy to be helpful!

from kb.

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.