Hi
Try to run the attached program file twice and EViews crashes, for some reason....
Thomas
EViews crashes...
Moderators: EViews Gareth, EViews Moderator
-
- Posts: 540
- Joined: Fri Apr 15, 2011 5:35 am
EViews crashes...
- Attachments
-
- google_docs_as_program_file.prg
- (2.22 KiB) Downloaded 290 times
-
- EViews Developer
- Posts: 799
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: EViews crashes...
Thanks for the program. I was able to get EViews 10 to crash on just the first run. While we try to fix this problem, I believe you can avoid this crash by changing a global setting to allow multiple untitled workfiles. Go to Options/General Options/Environment/Window behavior, then in the "Allow only one untitled" group box, uncheck the "Workfiles" checkbox. Once changed, try running your program again to see if EViews is more stable.
-
- EViews Developer
- Posts: 799
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: EViews crashes...
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:
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.
Code: Select all
wfcreate a 1910 2020
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:
Code: Select all
pagecreate a 1950 2020
to avoid the multiple untitled workfiles issue.
-
- EViews Developer
- Posts: 799
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: EViews crashes...
Ok this particular problem has been fixed and will be released in the next EViews 10 patch.
-
- Posts: 540
- Joined: Fri Apr 15, 2011 5:35 am
Re: EViews crashes...
Hi Steve
Thanks for excellent suggestions, and thanks for fixing the problem!
Thomas
Thanks for excellent suggestions, and thanks for fixing the problem!
Thomas
Who is online
Users browsing this forum: No registered users and 21 guests