Hello
Following upgrade to python 3.9.1, scripts which previously worked fine under python 3.8.1 are now failing with Error code -1
The Eikon terminal is on the same machine and is running when the following code is executed:
"
import eikon as ek
ek.set_app_key('[Intentionally hidden]')
2022-11-10 18:18:58,530 P[15596] [MainThread 10840] Error: no proxy address identified.
Check if Eikon Desktop or Eikon API Proxy is running.
2022-11-10 18:18:58,531 P[15596] [MainThread 10840] Port number was not identified, cannot send any request
2022-11-10 18:18:58,532 P[15596] [MainThread 10840] Port number was not identified.
Check if Eikon Desktop or Eikon API Proxy is running.
Traceback (most recent call last):
File "C[...]\AppData\Local\Temp\ipykernel_15596\1011060241.py", line 1, in <module>
ek.set_app_key('[Intentionally hidden')
File "Y:\[Old path ]\eikon\Profile.py", line 33, in set_app_key
get_profile().set_app_key(app_key)
File "Y:\[Old path] \eikon\Profile.py", line 231, in set_app_key
self.check_profile()
File "Y:\[Old path] \eikon\Profile.py", line 354, in check_profile
raise EikonError(-1, 'Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.')
EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.
While upgrading python, I also proceded to 'reorganize' my python setup and moved certain directories. I note per the traceback, that ek.set_app_key is still looking into an old directory, in spite of having removed any reference to it in the python path manager...
I reinstalled the eikon module that didn¡t solve my issue.
Is that the case that I should request a new api key following the upgrade of Python?
Could it be that eikon dapi is incompatible with python 3.9?
Any thought will be greatly welcome!
Thanks