Regarding the pandas.np future warning: when will the pandas np module be removed?
Dear support, while running the api I receive the future warning regarding pandas.np deprecated and will be removed in future. I allready import numpy package directly but it looks like the built menu might use the old function. Is it possible to share code so that you can pinpoint where the error is / advise on solution? I also would like to know when the option will be removed.
Best Answer
-
Yes, you can. You can also ignore the warning by using the following code.
import warnings warnings.filterwarnings('ignore')
However, it is better to verify the problem why it shows "EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.".
If you would like to verify the problem, please provide the following information.
1. The result of pip list command
2. The trace.log file when the problem occurred. Use the below code to create the log file
import logging
logging.basicConfig(filename='trace.log', level=logging.DEBUG)
eikonLogger = logging.getLogger('pyeikon')
eikonLogger.setLevel(1)3. Run the attached PowerShell command and share the output.txt. CheckEikonDataAPI16.ps1.txt
You need to rename it to checkeikondataapi.ps1 and run it in the PowerShell command line. If you see the "running scripts is disabled on this system" error, you need to run the PowerShell command as Administrator to change the policy and then use the following command.
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine
After running the script, you may need to change it back to Undefined.
Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope LocalMachine
The script will verify the basic environment for Eikon Data API, such as Eikon Processes, listening ports, PortInUse file, and connection. Please run the script and share the created output.txt file.
0
Answers
-
Please verify the version of Eikon Data API that you are using.
According to this thread, the problem has been fixed.
0 -
Hi, thanks for the quick reply. I am using eikon version 1.1.2
0 -
0
-
Hi, I updatet the version. But as before, it raises then the error below. That is why I am on the old version which does not give this error. So i ll put it back to 1.1.2 again.
EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.
Can I keep using 1.1.2 despite the error warning also in future?
0 -
Hi @w.jorissen
Are you using the latest Eikon Desktop?
I believe that the 1.1.2 version and 1.1.8 version check the .portInUse file from a different folder path due to the rebranding topic.
If 1.1.2 version works on your machine, it suggests that you are still using the old version of Eikon Desktop which generates .portInUse file in the "old" path.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛