Error when using "share"
Closed this issue · 0 comments
bkuri commented
This just started happening (it used to work great… maybe urllib got updated?):
Traceback (most recent call last):
File "/usr/bin/ydcmd", line 2599, in <module>
yd_share_cmd(options, args)
File "/usr/bin/ydcmd", line 2060, in yd_share_cmd
info = yd_publish(options, yd_remote_path(arg))
File "/usr/bin/ydcmd", line 1229, in yd_publish
yd_query(options, method, url, args)
File "/usr/bin/ydcmd", line 913, in yd_query
return yd_query_retry(options, method, url, args, headers, filename, data)
File "/usr/bin/ydcmd", line 849, in yd_query_retry
result = opener.open(request, timeout = options.timeout)
File "/usr/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/usr/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/bin/ydcmd", line 345, in https_open
return self.do_open(self._get_connection, req)
File "/usr/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
TypeError: request() got an unexpected keyword argument 'encode_chunked'