Traceback (most recent call last):


 "G:/python/AngrTest/CoreTest.py", line 17, in <module>

data, actual_size, new_pos = simfile.read(0, 5)
TypeError: 'int' object is not iterable

Traceback (most recent call last):


 "/usr/local/bin/gsutil", line 10, in <module>

sys.exit(main())


 "/usr/local/lib/python3.6/site-packages/gslib/__main__.py", line 431, in main

user_project=user_project)


 "/usr/local/lib/python3.6/site-packages/gslib/__main__.py", line 760, in _RunNamedCommandAndHandleExceptions

_HandleUnknownFailure(e)


 "/usr/local/lib/python3.6/site-packages/gslib/__main__.py", line 626, in _RunNamedCommandAndHandleExceptions

user_project=user_project)


 "/usr/local/lib/python3.6/site-packages/gslib/command_runner.py", line 411, in RunNamedCommand

return_code = command_inst.RunCommand()


 "/usr/local/lib/python3.6/site-packages/gslib/commands/ls.py", line 640, in RunCommand

listing_helper.ExpandUrlAndPrint(storage_url))


 "/usr/local/lib/python3.6/site-packages/gslib/utils/ls_helper.py", line 369, in ExpandUrlAndPrint

print_initial_newline=False)


 "/usr/local/lib/python3.6/site-packages/gslib/utils/ls_helper.py", line 443, in _RecurseExpandUrlAndPrint

bucket_listing_fields=self.bucket_listing_fields):


 "/usr/local/lib/python3.6/site-packages/gslib/wildcard_iterator.py", line 497, in IterAll

expand_top_level_buckets=expand_top_level_buckets):


 "/usr/local/lib/python3.6/site-packages/gslib/wildcard_iterator.py", line 173, in __iter__

fields=bucket_listing_fields):


 "/usr/local/lib/python3.6/site-packages/gslib/gcs_json_api.py", line 715, in ListObjects

global_params=global_params)


 "/usr/local/lib/python3.6/site-packages/gslib/third_party/storage_apitools/storage_v1_client.py", line 1217, in List

config, request, global_params=global_params)


 "/usr/local/lib/python3.6/site-packages/apitools/base/py/base_api.py", line 729, in _RunMethod

http, http_request, **opts)


 "/usr/local/lib/python3.6/site-packages/apitools/base/py/http_wrapper.py", line 356, in MakeRequest

max_retry_wait, total_wait_sec))


 "/usr/local/lib/python3.6/site-packages/gslib/utils/retry_util.py", line 65, in WarnAfterManyRetriesHandler

http_wrapper.HandleExceptionsAndRebuildHttpConnections(retry_args)


 "/usr/local/lib/python3.6/site-packages/apitools/base/py/http_wrapper.py", line 304, in HandleExceptionsAndRebuildHttpConnections

raise retry_args.exc


 "/usr/local/lib/python3.6/site-packages/apitools/base/py/http_wrapper.py", line 346, in MakeRequest

check_response_func=check_response_func)


 "/usr/local/lib/python3.6/site-packages/apitools/base/py/http_wrapper.py", line 396, in _MakeRequestNoRetry

redirections=redirections, connection_type=connection_type)


 "/usr/local/lib/python3.6/site-packages/oauth2client/transport.py", line 159, in new_request

credentials._refresh(orig_request_method)


 "/usr/local/lib/python3.6/site-packages/oauth2client/client.py", line 761, in _refresh

self._do_refresh_request(http)


 "/usr/local/lib/python3.6/site-packages/oauth2client/client.py", line 780, in _do_refresh_request

body=body, headers=headers)


 "/usr/local/lib/python3.6/site-packages/oauth2client/transport.py", line 282, in request

connection_type=connection_type)


 "/usr/local/lib/python3.6/site-packages/httplib2/__init__.py", line 1953, in request

cachekey,


 "/usr/local/lib/python3.6/site-packages/httplib2/__init__.py", line 1618, in _request

conn, request_uri, method, body, headers


 "/usr/local/lib/python3.6/site-packages/httplib2/__init__.py", line 1524, in _conn_request

conn.connect()


 "/usr/local/lib/python3.6/site-packages/httplib2/__init__.py", line 1305, in connect

sock.connect((self.host, self.port))


 "/usr/local/lib/python3.6/site-packages/socks.py", line 406, in connect

self.__negotiatehttp(destpair[0],destpair[1])


 "/usr/local/lib/python3.6/site-packages/socks.py", line 357, in __negotiatehttp

while resp.find("\r\n\r\n")==-1:
TypeError: a bytes-like object is required, not 'str'
