Python interactive window. Type $help for a list of commands. Oct09 16:49:28.940BST 33096 DEBUG Equities Future & Options DataScope Search (2): running 1301 tasks on local () Oct10 12:25:47.806BST 32628 INFO Processing instruments bucket No.588 for searchFuturesOptions with len:1 Instrument Range DHI.N<-->DHI.N Oct10 12:25:47.806BST 32628 DEBUG Trying to acquire Refinitiv Oct10 12:25:48.114BST 32628 INFO Exceeded acquire rate. Retrying in 0.25 seconds Oct10 12:25:48.662BST 32628 INFO Exceeded acquire rate. Retrying in 0.50 seconds Oct10 12:25:49.469BST 32628 INFO Acquired Refinitiv in 1.663 sec Oct10 12:25:51.365BST 32628 INFO Response code when attempting to retrieve token from DataScope: 200 Oct10 12:25:51.366BST 32628 INFO value retrieved successfully. Oct10 12:25:53.685BST 32628 INFO Searched for Futures and Options successfully. Oct10 12:25:53.685BST 32628 INFO value retrieved successfully. Oct10 12:25:53.686BST 32628 INFO Processing instruments bucket No.589 for searchFuturesOptions with len:1 Instrument Range ROP.O<-->ROP.O Oct10 12:25:53.686BST 32628 DEBUG Trying to acquire Refinitiv Oct10 12:25:53.995BST 32628 INFO Exceeded acquire rate. Retrying in 0.25 seconds Oct10 12:25:54.555BST 32628 INFO Exceeded acquire rate. Retrying in 0.50 seconds Oct10 12:25:55.351BST 32628 INFO Acquired Refinitiv in 1.664 sec Oct10 12:25:56.231BST 32628 INFO Response code when attempting to retrieve token from DataScope: 200 Oct10 12:25:56.231BST 32628 INFO value retrieved successfully. Oct10 12:25:58.781BST 32628 INFO Searched for Futures and Options successfully. Oct10 12:25:58.781BST 32628 INFO value retrieved successfully. Oct10 12:25:58.782BST 32628 INFO Processing instruments bucket No.590 for searchFuturesOptions with len:1 Instrument Range PII.N<-->PII.N Oct10 12:25:58.782BST 32628 DEBUG Trying to acquire Refinitiv Oct10 12:25:59.090BST 32628 INFO Exceeded acquire rate. Retrying in 0.25 seconds Oct10 12:25:59.647BST 32628 INFO Acquired Refinitiv in 0.864 sec Oct10 12:26:11.990BST 32628 INFO Response code when attempting to retrieve token from DataScope: 200 Oct10 12:26:11.990BST 32628 INFO value retrieved successfully. Oct10 12:26:14.083BST 32628 INFO Searched for Futures and Options successfully. Oct10 12:26:14.083BST 32628 INFO value retrieved successfully. Oct10 12:26:14.085BST 32628 INFO Processing instruments bucket No.591 for searchFuturesOptions with len:1 Instrument Range ANF.N<-->ANF.N Oct10 12:26:14.085BST 32628 DEBUG Trying to acquire Refinitiv Oct10 12:26:14.393BST 32628 INFO Acquired Refinitiv in 0.308 sec Oct10 12:26:15.380BST 32628 INFO Response code when attempting to retrieve token from DataScope: 200 Oct10 12:26:15.380BST 32628 INFO value retrieved successfully. Oct10 12:26:16.210BST 32628 INFO Searched for Futures and Options successfully. Oct10 12:26:16.211BST 32628 INFO value retrieved successfully. Oct10 12:26:16.211BST 32628 INFO Processing instruments bucket No.592 for searchFuturesOptions with len:1 Instrument Range MKL.N<-->MKL.N Oct10 12:26:16.211BST 32628 DEBUG Trying to acquire Refinitiv Oct10 12:26:16.520BST 32628 INFO Exceeded acquire rate. Retrying in 0.25 seconds Oct10 12:26:17.076BST 32628 INFO Exceeded acquire rate. Retrying in 0.50 seconds Oct10 12:26:17.888BST 32628 INFO Acquired Refinitiv in 1.676 sec Oct10 12:26:18.759BST 32628 INFO Response code when attempting to retrieve token from DataScope: 200 Oct10 12:26:18.759BST 32628 INFO value retrieved successfully. Oct10 12:26:19.836BST 32628 INFO Searched for Futures and Options successfully. Oct10 12:26:19.836BST 32628 INFO value retrieved successfully. Oct10 12:26:19.837BST 32628 INFO Processing instruments bucket No.593 for searchFuturesOptions with len:1 Instrument Range O.N<-->O.N Oct10 12:26:19.837BST 32628 DEBUG Trying to acquire Refinitiv Oct10 12:26:20.146BST 32628 INFO Exceeded acquire rate. Retrying in 0.25 seconds Oct10 12:26:20.696BST 32628 INFO Exceeded acquire rate. Retrying in 0.50 seconds Oct10 12:26:21.504BST 32628 INFO Acquired Refinitiv in 1.667 sec Oct10 12:26:22.369BST 32628 INFO Response code when attempting to retrieve token from DataScope: 200 Oct10 12:26:22.370BST 32628 INFO value retrieved successfully. Oct10 12:26:23.380BST 32628 INFO Searched for Futures and Options successfully. Oct10 12:26:23.380BST 32628 INFO value retrieved successfully. Oct10 12:26:23.381BST 32628 INFO Processing instruments bucket No.594 for searchFuturesOptions with len:1 Instrument Range WSO.N<-->WSO.N Oct10 12:26:23.381BST 32628 DEBUG Trying to acquire Refinitiv Oct10 12:26:23.688BST 32628 INFO Acquired Refinitiv in 0.307 sec Oct10 12:26:24.625BST 32628 INFO Response code when attempting to retrieve token from DataScope: 429 Oct10 12:26:24.625BST 32628 ERROR DataScope Authentication failed with response code : 429 Oct10 12:26:24.625BST 32628 ERROR Not retrying func searchFuturesOptions due to exception of type : There was a DataScope exception. {msg} not matching retry parameters. Traceback (most recent call last): File "/HYDRA/(ps)/lib/retry_decorator.py", line 83, in f return func(*args, **kwargs) File "/HYDRA/(defaultdb,~Refinitiv_Equity_work_backup.20240610/python;ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/datascope_sdk.py", line 350, in searchFuturesOptions headers=populateHttpRequestHeaders(self.loginDetails, self.proxyServers, prefer=preference, passToken=True), File "/HYDRA/(ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/datascope_connection.py", line 52, in populateHttpRequestHeaders http_header["Authorization"] = dataScopeToken(loginDetails, proxyServers) File "/HYDRA/(ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/datascope_connection.py", line 22, in dataScopeToken return "Token {}".format(_getDataScopeToken(loginDetails, proxyServers)) File "/HYDRA/(ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/datascope_connection.py", line 38, in _getDataScopeToken interpretStatusCode(response) File "/HYDRA/(ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/datascope_exception.py", line 71, in interpretStatusCode raise DataScopeNonRecoverableException(response.status_code, msg) rft.marketrisk.frtb.ima.rfet.refinitiv.datascope_exception.DataScopeNonRecoverableException: There was a DataScope exception. {msg} Locals: msg: 'The request failed as the per-user limit for this endpoint was exceeded. Content of request: b\'{"error":{"message":"Too many req' (str) response: '' (Response) Oct10 12:26:24.654BST 32628 DEBUG stopping event thread for BOBJOB_36560 Oct10 12:26:24.654BST 32628 INFO exception cancelled uploading of: Traceback (most recent call last): File "C:\temp\athenapkgs\ext3py27-246180\noarch\pylib\site-packages\six.py", line 703, in reraise raise value File "", line 1, in File "/HYDRA/(ps)/pielib/repl/studio_run_script.py", line 34, in run return _run_kernel_athena(sourceDbName, full_path, options, globalName, ext) File "/HYDRA/(ps)/pielib/repl/studio_run_script.py", line 57, in _run_kernel_athena return _run_python( full_path, globalName) File "/HYDRA/(ps)/pielib/repl/studio_run_script.py", line 177, in _run_python result = f9Main() File "/HYDRA/(defaultdb,~Refinitiv_Equity_work_backup.20240610/python;ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/run_extraction_on_demand.py", line 239, in main return bobfns.main(run) File "/HYDRA/(ps)/bobfns.py", line 1178, in main six.reraise( exc_info[0], exc_info[1], exc_info[2] ) File "C:\temp\athenapkgs\ext3py27-246180\noarch\pylib\site-packages\six.py", line 703, in reraise raise value File "/HYDRA/(ps)/bobfns.py", line 1155, in main res = f( *fargs, **fkwargs ) File "/HYDRA/(defaultdb,~Refinitiv_Equity_work_backup.20240610/python;ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/run_extraction_on_demand.py", line 234, in run backfill=backfill, File "/HYDRA/(defaultdb,~Refinitiv_Equity_work_backup.20240610/python;ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/run_extraction_on_demand.py", line 201, in onDemandDataExtractions instrumentListChunks, connectionDetails, preferredIdentifierTypes, instrumentType, underlyingRIC File "/HYDRA/(defaultdb,~Refinitiv_Equity_work_backup.20240610/python;ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/run_extraction_on_demand.py", line 65, in processInstChunks_SearchQuery underlyingRIC=underlyingRIC, File "/HYDRA/(ps)/lib/retry_decorator.py", line 83, in f return func(*args, **kwargs) File "/HYDRA/(defaultdb,~Refinitiv_Equity_work_backup.20240610/python;ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/datascope_sdk.py", line 350, in searchFuturesOptions headers=populateHttpRequestHeaders(self.loginDetails, self.proxyServers, prefer=preference, passToken=True), File "/HYDRA/(ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/datascope_connection.py", line 52, in populateHttpRequestHeaders http_header["Authorization"] = dataScopeToken(loginDetails, proxyServers) File "/HYDRA/(ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/datascope_connection.py", line 22, in dataScopeToken return "Token {}".format(_getDataScopeToken(loginDetails, proxyServers)) File "/HYDRA/(ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/datascope_connection.py", line 38, in _getDataScopeToken interpretStatusCode(response) File "/HYDRA/(ps)/rft/marketrisk/frtb/ima/rfet/refinitiv/datascope_exception.py", line 71, in interpretStatusCode raise DataScopeNonRecoverableException(response.status_code, msg) rft.marketrisk.frtb.ima.rfet.refinitiv.datascope_exception.DataScopeNonRecoverableException: There was a DataScope exception. {msg} >>>