When running the python API on my local machine I get the following error when I try to make a request:
AttributeError: 'Logger' object has no attribute 'trace'
Code:
from refinitiv.dataplatform import eikon as ek
ek.set_app_key('my key') # no bad response
ek.get_news_headlines() # or any other request produces the error.
Suggestions?
I got the same issue when using refinitiv-dataplatform 1.0.0a7.post1 and 1.0.0a7.
You may need to use 1.0.0a6 or below.
pip install refinitiv-dataplatform==1.0.0.a6
Hi @p.pfeiffer,
This is likely related to your environment as everything seems to fail.
Did you try running the exact same 3 commands in CodeBook? Please try that to ensure you can at least see some results.
In addition, try turning on logging before your call to get data, i.e.
ek.set_log_level(4)
This should provide some greater details and where it is failing.
Hello @p.pfeiffer
Did you check the steps in Eikon Data API(Python) Troubleshooting article yet? Hope this and my colleague suggestion help you.