mattiasnordin / StataEditor

Stata Editor for Sublime Text 3
47 stars 18 forks source link

Graphs are not displayed #28

Closed garethcao closed 6 years ago

garethcao commented 6 years ago

Dear Mattiasnordin, Thanks for your great contribution to this plugin. I have met a strange problem as follows: if I open dofile in Sublime Text 3 and run the codes, graphs won't be displayed while all the other results are just as right as usual. These graphs will not be displayed even if I type commands directly in Stata or use do-file editor, as long as I open it with Sublime at the very beginning. However, if I ignore sublime and open dta/do-file with double-click in the traditional way from the very beginning, everyting goes well and graphs could be displayed normally. (So it is not a problem from stata side) In addtion, I have used StataEditor for nearly many months and did not make any change to Sublime or Stata recently. This problem emerges suddenly and I could not find any potential solution through the Internet. Could you please help answer it ? Thanks a lot.

Furthermore, although graphs could not be displayed, they are actually created, because command such as "graph export" still works.

It seems that this has something to do with the updates of the plugin for Stata 15, as I just tested using my PC and laptop. FYI.

aadityadar commented 6 years ago

I have the same issue as @garethcao. Things were working fine before the latest update.

acarril commented 6 years ago

I have the same issue, definitely introduced with v0.9.0 as I have been using the plugin for almost a year without something like that happening.

mattiasnordin commented 6 years ago

Alright, I'm going to take a look at this as soon as I have time. Which version of Stata are you using?

garethcao commented 6 years ago

Thanks. I use Stata 14.

--

在 2018-02-12 17:08:53,"mattiasnordin" notifications@github.com 写道:

Alright, I'm going to take a look at this as soon as I have time. Which version of Stata are you using?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

2sls commented 6 years ago

I am also experiencing the same issue just recently (had no issues with it previously) - the graph opens for a sub second and then closes. The graph export still works. This is on Stata 13

mattiasnordin commented 6 years ago

Ok, so I realized that this issue goes a bit deeper than I had anticipated, and it's something I struggled with when I first developed the plugin. I have therefore decided to roll back the change in version 0.9.0 in the newest releast version (v0.10.0). Therefore, this should no longer be an issue.

garethcao commented 6 years ago

According to the Readme, it seems that my plugin version is 0.8.2 while the problem still exists. Anything I can do to fix it? Thanks.

1518494056 1

mattiasnordin commented 6 years ago

Please update to version 0.10.0 and the problem should hopefully not exist anymore. The update should be available sometime within the next hour.

garethcao commented 6 years ago

The problem has been solved. Thanks a lot.

mattiasnordin commented 6 years ago

Great!

aadityadar commented 6 years ago

V 0.10 resolves this issue. Thank you, Mattias.

mattiasnordin commented 6 years ago

Great!