Skip to content

Instantly share code, notes, and snippets.

@jortel
Last active December 11, 2015 21:18
Show Gist options
  • Save jortel/4660979 to your computer and use it in GitHub Desktop.
Save jortel/4660979 to your computer and use it in GitHub Desktop.
Seeing:
2013-01-28 19:51:10,438 14619:139961558722304: pulp.common.download.backends.curl:ERROR: curl:135 invalid arguments to setopt
Traceback (most recent call last):
File "/home/jortel/git/pulp/platform/src/pulp/common/download/backends/curl.py", line 87, in download
self._set_easy_handle_download(easy_handle, request, report)
File "/home/jortel/git/pulp/platform/src/pulp/common/download/backends/curl.py", line 199, in _set_easy_handle_download
easy_handle.setopt(pycurl.URL, request.url)
TypeError: invalid arguments to setopt
The URL is: file:///tmp/pulp/citrus/upstream-dIElae/test-repo/content/102502a25c57f373ab11b660a0cf8547821ce0e83513c8b6d0d883a28b94704c
Using a file:// url for unit tests. Will curl handle file:// urls?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment