Giter VIP home page Giter VIP logo

Comments (5)

smallcode avatar smallcode commented on May 20, 2024

I'm having same trouble.

from vcrpy.

msabramo avatar msabramo commented on May 20, 2024

I think I might have a fix -- I will try to send a PR shortly.

from vcrpy.

msabramo avatar msabramo commented on May 20, 2024

5ba4000 is a test that illustrates the problem

marca@marca-mac2:~/dev/git-repos/vcrpy$ tox -e py26requests
...
            if read_timeout is Timeout.DEFAULT_TIMEOUT:
                conn.sock.settimeout(socket.getdefaulttimeout())
            else: # None or a value
>               conn.sock.settimeout(read_timeout)
E               AttributeError: 'NoneType' object has no attribute 'settimeout'

.tox/py26requests/lib/python2.6/site-packages/requests/packages/urllib3/connectionpool.py:308: AttributeError
=========================================================================================================================================== 2 failed, 70 passed in 23.82 seconds ===========================================================================================================================================
ERROR: InvocationError: '/Users/marca/dev/git-repos/vcrpy/.tox/py26requests/bin/python setup.py test'
_________________________________________________________________________________________________________________________________________________________ summary __________________________________________________________________________________________________________________________________________________________
ERROR:   py26requests: commands failed

from vcrpy.

msabramo avatar msabramo commented on May 20, 2024

#50 has the test and the fix. So you can merge #49 to reproduce the problem and then merge #50 to fix it.

from vcrpy.

kevin1024 avatar kevin1024 commented on May 20, 2024

Awesome, thanks! I'm traveling abroad on vacation right now but I will probably have a chance to check this out this weekend.

from vcrpy.

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.