Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urlopen error unknown url type: https #79

Open
Dhouha-ma opened this issue May 15, 2016 · 1 comment
Open

urlopen error unknown url type: https #79

Dhouha-ma opened this issue May 15, 2016 · 1 comment

Comments

@Dhouha-ma
Copy link

Dhouha-ma commented May 15, 2016

Hi @csawyerYumaed,

could you help me with this error ?

Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz
Traceback (most recent call last):
File "./setup.py", line 2, in
use_setuptools()
File "/home/ubuntu/Bureau/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/pyowncloud/distribute_setup.py", line 152, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/home/ubuntu/Bureau/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/pyowncloud/distribute_setup.py", line 131, in _do_download
to_dir, download_delay)
File "/home/ubuntu/Bureau/openwrt/build_dir/target-mipsel_r2_uClibc-0.9.32/pyowncloud/distribute_setup.py", line 201, in download_setuptools
src = urlopen(url)
File "/home/ubuntu/Bureau/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.32/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/home/ubuntu/Bureau/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.32/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/home/ubuntu/Bureau/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.32/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/home/ubuntu/Bureau/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.32/usr/lib/python2.7/urllib2.py", line 438, in error
result = self._call_chain(_args)
File "/home/ubuntu/Bureau/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.32/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/home/ubuntu/Bureau/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.32/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/home/ubuntu/Bureau/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.32/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/home/ubuntu/Bureau/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.32/usr/lib/python2.7/urllib2.py", line 423, in _open
'unknown_open', req)
File "/home/ubuntu/Bureau/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.32/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/home/ubuntu/Bureau/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.32/usr/lib/python2.7/urllib2.py", line 1240, in unknown_open
raise URLError('unknown url type: %s' % type)
urllib2.URLError:

@csawyerYumaed
Copy link
Owner

This code is no longer used in production.

FYI, the official owncloud client includes a command line client now, and may alleviate most use cases for this code: https://doc.owncloud.org/desktop/2.1/advancedusage.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants