Git Product home page Git Product logo

Comments (8)

alanhamlett avatar alanhamlett commented on May 21, 2024 2

Thanks @bausmeier, just created an issue for this at urllib3/urllib3#871

from vim-wakatime.

alanhamlett avatar alanhamlett commented on May 21, 2024

Can you reproduce the error from Terminal or somehow get a full Traceback with line numbers?

Try running this command from Terminal:

python ~/.vim/bundle/vim-wakatime/plugin/packages/wakatime/cli.py --file THE_FILE_YOU_WERE_EDITING_IN_VIM

from vim-wakatime.

shinux avatar shinux commented on May 21, 2024

having tried your command, but terminal returns me nothing.

this seems to be an urllib3 error

from vim-wakatime.

alanhamlett avatar alanhamlett commented on May 21, 2024

Yes it is a bug in urllib3 but before we can submit an issue to them we should debug a little. Can you paste the output of this Terminal command:

pip freeze | grep -e "requests\|urllib3"

It's possible requests or urllib3 is importing Retry from an older version installed on your system, which is still a bug in urllib3 just a different bug.

If you run these 2 commands in Terminal does the error in Vim go away:

sudo pip uninstall requests
sudo pip uninstall urllib3

from vim-wakatime.

shinux avatar shinux commented on May 21, 2024

Got no requests nor urllib3 in my global environment, and I can't reproduce right now...

I'll focus on testing urlopen function from urllib3.

Thanks for your patient support 💯

from vim-wakatime.

alanhamlett avatar alanhamlett commented on May 21, 2024

Ok that's good, then it must be a bug in the latest version of urllib3. I'll try to reproduce it too since it looks like that method is only used in one place and shouldn't be too complicated.

from vim-wakatime.

bausmeier avatar bausmeier commented on May 21, 2024

@alanhamlett I'm getting the same issue. Full traceback here: https://gist.github.com/bausmeier/00720abdfdc98bb2e2a1b48fc00d39b5.

from vim-wakatime.

alanhamlett avatar alanhamlett commented on May 21, 2024

Using master version of urllib3 because it looks like a new version of requests won't be released for a while.

from vim-wakatime.

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.