Page 1 of 1

Error message when graphobjects are displayed

Posted: Thu Jun 27, 2019 10:09 pm
by johansamuelsson
When creating graph object I usually get data from other workfiles directly instead of first copy them in the same workfiles where the graphs are produced.

The workfiles whit the data is sometimes updated, removed or not available. My idea is that this should not affect the workfile with the grapobject.

So if I later open the workfile with the graps and shows the graphobjects Eviews reports a error message (but only for those graphs where there is a function included in the expression of the line/bar)

In the codeexampel below I get "C:\TEMP\DATA1.WF1::A\SERIES1 is not a valid index for @PCY in "SHOW G3" on line 17.", but after the error message everything seems ok.

Is this a bug?

(Eviews Enterprise Edition 11 – Jun 25 2019 build)

Regards Johan

Code: Select all

LogMode(name="logg",filename="c:\temp\error.txt", autosave=on, clearfile) error
Cd c:\Temp

WfCreate(page=a) a 2010 2020
Series series1 = @Trend
WfSave c:\temp\data1.wf1
Close @All

WfCreate a 2010 2020
Graph g1.Line data1.wf1::a\series1
Graph g2.Line data1.wf1::a\series1*100
Graph g3.Line @Pcy(data1.wf1::a\series1)
Shell del c:\temp\data1.wf1
WfSave c:\temp\data2.wf1
Show g1
Show g2
Show g3

Re: Error message when graphobjects are displayed

Posted: Mon Jul 01, 2019 4:10 pm
by EViews Jason
We are looking into the issue and will get back to you shortly

Re: Error message when graphobjects are displayed

Posted: Tue Jul 02, 2019 10:40 am
by EViews Jason
Internally, the @-functions require special processing. While the behavior is not ideal, it is correct.

We are looking into suppressing the error, but it will more than likely remain.

Re: Error message when graphobjects are displayed

Posted: Sun Jul 14, 2019 4:49 am
by johansamuelsson
Great if it could be avoided

:D

Re: Error message when graphobjects are displayed

Posted: Tue Sep 10, 2019 6:23 am
by johansamuelsson
Or if there was a global command or settings that completely hide (turning off) all error message

Regards Johan