Getting error While fetching rates through LPC, Unable to open or read specified input file
Best Answer
-
Hi @sonali.rane
Thanks for confirming the parameter values,
Can you also confirm the enumtype.def and RDMFieldDictionary are in the locations specified?
../../etc/enumtype.def
../../etc/RDMFieldDictionaryIf you refer to your original error message, the final part is 'Unable to open or read specified input file' - which would suggest LPC cannot locate them.
Perhaps it would be better to specify the absolute path for the files, rather than relative paths - just to be absolutely sure the LPC converter is looking in the right place.
If the above is correct or you change the paths to absolute paths and you are still unable to download the dictionary, then I recommend you raise a My.Refinitiv support ticket. This forum is primarily for API 'how to' and programming type queries. The moderators are mostly LPC users and not LPC experts - therefore, the assistance we can offer is limited.
0
Answers
-
Hi @sonali.rane
Is this an existing LPC installation + existing application that has suddenly stopped working or is this a new install and/or new application?
0 -
Hi @sonali.rane
Also please confirm which version of LPC you are using?
0 -
Hi Umer,
Thanks..
It's new LPC installation and trying to fetch market rates very first time through LPC.
The LPC Version is 1.2.0.
0 -
Hi Umer,
Thanks..
It's new LPC installation and trying to fetch market rates very first time through LPC.
The LPC Version is 1.2.0.
0 -
Hi @sonali.rane
Please refer to section 9.2 of the Refinitiv_Real-Time_Legacy_Protocol_Converter.pdf which comes with the LPC installation package.
Have you set the downloadDictionary parameter to True? If it is False, then can you confirm the data dictionary files are in the configured location e.g.?
*lpc*downloadDictionary : False
*lpc*enumFile : /opt/lpc/etc/enumtype.def
*lpc*fieldDictionary : /opt/lpc/etc/RDMFieldDictionaryEven if set to True, as per the documentation, if the download fails it would still try to load from the local files - so please ensure the files are present in the locations specified in the above config parameters.
0 -
Hi Umer, Follwing is the configuration at my end: !! !! Dictionary Parameters !! *lpc*downloadDictionary : True *lpc*enumFile : ../../etc/enumtype.def *lpc*fieldDictionary : ../../etc/RDMFieldDictionary The *lpc*downloadDictionary is set as TRUE only. Kindly check and guide, if we are missing anything else0
-
Hi Umer, Thanks. I relative path is correct. But I will try once after setting absolute path also. and update you the response. Thanks you so much.0
-
Hello @sonali.rane
By reading your descriptions, it looks like there are 2 components in play: LPC and your RFA application.
Current answers believe that there is a problem with LPC retrieving the dictionary. If that is the case, then please check the LPC log file and report back of any problems.
However, the main description indicates a problem with the RFA application retrieving the dictionary when connecting into LPC. The dictionary request from RFA should traverse through LPC to the Refinitiv Cloud component and come back down. You may want to check the LPC log to verify that your RFA client is correctly connecting to the cloud. Also, see if there is a way for your RFA client to load a dictionary file rather than performing a message request.
LPC 1.2.0.L1 was just launched recently. Can you report the full version string of LPC? There is an additional hash ID with the version string that I would like to see.
0
Categories
- All Categories
- 6 AHS
- 39 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 中文论坛