Error Message for pyfra package

I have tried to run the simple code copied from https://github.com/devcartel/pyrfa:
import pyrfa
p = pyrfa.Pyrfa()
p.createConfigDb("./pyrfa.cfg")
p.acquireSession("Session1")
p.createOMMConsumer()
p.login()
p.directoryRequest()
p.dictionaryRequest()
p.marketPriceRequest("JPY=,EUR=")
end = False
while not end:
try:
for data in p.dispatchEventQueue(100):
print(data)
except KeyboardInterrupt:
end = True
However this quickly runs into an error message with the following log file:
RFA Internal failure
Application: python
Process Id: 0x22E8
Thread Id: 0x1640
File: ..\..\..\Logger\Impl\MessageFormatterImpl.cpp
Line: 80
Problem:
::LoadLibrary failed in MessageFormatterImpl::init() for component name "Pyrfa", with logger message file "RFA8_Logger". This message file could not be found. Check component logger configuration. Last error: 126
RFA_VERIFY( 0 ) failed
Stack Trace:
0x000007FEE1022D41 C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: PyInit_pyrfa() + 203665 bytes
0x000007FEE1024374 C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: PyInit_pyrfa() + 209348 bytes
0x000007FEE10A547D C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: trHashingEntityId() + 270557 bytes
0x000007FEE107A0ED C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: trHashingEntityId() + 93517 bytes
0x000007FEE104E8D3 C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: PyInit_pyrfa() + 382755 bytes
0x000007FEE0FDD674 C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd
0x000007FEE0FDD89F C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd
0x000007FEE0FF72F3 C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: PyInit_pyrfa() + 24899 bytes
0x000007FEE1003820 C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: PyInit_pyrfa() + 75376 bytes
0x000007FEE10038DA C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: PyInit_pyrfa() + 75562 bytes
0x000007FEE0FF944B C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: PyInit_pyrfa() + 33435 bytes
0x000007FEE0FF4BA7 C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: PyInit_pyrfa() + 14839 bytes
0x000007FEE0FF92C2 C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: PyInit_pyrfa() + 33042 bytes
0x000007FEE100396A C:\Program Files\Anaconda3\lib\site-packages\pyrfa\pyrfa.pyd: PyInit_pyrfa() + 75706 bytes
0x000000001DD15DF8 C:\Program Files\Anaconda3\python35.dll: PyObject_Call() + 120 bytes
c:\minonda\conda-bld\work\python-3.5.2\objects\abstract.c, line 2167
0x000000001DDDA3D4 C:\Program Files\Anaconda3\python35.dll: do_call() + 308 bytes
c:\minonda\conda-bld\work\python-3.5.2\python\ceval.c, line 4936
Is there anyone who can help me with this?
Best Answer
-
Please try to set useInternalLogStrings to true in pyrfa.cfg.
\Logger\AppLogger\useInternalLogStrings = true
0
Answers
-
pyrfa in not associated with Thomson Reuters, I suggest you speak to the the developer directly by raising an issue in their GitHub repository:
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 250 ETA
- 555 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛