Further, this bug is happening because EViews (by default) does not allow multiple un-named workfiles to be open at a time and tries to delete any previous untitled workfile whenever a new one is created -- and EViews is not cleaning up properly (during a program run) when doing this. So when your program runs and creates the first untitled workfile with this command:
but then downloads a new program which runs the exact same line, EViews is closing the first workfile window that was first created. So even if we fix the cleanup issue so that EViews doesn't crash, you may be missing the first workfile window after your program is complete.
To get around this problem, I would suggest you name your workfiles by specifying the wfname option in the wfcreate command, like this:
Code: Select all
wfcreate(wfname=first) a 1950 2020
or if you know you will have a workfile window already, change the program that is downloaded to create a new page instead:
to avoid the multiple untitled workfiles issue.