Bug fix for URL contents decoding
Traceback (most recent call last):
File "/usr/local/bin/caper", line 13, in <module>
main()
File "/usr/local/lib/python3.6/dist-packages/caper/cli.py", line 58, in main
c.submit()
File "/usr/local/lib/python3.6/dist-packages/caper/caper.py", line 384, in submit
imports_file = self.__create_imports_zip_file_from_wdl(tmp_dir)
File "/usr/local/lib/python3.6/dist-packages/caper/caper.py", line 847, in __create_imports_zip_file_from_wdl
if CaperWDLParser(self._wdl).zip_subworkflows(zip_file):
File "/usr/local/lib/python3.6/dist-packages/caper/caper_wdl_parser.py", line 75, in zip_subworkflows
root_zip_dir=tmp_d)
File "/usr/local/lib/python3.6/dist-packages/caper/caper_wdl_parser.py", line 189, in __recurse_subworkflow
depth=depth + 1)
File "/usr/local/lib/python3.6/dist-packages/caper/caper_wdl_parser.py", line 146, in __recurse_subworkflow
imports = self.find_imports()
File "/usr/local/lib/python3.6/dist-packages/caper/caper_wdl_parser.py", line 39, in find_imports
CaperWDLParser.RE_PATTERN_WDL_IMPORT)
File "/usr/local/lib/python3.6/dist-packages/caper/caper_wdl_parser.py", line 85, in __find_val
for line in u.read().split('\n'):
File "/usr/local/lib/python3.6/dist-packages/autouri/httpurl.py", line 113, in read
return b.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte