Hi,
How to fix this problem? The error message is showing below.
Traceback (most recent call last):
File "C:\Cloud\Box\Sprott Asset$\SAM Performance and Analytics\Risk\Applications\Python\RAW_Daily_imports.py", line 72, in dailyimport
all_data['Benchmark']=benchimport(fi('5,12',filedate,db=db),filedate, justdata,db=db)
File "C:\Cloud\Box\Sprott Asset$\SAM Performance and Analytics\Risk\Applications\Python\Dataimport.py", line 105, in file_importer
file_dict[fn]=data['TimeSeries']
TypeError: 'NoneType' object is not subscriptable
CRITICAL:root:critical
DEBUG:pyeikon:Request:{'Entity': {'E': 'TimeSeries', 'W': {'rics': ['.SPXTR'}}}
DEBUG:pyeikon:Request to http://127.0.0.1:None/api/v1/data
headers = {'Content-Type': 'application/json', 'x-tr-applicationid': '10e2f58ba50c4e58aa4ddde0c910e1f6a515c10e'}
params = None
DEBUG:pyeikon:HTTP Error: Request URL is missing an 'http://'; or 'https://'; protocol.
ERROR:pyeikon:Eikon Proxy not running or cannot be reached. Please read the documentation on troubleshooting
ERROR:Eikon_TimeSeries:error
Traceback (most recent call last):
File "C:\Cloud\Box\Sprott Asset$\SAM Performance and Analytics\Risk\Applications\Python\Eikon_TimeSeries.py", line 41, in eikon_ts
data = ek.get_timeseries(rics,
File "C:\ProgramData\Anaconda3\lib\site-packages\eikon\time_series.py", line 182, in get_timeseries
ts_result = eikon.json_requests.send_json_request(TimeSeries_UDF_endpoint, payload, debug=debug)
File "C:\ProgramData\Anaconda3\lib\site-packages\eikon\json_requests.py", line 149, in send_json_request
raise EikonError(401, error_msg)
eikon.eikonError.EikonError: Error code 401 | Eikon Proxy not running or cannot be reached. Please read the documentation on troubleshooting
ERROR:pyeikon:Eikon error
Traceback (most recent call last):
File "C:\Cloud\Box\Sprott Asset$\SAM Performance and Analytics\Risk\Applications\Python\Eikon_TimeSeries.py", line 41, in eikon_ts
data = ek.get_timeseries(rics,
File "C:\ProgramData\Anaconda3\lib\site-packages\eikon\time_series.py", line 182, in get_timeseries
ts_result = eikon.json_requests.send_json_request(TimeSeries_UDF_endpoint, payload, debug=debug)
File "C:\ProgramData\Anaconda3\lib\site-packages\eikon\json_requests.py", line 149, in send_json_request
raise EikonError(401, error_msg)
eikon.eikonError.EikonError: Error code 401 | Eikon Proxy not running or cannot be reached. Please read the documentation on troubleshooting
ERROR:root:error
Traceback (most recent call last):
File "C:\Cloud\Box\Sprott Asset$\SAM Performance and Analytics\Risk\Applications\Python\RAW_Daily_imports.py", line 72, in dailyimport
all_data['Benchmark']=benchimport(fi('5,12',filedate,db=db),filedate, justdata,db=db)
File "C:\Cloud\Box\Sprott Asset$\SAM Performance and Analytics\Risk\Applications\Python\Dataimport.py", line 105, in file_importer
file_dict[fn]=data['TimeSeries']
TypeError: 'NoneType' object is not subscriptable
CRITICAL:root:critical