Comments (5)
Yeah. I think your hunch is right. When it was written, you could provide a tuple for the connection and full request timeouts. It seems that may have changed, but it requires a bit more investigation.
from vimeo.py.
@boazin I am having trouble reproducing this error. Looking at the Request docs it seems timeout=(1, 30)
is still the way to specify this.Could you attach an gist of your code and we'll figure it out.
from vimeo.py.
Well, I think it is a question of versions. Run pip freeze
to see what you have. (mine is below)
The code is dead simple:
import vimeo
VIMEO_API_TOKEN = ""
VIMEO_API_SECRET = ""
TOKEN = ""
vimeo_username = ''
vimeo_obj = vimeo.VimeoClient(token=TOKEN, key=VIMEO_API_TOKEN, secret=VIMEO_API_SECRET)
vimeo_obj.get('/users?query={0}'.format(vimeo_username))
My pip freeze
:
Pillow==2.3.0
PyVimeo==0.3.0
argparse==1.2.1
beautifulsoup4==4.3.2
boto==2.38.0
cffi==1.1.0
chardet==2.0.1
colorama==0.2.5
cryptography==0.9
enum34==1.0.4
google-api-python-client==1.4.0
html5lib==0.999
httplib2==0.9.1
idna==2.0
ipaddress==1.0.7
meld3==0.6.10
mercurial==2.8.2
oauth2==1.5.211
oauth2client==1.4.11
opengraph==0.5
pyOpenSSL==0.13
pyasn1==0.1.7
pyasn1-modules==0.0.5
pycparser==2.13
pymongo==3.0.2
python-dateutil==2.4.2
python-instagram==1.3.1
requests==2.2.1
rsa==3.1.4
sendgrid==1.4.0
simplejson==3.7.3
six==1.9.0
smtpapi==0.2.0
supervisor==3.0b2
uritemplate==0.6
urllib3==1.7.1
wheel==0.24.0
wsgiref==0.1.2
from vimeo.py.
@boazin Unfortunately this error is coming deep from the bowels of urllib3
. Requests changed in version 2.4 to support connect timeouts. If you upgrade your version of requests to at least 2.4.0 this issue will be fixed.
from vimeo.py.
OK. Cool. That's weird because I'm using a docker image and building quite often (so it gets pip installed) I will look into the versions.
Thanks!
from vimeo.py.
Related Issues (20)
- Push version 1.1.0 to PyPI HOT 1
- I try to upload a video got error "ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed" HOT 1
- Retrieving channel's metadatas HOT 1
- Video Subdomain embed not working HOT 1
- Any plans to update the requests version HOT 1
- Transcode status is 'complete' while upload status is 'in_progress' HOT 1
- Failed upload using Device Auth token HOT 4
- error importing vimeo: Python 3 HOT 6
- How to add chapters to videos? HOT 2
- Filename is set to "Unknown file name" when using v.upload()
- what is the proper format for uploading a video with a password?
- Here's a package for additional API support HOT 2
- URGENT!!!.....How to create a folder inside folder ? HOT 2
- How to create subfolder/nasted-folder inside parent folder with Vimeo API using python? HOT 3
- Location vs location
- "You have been banned" error when trying to post comment with token of another user. HOT 2
- NameError: name 'uri' is not defined HOT 2
- Uploading videos with vertical bar "|" character in video name/description HOT 1
- authenticateWithCodeGrant API is not working in 1.1.3
- emojis, U+10000 (F0, F1, F2, F3) unicode support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimeo.py.