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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Bug in exception handling in Eikon python package

There is a bug in the Eikon python package version 1.1.8 for Python3 on line 151 in json_requests.py

except Exception as e:
    logger.error(f"HTTP request failed: {type(e).__name__}-{e.message}")

e.message was deprecated in Python2.6 and is not a member variable of the Exception class in Python3, can this be fixed?

Kind regards,
Alastair

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.

Upvotes
Accepted
39.2k 75 11 27

The issue is fixed in Eikon Data APIs library v1.1.10.

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.

Upvotes
6.7k 8 6 7

@alastair.white thanks for your post - I have asked the dev team to comment on this - please bear with us.

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