For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
13 2 0 2

EikonError401

When i use eikon api in python program,this bug will arise every day. I don't kown how to fix it?
This is the bug:

os:windows server 2012R2

python2.7

eikon:

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
39.2k 75 11 27

@351166279
The assertion failure error you experienced is a crash in one of Eikon processes that provides Eikon API Proxy. Once the crash occurs Eikon API Proxy terminates and this is why your Python script returns error message "Eikon Proxy not installed or not running". Assertion failure is a very low level error and the root cause cannot be established from the error message alone. The issue you experienced is almost certainly machine specific. I would suggest you see if you can reproduce it on another machine. I also noticed you're running Eikon on Windows Server, which is not the operating system Eikon is supported on, and this is quite likely to be significant here. I would suggest you install Eikon on supported PC platform, which you can find by following the link below and clicking on "PC Requirements".
http://eikon.thomsonreuters.com
If you must run Eikon on Windows Server, and the issue is reproduced on multiple machines (in other words if the issue cannot be resolved by swapping the PC), then all I can suggest as a workaround is that you add code to your Python script that handles this issue when it occurs. I.e. when Eikon Python library raises the exception with error code 401 your Python script shuts down Eikon and restarts it, then waits until Eikon API Proxy becomes available before continuing with the data retrieval.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea