Problems with com server after 9.5 upgrade

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

Michael Lewis
Posts: 3
Joined: Tue Feb 13, 2018 2:39 pm

Problems with com server after 9.5 upgrade

Postby Michael Lewis » Tue Feb 13, 2018 3:01 pm

Hello, I recently loaded the eViews 9.5 Feb 8th 2018 update, and found that a python program which uses the COM server does not run. Specifically, the .Lookup method returns extra characters at the end of the list of series names. Also, the result of app.Get("=@pagefreq") contains extra trailing characters. The python package I am using is pyeviews.
Any insights?
Thank you very much,
Mike

EViews Rebecca
EViews Developer
Posts: 113
Joined: Thu Apr 18, 2013 8:37 am

Re: Problems with com server after 9.5 upgrade

Postby EViews Rebecca » Tue Feb 13, 2018 4:48 pm

Can you post the data and python commands you used?

Michael Lewis
Posts: 3
Joined: Tue Feb 13, 2018 2:39 pm

Re: Problems with com server after 9.5 upgrade

Postby Michael Lewis » Wed Feb 14, 2018 6:34 am

A simple example is as follows:
import pyeviews as evp
eviewsapp = evp.GetEViewsApp(instance='either')
evp.Run('wfcreate temp_wf M 2000 2018',app=eviewsapp)
evp.Run('genr test = 1',app=eviewsapp)
evp.Run('genr test2 = 2', app= eviewsapp)

table = evp.GetWFAsPython(app=eviewsapp, wfname = "temp_wf")
Traceback (most recent call last):

File "<ipython-input-17-4386f8c6022f>", line 1, in <module>
table = evp.GetWFAsPython(app=eviewsapp, wfname = "temp_wf")

File "C:\Users\lewism\AppData\Local\Continuum\anaconda3\lib\site-packages\pyeviews\__init__.py", line 281, in GetWFAsPython
raise ValueError('Unsupported workfile frequency: ' + pgfreq)

ValueError: Unsupported workfile frequency: MB

If I run table = evp.GetWFAsPython(app=eviewsapp, wfname = "temp_wf") again I get a different error:

table = evp.GetWFAsPython(app=eviewsapp, wfname = "temp_wf")
Traceback (most recent call last):

File "<ipython-input-23-4386f8c6022f>", line 1, in <module>
table = evp.GetWFAsPython(app=eviewsapp, wfname = "temp_wf")

File "C:\Users\lewism\AppData\Local\Continuum\anaconda3\lib\site-packages\pyeviews\__init__.py", line 290, in GetWFAsPython
grp = app.GetGroup(snames_str, "@all");

COMError: (-2147024809, 'The parameter is incorrect.', ('TEST2E is not defined.', 'EViews.Application.9.EvaluateSeries', None, 0, None))

If I run table = evp.GetWFAsPython(app=eviewsapp, wfname = "temp_wf") again I may get no error or a different error.

Thanks

Mike

EViews Steve
EViews Developer
Posts: 788
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: Problems with com server after 9.5 upgrade

Postby EViews Steve » Wed Feb 14, 2018 9:04 am

Mike:

Thanks for the bug report. We found the problem and this will be fixed in the next 9.5 patch. We'll try to release it soon.

In the meantime, if you'd like to revert back to the previous version, you can download this previous patch and install it manually.
32-bit: http://cdn2.eviews.com/EViews9Patch_100617.exe
64-bit: http://cdn2.eviews.com/EViews9x64Patch_100617.exe

Steve

EViews Steve
EViews Developer
Posts: 788
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: Problems with com server after 9.5 upgrade

Postby EViews Steve » Wed Feb 14, 2018 2:59 pm

Ok we released a new patch for this. You won't detect it from within EViews 9 (unless you rolled it back to a previous patch), but you can manually download and install it from here or from our download page.

32-bit: http://cdn2.eviews.com/EViews9Patch_021418.exe
64-bit: http://cdn2.eviews.com/EViews9x64Patch_021418.exe

Steve

Michael Lewis
Posts: 3
Joined: Tue Feb 13, 2018 2:39 pm

Re: Problems with com server after 9.5 upgrade

Postby Michael Lewis » Tue Feb 20, 2018 11:43 am

Thank you Steve, that fixes the problem.

DWEconData
Posts: 1
Joined: Thu Aug 09, 2018 2:00 pm

Re: Problems with com server after 9.5 upgrade

Postby DWEconData » Fri Aug 10, 2018 5:00 am

I'm experiencing this same problem now with Eviews 10+, 64-bit, Standard Edition Oct 19 2017 build. Any suggestions/fixes? Thanks!

EViews Steve
EViews Developer
Posts: 788
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: Problems with com server after 9.5 upgrade

Postby EViews Steve » Fri Aug 10, 2018 6:09 am

Make sure you update to the latest version of EViews 10, there have been a few COM fixes since 10 was launched.

aimeghis
Posts: 1
Joined: Tue Aug 09, 2022 2:37 am

Re: Problems with com server after 9.5 upgrade

Postby aimeghis » Tue Aug 09, 2022 9:34 am

Good evening,
I hope you are well.

I allow myself to relaunch you because I have the same problem as you: difficulties connecting to the COM Server Eviews 9.

I would like to know if you could provide me with one of the following Patches:
- EViews9x64Patch_100617.exe
- EViews9x64Patch_021418.exe

Because they are no longer available on the official website.

Thank you and good evening. :P

aime.nono@gmail.com

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13305
Joined: Tue Sep 16, 2008 5:38 pm

Re: Problems with com server after 9.5 upgrade

Postby EViews Gareth » Tue Aug 09, 2022 9:41 am

Hello. Unfortunately we no longer support EViews 9, and those patches are no longer available.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 27 guests