EViews 9.5 and Fred v1

For questions regarding installation and registration of EViews.

Moderators: EViews Gareth, EViews Steve, EViews Jason, EViews Moderator

loulouviews
Posts: 56
Joined: Wed Mar 11, 2015 2:19 am

EViews 9.5 and Fred v1

Postby loulouviews » Mon Jul 18, 2016 2:11 am

Hi,

I'm not able to connect to Fred v1 anymore since I've installed EViews 9.5
The code below

Code: Select all

wfcreate M 1990 2016
dbopen(t=fredv1) fred
fetch fred::MCOILBRENTEU

generates the error : "FRED library error : 'Host could not be resolved in "Fetch FRED:MCOILBRENTEU""
Have you changed anything to Fredv1 with Eviews 9.5 ?

Thanks,


Louis

EViews Jason
EViews Developer
Posts: 679
Joined: Tue Sep 16, 2008 3:50 pm

Re: EViews 9.5 and Fred v1

Postby EViews Jason » Mon Jul 18, 2016 7:47 am

We cant replicate the problem here. Nothing has changed between 9 and 9.5 that would cause that error.

Can you open the below link

http://api.stlouisfed.org/fred/series/search?search_text=gdp*&offset=0&search_type=series_id&limit=1000&api_key=...199e095ae

If not, you do not have the required permissions to access the FRED site and will need your IT admin to enable access.

Do you get an error message when you use:

Code: Select all

import(t=html) http://api.stlouisfed.org


If you do get an error, what is that error?

loulouviews
Posts: 56
Joined: Wed Mar 11, 2015 2:19 am

Re: EViews 9.5 and Fred v1

Postby loulouviews » Mon Jul 18, 2016 8:21 am

Hi Jason,

Thanks for your help. I'm indeed highly suspicious that the problem comes from my side with IT blocking some ports for applications (it had happened in the past).
I can not opened the link because of the apikey, error is the following :
<error code="400" message="Bad Request. The value for variable api_key is not a 32 character alpha-numeric lower-case string. Read https://research.stlouisfed.org/docs/api/api_key.html for more information."/>
But it's working when I replace by my api_key.

The Eviews code is "working" -> it doesn't generate errors but it creates a bunch of alphaseries with strange things (looks like plain text from the url embedded in alphaseries)

Do you know on which port EViews is fetching the FRED API ? Is it port 80 ?

Louis

EViews Jason
EViews Developer
Posts: 679
Joined: Tue Sep 16, 2008 3:50 pm

Re: EViews 9.5 and Fred v1

Postby EViews Jason » Mon Jul 18, 2016 9:35 am

It sounds like you have the proper network permissions. The 400 error is being returned by the FRED servers.

The code

Code: Select all

import(t=html) http://api.stlouisfed.org


was just a test to see if EViews could communicate with the FRED servers and not to necessarily to get valid data. So the strange alpha series is correct.

Both tests imply, that the issue is not IT related.

After executing

Code: Select all

dbopen(t=fredv1) fred


What is the title of the displayed database window? It should read "FRED Database v1:FRED - (fredv1)".

Do you have a FRED entry in your Database registry? Select Options->Database Registry to view your current entries.

loulouviews
Posts: 56
Joined: Wed Mar 11, 2015 2:19 am

Re: EViews 9.5 and Fred v1

Postby loulouviews » Mon Jul 18, 2016 9:53 am

The window that opens afer executing

Code: Select all

dbopen(t=fredv1) fred

is exactly entitled "FRED Database v1:FRED - (fredv1)".
Doing a query with "Easy Query" leads to the same error (ie : Database Error: FRED library error: 'Host could not be resolved')
I do not have any FRED entry in my Database registry.

EViews Jason
EViews Developer
Posts: 679
Joined: Tue Sep 16, 2008 3:50 pm

Re: EViews 9.5 and Fred v1

Postby EViews Jason » Mon Jul 18, 2016 11:17 am

Does your institution use a proxy server? You will have to contact your IT dept to confirm.

If so, select Options->General Options and then Network proxy server to enter your proxy server credentials.

Let me know if this fixes the problem

loulouviews
Posts: 56
Joined: Wed Mar 11, 2015 2:19 am

Re: EViews 9.5 and Fred v1

Postby loulouviews » Tue Jul 19, 2016 1:06 am

Hi Jason,

I've installed the last patch (06/28/2016) and this is working fine now.
Before that I was working with Patch 04/05/2016.
Thanks for your support !

Louis


Return to “Installation and Registration”

Who is online

Users browsing this forum: No registered users and 3 guests