Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected kernel died #16

Open
zhah2 opened this issue Aug 17, 2016 · 5 comments
Open

unexpected kernel died #16

zhah2 opened this issue Aug 17, 2016 · 5 comments

Comments

@zhah2
Copy link

zhah2 commented Aug 17, 2016

Hi, i tried to use pyrfa to retrieve reuters data and when it runs the line below in the sample:
p.createConfigDb("./pyrfa.cfg")
it reported:
AN EXCEPTION HAS BEEN THROWN! The following information describes the exception:
Exception Type: InvalidUsageException
Exception Severity: Error
Exception Classification: IncorrectAPIUsage
Exception Status Text: Cannot open configuration file for [./pyrfa.cfg], reason: [File does not exist.]
Load of config db failed './pyrfa.cfg'

@wiwat-tharateeraparb
Copy link
Contributor

It tries to locate the configuration file in the current directory. Make sure that you have that pyrfa.cfg.

@zhah2
Copy link
Author

zhah2 commented Aug 17, 2016

Thanks! Sorry, just one more quick question, as I am fairly new to this reuters system: in the login process, as written in the documentation, it needs the following param:
Pyrfa.login([username],[instanceId],[applicationId],[position])
username: String
instanceId: String
applicationId: String
position: String

user name is straightforward: reuters login id, e.g. [email protected]
but for the other 3 params, I am not sure what should be provided. Can you shed some light on that? Thanks!

@ukrit-himakoon
Copy link
Contributor

Hello,

If there's no DACS permissioning binds to these values. Please try to use
the ones we have put inside our example script.
One more details regarding Pyrfa.login(), all the parameters are optional,
you can also call login() without a parameter. Because these can be
defined via pyrfa.cfg.

In the software package, we have provided the examples/consumer.py as a
guideline. You can configure examples/pyrfa.cfg under the
\Connections\Connection_RSSL1 name space then run this* consumer.py
script*

In examples/pyrfa.cfg update the parameters rsslport, ServerList,
Username
and ServiceName then running consumer.py

Please also turn \pyrfa\debug = true too. In order to see most of the
debug messages while running the example.

Check if it can subscribe the data,

Best regards,
Ukrit H.

On Thu, Aug 18, 2016 at 1:09 AM, zhah2 [email protected] wrote:

Thanks! Sorry, just one more quick question, as I am fairly new to this
reuters system: in the login process, as written in the documentation, it
needs the following param:
Pyrfa.login([username],[instanceId],[applicationId],[position])
username: String
instanceId: String
applicationId: String
position: String

user name is straightforward: reuters login id, e.g. [email protected]
but for the other 3 params, I am not sure what should be provided. Can you
shed some light on that? Thanks!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#16 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADQ4Jy1SZFWB4VfzWtxmH2LNqcAqGhVyks5qg05SgaJpZM4JmmAy
.

@zhah2
Copy link
Author

zhah2 commented Aug 18, 2016

The reason I asked is becoz of the following error when I ran the consumer.py (with pyrfa.cfg in current directory):
Exception: [Pyrfa::login] Login failed. Please check data permission. (username: pyrfa)
If I dont change anything in the file, I was not able to login and retrieve data.

@wiwat-tharateeraparb
Copy link
Contributor

You will need a proper username and permission to connect to Thomson Reuters systems (e.g. ADS or Elektron) to get real-time data feed. The username is sometimes called DACS username by Thomson Reuters. The permission to data set is controlled by DACS (authentication server.)

If you know the TREP admin who can help you with this information, please contact him and mention that you are using API to get data and see if your TREP-RT (ADS) or Elektron allows such access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants