Traceback (most recent call last):


 "/home/ubuntu/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()


 "/home/ubuntu/anaconda3/lib/python3.6/threading.py", line 864, in run

self._target(*self._args, **self._kwargs)


 "/home/ubuntu/pointer-generator/src/batcher.py", line 309, in fill_batch_queue

for _ in range(self._hps.batch_size * self._bucketing_cache_size):
TypeError: unsupported operand type(s) for *: 'Flag' and 'int'

Traceback (most recent call last):


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\knack\cli.py", line 197, in invoke

cmd_result = self.invocation.execute(args)


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-core\azure\cli\core\commands\__init__.py", line 334, in execute


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 96, in generic_exception_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 76, in chained_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 71, in chained_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 86, in network_exception_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 71, in chained_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 59, in unknown_server_failure_exception_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 71, in chained_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 51, in invalid_arg_found_exception_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 71, in chained_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 29, in resource_not_found_exception_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 71, in chained_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\_exception_handler.py", line 21, in duplicate_resource_exception_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-core\azure\cli\core\commands\__init__.py", line 311, in execute


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-core\azure\cli\core\commands\__init__.py", line 170, in __call__


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\knack\commands.py", line 109, in __call__

return self.handler(*args, **kwargs)


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-core\azure\cli\core\__init__.py", line 421, in default_command_handler


 "C:\Users\trdai\AppData\Local\Temp\pip-install-pfctf_lg\azure-cli-cosmosdb\azure\cli\command_modules\cosmosdb\custom.py", line 234, in cli_cosmosdb_database_exists


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\query_iterable.py", line 112, in __next__

return next(self._ex_context)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\execution_context\base_execution_context.py", line 105, in __next__

return self.next()


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\execution_context\execution_dispatcher.py", line 64, in next

return next(self._execution_context)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\execution_context\base_execution_context.py", line 105, in __next__

return self.next()


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\execution_context\base_execution_context.py", line 95,
 in next

results = self.fetch_next_block()


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\execution_context\base_execution_context.py", line 73, in fetch_next_block

return self._fetch_next_block()


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\execution_context\base_execution_context.py", line 158, in _fetch_next_block

return self._fetch_items_helper_with_retries(self._fetch_function)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\execution_context\base_execution_context.py", line 132, in _fetch_items_helper_with_retries

return retry_utility._Execute(self._client, self._client._global_endpoint_manager, callback)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\retry_utility.py", line 56, in _Execute

result = _ExecuteFunction(function, *args, **kwargs)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\retry_utility.py", line 92, in _ExecuteFunction

return function(*args, **kwargs)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\execution_context\base_execution_context.py", line 130, in callback

return self._fetch_items_helper_no_retries(fetch_function)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\execution_context\base_execution_context.py", line 120, in _fetch_items_helper_no_retries

(fetched_items, response_headers) = fetch_function(self._options)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\document_client.py", line 282, in fetch_fn

options), self.last_response_headers


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\document_client.py", line 2685, in __QueryFeed

url_connection = self._global_endpoint_manager.ReadEndpoint


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\global_endpoint_manager.py", line 48, in ReadEndpoint

self.RefreshEndpointList()


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\global_endpoint_manager.py", line 67, in RefreshEndpointList

database_account = self._GetDatabaseAccount()


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\global_endpoint_manager.py", line 85, in _GetDatabaseAccount

database_account = self._GetDatabaseAccountStub(self.DefaultEndpoint)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\global_endpoint_manager.py", line 105, in _GetDatabaseAccountStub

return self.Client.GetDatabaseAccount(endpoint)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\document_client.py", line 2309, in GetDatabaseAccount

headers)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\document_client.py", line 2546, in __Get

headers)


 "C:\Program 
s (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\pydocumentdb\synchronized_request.py", line 210, in SynchronizedRequest

resource_url = base_url + request_options['path']
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
