Import Crash Bug File Path

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

CharlieEVIEWS
Posts: 202
Joined: Tue Jul 17, 2012 9:47 am

Import Crash Bug File Path

Postby CharlieEVIEWS » Sun Apr 26, 2015 7:29 am

Come across the same bug a couple of times with a couple of different projects in the last week: In EV9, when using the import command, if the filepath doesnt exist, i invariably get the deadly 'EViews has stopped working' crash.

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

Re: Import Crash Bug File Path

Postby EViews Steve » Mon Apr 27, 2015 7:21 am

Can you provide one of your typical IMPORT commands that causes the crash? I can't seem to reproduce it...

CharlieEVIEWS
Posts: 202
Joined: Tue Jul 17, 2012 9:47 am

Re: Import Crash Bug File Path

Postby CharlieEVIEWS » Mon Apr 27, 2015 8:27 am

Hi Steve,

A little further analysis shows that the cause of the bug is when there is a 'space' in the non-existent file-path. For example, where the folder 'nopath' does not exist, the following does not cause a crash:

Code: Select all

import C:\nopath\data.xls @freq m 1959m1
but this does:

Code: Select all

import C:\no path\data.xls @freq m 1959m1
My memory is really terrible, but this might actually be a bug not related to EV9. Let me know if I can be of any further assistance.

Charlie

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

Re: Import Crash Bug File Path

Postby EViews Steve » Mon Apr 27, 2015 10:35 am

Charlie:

I couldn't reproduce the issue. I suggest you download the latest patch (we'll release one sometime today) and then try again. If you encounter a crash, see if you can create an EViews program to reproduce the issue.

Thanks,

Steve

CharlieEVIEWS
Posts: 202
Joined: Tue Jul 17, 2012 9:47 am

Re: Import Crash Bug File Path

Postby CharlieEVIEWS » Mon Apr 27, 2015 10:43 am

Hi Steve,

I just encountered the bug again in a seperate instance where I was trying to import a workfile which didnt exist in the directory. This is what the actual bug is, as in the MWE (below), it is trying to open c:\no.wf1, which doesnt exist.

The MWE which I used eariler to generate the example was:

Code: Select all

wfcreate m 1959m1 2003m12 import C:\no path\data.xls @freq m 1959m1
But as you suggest, I will try again after the patch goes in.
Last edited by CharlieEVIEWS on Mon Apr 27, 2015 10:56 am, edited 1 time in total.

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: Import Crash Bug File Path

Postby startz » Mon Apr 27, 2015 10:54 am

Just for the record, I can duplicate Charlie's bug every time I try it. Oddly, the crash comes on dismissing the dialog when import can't gind the file.

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

Re: Import Crash Bug File Path

Postby EViews Steve » Mon Apr 27, 2015 11:06 am

Ok, I was able to find the issue. It'll be fixed in today's patch (will be released in a moment).

CharlieEVIEWS
Posts: 202
Joined: Tue Jul 17, 2012 9:47 am

Re: Import Crash Bug File Path

Postby CharlieEVIEWS » Mon Apr 27, 2015 12:00 pm

Works just fine now. Thanks Steve!


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests